Confluence expert

From borghei/Claude-Skills · View interactive version

Confluence expert is an AI agent skill from the GitHub repository borghei/Claude-Skills. Designs and audits Confluence spaces: page trees, labels, permissions, page ownership and stale content. Use when setting up or restructuring a space, a wiki has gone stale or duplicated, or labels are a mess.

How to use this skill

Skill file

Atlassian Confluence Expert

Master-level expertise in Confluence space management, documentation architecture, content creation, macros, templates, and collaborative knowledge management.

Core Capabilities

When to Use

Clarify First

Confluence advice depends most on which Confluence the user runs and how much of it they can change. Settle the inputs below before producing anything. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.

Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.

Workflow

  1. Settle the Clarify First inputs and get a page export of the space (or the planned tree for a new one).
  2. Run the three tools below on the export to measure structure, content health and labels before proposing changes.
  3. Design the target tree, ownership and review cadence from references/confluence-playbook.md; check it against references/red-flags.md.
  4. Done when the re-run on the restructured export shows no root sprawl, every operational page has an owner, and no top topic has duplicate pages.

Tools

Each tool reads one JSON export and prints a text report (--json for machine output).

--example prints the input shape; samples ship in assets/. Exit 0 on success, 2 on bad

input (missing file, invalid JSON, wrong shape) with a one-line error.

python3 project-management/confluence-expert/scripts/space_structure_analyzer.py --space project-management/confluence-expert/assets/sample_space.json
python3 project-management/confluence-expert/scripts/content_health_auditor.py --pages project-management/confluence-expert/assets/sample_pages.json
python3 project-management/confluence-expert/scripts/label_taxonomy_analyzer.py --labels project-management/confluence-expert/assets/sample_labels.json

| Tool | What it does |

|------|--------------|

| space_structure_analyzer.py | Depth distribution, root-page count, short and duplicate titles; structure score |

| content_health_auditor.py | Per-page score for stale (>12 months) or aging (>6 months), orphaned, ownerless and unlabelled pages. Age is measured from the export's as_of, else its newest last_updated |

| label_taxonomy_analyzer.py | Label coverage, top and single-use labels, case conflicts (Engineering vs engineering), labels with spaces or underscores |

Template design and template governance belong to atlassian-templates; this skill decides where pages and templates live in a space.

Anti-Patterns

Flat space with no hierarchy

Mistake: Hundreds of pages sit at the root of one space, and nobody knows where new content goes.

Why it happens: Creating a page at the top level is the default, and nobody owns the structure.

Instead: Design the page tree before content piles up. If the space root has more than about 15 pages, regroup them under parent pages by team, project or topic.

Pages with no owner or review date

Mistake: Pages carry no owner and no "last reviewed" date, so stale content stays live.

Why it happens: Writing the page feels like the end of the job.

Instead: Give every page in an operational space a named owner and a review date, and set a review cadence. A runbook that pages someone who left two years ago is an outage waiting to happen.

"Source of truth" with four versions

Mistake: The team calls Confluence its source of truth, but one topic has four pages that disagree.

Why it happens: Writing a new page is easier than finding and fixing the old one.

Instead: For your top 10 most-searched topics, keep exactly one canonical page. Merge or archive the duplicates and link them to the canonical page.

Nine more, each with a bad and a good example: references/red-flags.md.

References

Load the reference that matches the task — keep this file lean and pull detail on demand:

Scope & Limitations

In Scope: Space creation and architecture, page hierarchy design, template creation and management, content governance (review cycles, archiving, quality standards), macro usage and dynamic content, documentation strategy, knowledge base management, Jira-Confluence integration, content analytics.

Out of Scope: Global Atlassian administration (hand off to atlassian-admin/), Jira project configuration (hand off to jira-expert/), template design and governance (hand off to atlassian-templates/), sprint execution artifacts (hand off to scrum-master/).

Limitations: Confluence Cloud has storage limits per plan tier that affect attachment-heavy spaces. Advanced analytics (page view trends, contributor activity) require Confluence Premium or marketplace apps. Space-level permissions cannot override more restrictive org-wide security policies set by atlassian-admin/. Content migration between spaces can break internal links and require manual fixup. Confluence Data Center reaches end of life on 28 Mar 2029 (read-only; no new/expanded DC licenses after 30 Mar 2028) -- plan space restructuring around a Cloud migration rather than on DC (timeline; see atlassian-admin/).

Files

| File | Purpose |

|------|---------|

| scripts/space_structure_analyzer.py, scripts/content_health_auditor.py, scripts/label_taxonomy_analyzer.py | See Tools |

| assets/sample_space.json, assets/sample_pages.json, assets/sample_labels.json | Runnable inputs for each tool |

| references/*.md | See References |

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.