Skip to content
Back to skills

Confluence Expert

ASecurity

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. Runs three audit scripts on a JSON page export.

  • 1,271 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added May 31, 2026
ai-agentspythongobashapisecuritydocumentation

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 7 files and shows the line behind each finding

Scanned December 4, 2026

npx -y skills add borghei/Claude-Skills --skill confluence-expert --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Confluence Expert?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Confluence Expert
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/borghei-confluence-expert/badge)](https://www.skillsdirectory.com/skills/borghei-confluence-expert)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: confluence-expert
description: >
  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. Runs three audit scripts on a JSON page export.
license: MIT + Commons Clause
metadata:
  version: 1.0.1
  author: borghei
  category: project-management
  domain: atlassian
  updated: 2026-11-08
  tags: [confluence, knowledge-management, wiki, documentation]
---
# Atlassian Confluence Expert

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

## Core Capabilities

- **Space architecture** — design space hierarchies, organize knowledge by team/project/topic, implement taxonomies, configure permissions and visibility
- **Content creation** — structured pages with layouts, dynamic macros, reusable templates, version control and change tracking
- **Collaboration & governance** — documentation practices, review/approval workflows, content lifecycle management, documentation standards
- **Integration & automation** — link Confluence with Jira, embed dynamic Jira reports, configure watchers/notifications, content automation

## When to Use

- Standing up or restructuring a space and its page hierarchy
- Designing templates (meeting notes, project overview, decision log, retro)
- Setting content governance: review cycles, archiving, quality standards
- Embedding Jira issues, charts, or reports inside Confluence pages
- Defining or auditing space permission schemes
- Driving documentation strategy and knowledge-base health

## 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.

- **Cloud or Data Center, and plan tier:** Cloud plan tiers set storage limits that matter for attachment-heavy spaces, and page-view and contributor analytics need Premium or a marketplace app. Data Center reaches end of life on 28 Mar 2029, so a restructure there should be planned around the Cloud migration.
- **Permission level:** A space admin can change the page tree, space templates and space permissions. Org-wide templates, blueprints, global automation and cross-space permissions belong to `atlassian-admin/`, and space settings cannot override stricter org-wide security policies. The user's rights decide whether you deliver a change they can make or a request for their admin.
- **New space or existing one:** A new space can get the right page tree from the start. An existing space needs its current tree or a page export first, because moving pages between spaces can break internal links, and `space_structure_analyzer.py`, `content_health_auditor.py` and `label_taxonomy_analyzer.py` all work from such an export.
- **What the space is for:** A team workspace, an operational space of runbooks and a published knowledge base need different hierarchies, permissions and review cadences. Operational pages need a named owner and a review date; a scratch team space can be looser.

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 page export (a path, or `-` for stdin) and prints findings, each quoting the
input with a fix, at most three ranked next actions, and a verdict line (`PASS` or `FIX n issues`).
`--format json` gives the same as JSON (`--json` is an alias); `--example` prints the input shape
(labelled DEMO DATA). Thresholds are internal heuristics, not Confluence limits. Fields missing from
the export are reported as "not provided" and never counted against a page.

```bash
python3 project-management/confluence-expert/scripts/space_structure_analyzer.py project-management/confluence-expert/assets/flawed_space.json
python3 project-management/confluence-expert/scripts/content_health_auditor.py project-management/confluence-expert/assets/flawed_pages.json
python3 project-management/confluence-expert/scripts/label_taxonomy_analyzer.py project-management/confluence-expert/assets/flawed_labels.json --format json
```

Real output of the second command (excerpt):

```text
Content health: Engineering Team  |  pages read: 4  |  pages with findings: 2
Reference date: 2026-06-01 (from as_of)

  1. stale: not touched in over a year [>365 days, heuristic]
     input: "Old Architecture Doc" last updated 2024-06-15 (716 days before 2026-06-01)
     fix:   Review "Old Architecture Doc" now; archive it or update it and stamp a review date
...
FIX 6 issues
```

| Tool | Input | What it checks |
|------|-------|----------------|
| `space_structure_analyzer.py` | `{space, pages:[{id,title,parent_id}]}` | Depth over 4, more than 10 root pages, more than 15 children, placeholder/short/long/duplicate titles, dangling or cyclic parents |
| `content_health_auditor.py` | `{space, as_of, pages:[{title,owner,last_updated,labels,has_parent,views_30d,word_count,has_links}]}` | Stale (>365 days) and aging (>180) pages, no owner, no labels, orphaned, thin, unlinked, zero views. Age is measured from `as_of`, else the newest `last_updated` |
| `label_taxonomy_analyzer.py` | `{space, pages:[{title,labels}]}` | Coverage under 90%, case/separator variants of one label, labels with spaces or capitals, mostly single-use labels |

`scripts/cx_common.py` is a shared helper (loading, verdict, output), not a command.

### Exit codes

| Code | Meaning |
|------|---------|
| 0 | No findings |
| 1 | Findings to act on |
| 2 | Unusable input: missing, unreadable, empty, invalid JSON, no `pages`, a page without `title`/`id`, no `labels` key anywhere. One-line message on stderr |

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:

- **[references/confluence-playbook.md](references/confluence-playbook.md)** — full detail behind this map: competencies, workflows (space creation, page architecture, documentation strategy, KB management), macro syntax, page layouts, inline template examples, permission schemes, content governance, decision/handoff protocols, analytics, troubleshooting table, and success criteria. Read when executing any Confluence task.
- **[references/templates.md](references/templates.md)** — ready-to-paste Confluence page templates (meeting notes, and more) with full markdown structure. Read when you need a complete template to drop into a space.
- **[references/red-flags.md](references/red-flags.md)** — common ways a space design, IA proposal, page template, or governance policy goes wrong, with bad/good examples. Read before shipping any Confluence artifact.

## 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](https://www.atlassian.com/licensing/data-center-end-of-life); see `atlassian-admin/`).

## Files

| File | Purpose |
|------|---------|
| `scripts/space_structure_analyzer.py`, `scripts/content_health_auditor.py`, `scripts/label_taxonomy_analyzer.py`, `scripts/cx_common.py` | See Tools |
| `assets/sample_*.json`, `assets/flawed_*.json`, `assets/malformed_*.json`, `assets/contract.json` | Sound (exit 0), flawed (exit 1) and malformed (exit 2) inputs per tool, and the run contract |
| `references/*.md` | See References |

Files in this skill

  • SKILL.md14.3 KB
  • examples/product-team-confluence-space-buildout.md14.6 KB
  • references/red-flags.md12.6 KB
  • references/templates.md14.4 KB
  • scripts/content_health_auditor.py7.4 KB
  • scripts/label_taxonomy_analyzer.py7.3 KB
  • scripts/space_structure_analyzer.py7.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.