From confluence-assistant-skills
Navigate and manage Confluence page hierarchies, ancestors, descendants, and trees. ALWAYS use for parent/child relationships and page tree navigation.
npx claudepluginhub grandcamel/confluence-assistant-skills --plugin confluence-assistant-skillsThis skill uses the workspace's default tool permissions.
---
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
This skill navigates page relationships. Use for:
| Use This Skill | Use Instead |
|---|---|
| Get parent/ancestors | - |
| List children | - |
| View page tree | - |
| Move pages | confluence-page |
| Create pages | confluence-page |
| Search pages | confluence-search |
| Operation | Risk | Notes |
|---|---|---|
| Get ancestors/children | - | Read-only |
| View tree | - | Read-only |
| Reorder pages | ⚠️ | Changes sort order |
This skill provides operations for navigating and managing page hierarchies in Confluence, including getting ancestors, children, descendants, and full page trees.
Get all ancestor pages for a given page (parent, grandparent, etc.).
Usage:
confluence hierarchy ancestors <page_id>
confluence hierarchy ancestors <page_id> --breadcrumb
confluence hierarchy ancestors <page_id> --output json
Options:
--breadcrumb - Display as breadcrumb path (Root > Parent > Current)--output - Output format: text (default) or jsonExamples:
confluence hierarchy ancestors 12345confluence hierarchy ancestors 12345 --breadcrumbGet direct child pages of a parent page (one level down only).
Usage:
confluence hierarchy children <page_id>
confluence hierarchy children <page_id> --limit 50
confluence hierarchy children <page_id> --sort title
Options:
--limit - Maximum number of children to retrieve (default: 25, max: 250)--sort - Sort by: title, id, or created--output - Output format: text (default) or jsonExamples:
confluence hierarchy children 12345confluence hierarchy children 12345 --sort titleGet all descendant pages recursively (children, grandchildren, etc.).
Usage:
confluence hierarchy descendants <page_id>
confluence hierarchy descendants <page_id> --max-depth 2
confluence hierarchy descendants <page_id> --limit 200
confluence hierarchy descendants <page_id> --output json
Options:
--max-depth - Maximum depth to traverse (default: unlimited)--limit - Maximum number of descendants to retrieve (default: 100, max: 500)--output - Output format: text (default) or jsonExamples:
confluence hierarchy descendants 12345confluence hierarchy descendants 12345 --max-depth 2Get full hierarchical tree structure with nested children.
Usage:
confluence hierarchy tree <page_id>
confluence hierarchy tree <page_id> --max-depth 3
confluence hierarchy tree <page_id> --stats
Options:
--max-depth - Maximum depth to traverse (default: unlimited)--stats - Show tree statistics (total pages, max depth, leaf pages)--output - Output format: text (default) or jsonExamples:
confluence hierarchy tree 12345confluence hierarchy tree 12345 --statsCalculate and display proposed child page order. This command helps plan reordering operations.
Usage:
confluence hierarchy reorder <parent_id>
confluence hierarchy reorder <parent_id> "id1,id2,id3"
confluence hierarchy reorder <parent_id> --reverse
Arguments:
order - (Optional) Comma-separated child page IDs in desired order (must be quoted)Options:
--reverse - Reverse current orderExamples:
confluence hierarchy reorder 12345confluence hierarchy reorder 12345 "200,201,202"confluence hierarchy reorder 12345 --reverseIMPORTANT: This command only CALCULATES and DISPLAYS the proposed new order - it does NOT apply changes to Confluence. To actually reorder pages, you must use the Confluence UI (drag and drop in the page tree).
These phrases will trigger this skill:
GET /api/v2/pages/{id}/ancestors - Get page ancestorsGET /api/v2/pages/{id}/children - Get direct childrenGET /api/v2/pages/{id} - Get page informationconfluence hierarchy ancestors 12345 --breadcrumb
# Output: Space Root > Section > Subsection > Current Page
confluence hierarchy tree 12345 --stats
# Shows hierarchical tree with statistics
confluence hierarchy descendants 12345 --output json > descendants.json
# Export all descendants to JSON
confluence hierarchy descendants 12345 --max-depth 2
# Only get children and grandchildren
--max-depth to limit traversal when needed