From confluence-tools
This skill MUST be used when the user asks to "search Confluence", "find pages", "search wiki", "look for documentation", "find content about", or wants to search for pages across Confluence. Use this for content discovery and search.
npx claudepluginhub ericfisherdev/claude-plugins --plugin confluence-toolsThis skill uses the workspace's default tool permissions.
**IMPORTANT:** Always use this skill's Python script for searching Confluence. This skill provides CQL-based search with token-efficient output, including parent hierarchy information.
Verifies tests pass on completed feature branch, presents options to merge locally, create GitHub PR, keep as-is or discard; executes choice and cleans up worktree.
Guides root cause investigation for bugs, test failures, unexpected behavior, performance issues, and build failures before proposing fixes.
Writes implementation plans from specs for multi-step tasks, mapping files and breaking into TDD bite-sized steps before coding.
IMPORTANT: Always use this skill's Python script for searching Confluence. This skill provides CQL-based search with token-efficient output, including parent hierarchy information.
Use the Python script at scripts/search_confluence.py:
# Simple text search
python scripts/search_confluence.py "authentication"
# Search in specific space
python scripts/search_confluence.py "API documentation" --space DEV
# Search with type filter
python scripts/search_confluence.py "meeting notes" --type blogpost
# Search by label
python scripts/search_confluence.py --label "architecture"
| Option | Description |
|---|---|
query | Search text (positional argument) |
--space, -s | Limit search to specific space |
--type, -t | Content type: page, blogpost, comment |
--label, -l | Search for content with specific label |
--contributor | Search by content contributor |
--modified-after | Content modified after date (YYYY-MM-DD) |
--modified-before | Content modified before date (YYYY-MM-DD) |
--limit | Maximum results (default: 25) |
--format, -f | Output: compact (default), text, json |
Search in page titles and content:
python scripts/search_confluence.py "deployment guide"
Find pages with specific labels:
python scripts/search_confluence.py --label "api-reference"
python scripts/search_confluence.py "authentication" --space DEV --label "security"
This skill uses CQL internally. Advanced users can leverage CQL patterns:
| Search Pattern | CQL Equivalent |
|---|---|
| Text search | text ~ "query" |
| Space filter | space = "KEY" |
| Type filter | type = page |
| Label filter | label = "name" |
| Date filter | lastModified >= "2024-01-01" |
# Find all API-related docs
python scripts/search_confluence.py "API" --space DEV --type page
# Find recent changes
python scripts/search_confluence.py "" --space DEV --modified-after 2024-01-01
python scripts/search_confluence.py "meeting notes" --type blogpost --limit 10
# Find all architecture decisions
python scripts/search_confluence.py --label "adr"
# Find deprecated content
python scripts/search_confluence.py --label "deprecated" --space DEV
python scripts/search_confluence.py --contributor "john.smith" --space DEV
compact (default):
SEARCH|5|"authentication"
HIT|123456|Authentication Guide|DEV|page|parent:Security Docs
HIT|123457|OAuth Setup|DEV|page|parent:Authentication Guide
HIT|123458|SSO Integration|DEV|page|parent:Authentication Guide
HIT|123459|Security Best Practices|DEV|page
HIT|123460|Login Flow|DEV|page|parent:User Management
Note: Parent information is included when available (e.g., parent:Security Docs).
text:
Search Results: "authentication" (5 found)
1. Authentication Guide
ID: 123456 | Space: DEV | Type: page | Parent: Security Docs
URL: https://yoursite.atlassian.net/wiki/spaces/DEV/pages/123456
2. OAuth Setup
ID: 123457 | Space: DEV | Type: page | Parent: Authentication Guide
URL: https://yoursite.atlassian.net/wiki/spaces/DEV/pages/123457
...
json:
{
"query": "authentication",
"count": 5,
"results": [
{
"id": "123456",
"title": "Authentication Guide",
"space": "DEV",
"type": "page",
"url": "...",
"parentId": "123400",
"parentTitle": "Security Docs"
}
]
}
Search results now include parent/hierarchy information when available:
This helps understand where each result is located in the content hierarchy.
Requires environment variables:
CONFLUENCE_BASE_URL - e.g., https://yoursite.atlassian.netCONFLUENCE_EMAIL - Your Atlassian account emailCONFLUENCE_API_TOKEN - API token from Atlassian account settingsFor detailed options, see references/options-reference.md.