New to Claude Skills? Learn how to install them →

alirezarezvani on GitHub

Atlassian Confluence Expert

Free

Streamline your Confluence space management and documentation.

Get this skill

Free · Opens the source repo

What Atlassian Confluence Expert does

The Atlassian Confluence Expert skill provides a comprehensive toolkit for managing and optimizing your Confluence spaces, knowledge bases, and documentation. It is designed for developers, project managers, and documentation specialists who need to create structured, user-friendly spaces that facilitate collaboration and knowledge sharing. With this skill, users can configure space hierarchies, set permissions, and create documentation templates tailored to their organization's needs.

This skill integrates with the Atlassian Remote MCP server, enabling users to perform key operations such as creating and updating pages, retrieving child pages for hierarchy inspection, and conducting content audits. It also supports advanced documentation strategies, allowing teams to define goals, organize content taxonomies, and establish quality standards for their documentation. The bundled scripts, such as the content audit analyzer and space structure generator, further enhance the skill's capabilities by automating routine tasks and ensuring content health.

For those looking to standardize documentation practices, the skill offers guidance on creating templates and best practices for page architecture. Users can leverage the provided references, including macro syntax and space architecture patterns, to enhance their documentation efforts. This skill is particularly beneficial for organizations that rely on Confluence for project management, knowledge sharing, and collaborative workflows, ensuring that all team members have access to well-structured and easily navigable information.

Overall, the Atlassian Confluence Expert skill is an essential resource for anyone involved in managing Confluence spaces, as it streamlines the process of content creation and governance, making it easier to maintain an organized and effective knowledge base.

When to use it

Use this skill when you need to create, manage, or restructure a Confluence space, set up documentation standards, or run content audits.

When not to use it

This skill is not suitable for users looking to create or delete spaces via MCP; those actions must be performed through the Confluence UI or REST API.

What you can build with it

Setting Up a New Team Space

Generate a recommended page hierarchy for a new team space and create initial pages using the space structure generator.

Conducting a Knowledge Base Audit

Run a content audit to assess the health of your knowledge base and identify content that needs updating or archiving.

Standardizing Documentation Practices

Create documentation templates and guidelines to ensure consistency and quality across all team documentation.

How to install Atlassian Confluence Expert

View source

1. Install with the skills CLI

npx skills add alirezarezvani/claude-skills/confluence-expert --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by alirezarezvani

Atlassian Confluence Expert

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

Atlassian MCP Integration

Primary Tool: Atlassian Remote MCP server (bundled .mcp.json, server key atlassian). Tools are camelCase and surface as mcp__atlassian__<toolName>. Canonical tool list: project-management/references/atlassian-mcp-tools.md. Never invent tool names — if a capability isn't in that list, it is not available via MCP.

Key Operations (obtain cloudId once via mcp__atlassian__getAccessibleAtlassianResources):

// List spaces (space CREATION is not available via MCP — see below)
mcp__atlassian__getConfluenceSpaces (cloudId)

// Create a page under a parent — body must be storage-format XHTML or ADF, never wiki markup
mcp__atlassian__createConfluencePage (cloudId, space, title="Sprint 42 Notes", parent page id, body="<p>Meeting notes in storage-format XHTML</p>")

// Update an existing page (fetch current version with getConfluencePage, then supply version + 1)
mcp__atlassian__updateConfluencePage (cloudId, pageId="789012", version=5, body="<p>Updated content</p>")

// Read a page (body + current version)
mcp__atlassian__getConfluencePage (cloudId, pageId="789012")

// Search with CQL
mcp__atlassian__searchConfluenceUsingCql (cloudId, cql='space = "TEAM" AND label = "meeting-notes" ORDER BY lastModified DESC')

// Retrieve child pages for hierarchy inspection
mcp__atlassian__getConfluencePageDescendants (cloudId, pageId="123456")

// Comments
mcp__atlassian__getConfluencePageFooterComments / mcp__atlassian__createConfluenceFooterComment (cloudId, pageId)

Not available via MCP — use the web UI or REST API instead:

  • Create/delete a space → Confluence UI Spaces > Create space or POST /wiki/api/v2/spaces
  • Delete a page → Confluence UI or DELETE /wiki/api/v2/pages/{id}
  • Apply labels → Confluence UI or /wiki/rest/api/content/{id}/label
  • Space permissions, templates/blueprints as first-class objects → Confluence space settings UI

Integration Points:

  • Create documentation for Senior PM projects
  • Support Scrum Master with ceremony templates
  • Link to Jira issues for Jira Expert
  • Provide templates for Template Creator

See also: references/macro-cheat-sheet.md for storage-format macro syntax, references/templates.md for the template library, references/space-architecture-patterns.md for space structure and permission patterns.

Workflows

Space Creation

Space creation is not available via MCP — create the space in the Confluence UI (Spaces > Create space) or via REST (POST /wiki/api/v2/spaces). The page tree inside it CAN be built via MCP (mcp__atlassian__createConfluencePage).

  1. Generate the recommended hierarchy from a team description:
    python3 scripts/space_structure_generator.py team_info.json --format json
    
    Input: JSON with team name, size, type, projects. Consume the output: use the emitted page tree as the creation plan for step 5 — one mcp__atlassian__createConfluencePage call per node, passing the parent page id to nest children.
  2. Determine space type (Team, Project, Knowledge Base, Personal)
  3. Create space with clear name and description (web UI / REST)
  4. Set space homepage with overview
  5. Configure space permissions:
    • View, Edit, Create, Delete
    • Admin privileges
  6. Create initial page tree structure
  7. Add space shortcuts for navigation
  8. Verify: Navigate to the space URL and confirm the homepage loads; check that a non-admin test user sees the correct permission level
  9. HANDOFF TO: Teams for content population

Page Architecture

Best Practices:

  • Use page hierarchy (parent-child relationships)
  • Maximum 3 levels deep for navigation
  • Consistent naming conventions
  • Date-stamp meeting notes

Recommended Structure:

Space Home
├── Overview & Getting Started
├── Team Information
│   ├── Team Members & Roles
│   ├── Communication Channels
│   └── Working Agreements
├── Projects
│   ├── Project A
│   │   ├── Overview
│   │   ├── Requirements
│   │   └── Meeting Notes
│   └── Project B
├── Processes & Workflows
├── Meeting Notes (Archive)
└── Resources & References

Template Creation

  1. Identify repeatable content pattern
  2. Create page with structure and placeholders
  3. Add instructions in placeholders
  4. Format with appropriate macros
  5. Save as template
  6. Share with space or make global
  7. Verify: Create a test page from the template and confirm all placeholders render correctly before sharing with the team
  8. USE: References for advanced template patterns

Documentation Strategy

  1. Assess current documentation state
  2. Define documentation goals and audience
  3. Organize content taxonomy and structure
  4. Create templates and guidelines
  5. Migrate existing documentation
  6. Train teams on best practices
  7. Monitor usage and adoption
  8. REPORT TO: Senior PM on documentation health

Knowledge Base Management

Run a content health audit before any restructure or governance review:

python3 scripts/content_audit_analyzer.py pages.json --format json

Input: a JSON page inventory (title, last_modified, view_count, author, labels, word_count) — build it by exporting page metadata via mcp__atlassian__getPagesInConfluenceSpace / mcp__atlassian__searchConfluenceUsingCql. Consume the output: the stale/orphaned/low-engagement findings become the archive list (label + move via UI, since label tools aren't on the MCP) and the update backlog for the quality standards below.

Article Types:

  • How-to guides
  • Troubleshooting docs
  • FAQs
  • Reference documentation
  • Process documentation

Quality Standards:

  • Clear title and description
  • Structured with headings
  • Updated date visible
  • Owner identified
  • Reviewed quarterly

Essential Macros

Syntax note: The {macro} shorthand below is legacy wiki-markup notation, shown for readability only. Confluence Cloud pages created via MCP (createConfluencePage / updateConfluencePage) require storage format (XHTML) — e.g. {info} is really <ac:structured-macro ac:name="info"><ac:rich-text-body>...</ac:rich-text-body></ac:structured-macro>. For the storage-format syntax of every macro listed here, see references/macro-cheat-sheet.md; for ready-made storage-format page bodies, run the atlassian-templates scaffolder (python3 ../atlassian-templates/scripts/template_scaffolder.py meeting-notes).

Content Macros

Info, Note, Warning, Tip:

{info}
Important information here
{info}

Expand:

{expand:title=Click to expand}
Hidden content here
{expand}

Table of Contents:

{toc:maxLevel=3}

Excerpt & Excerpt Include:

{excerpt}
Reusable content
{excerpt}

{excerpt-include:Page Name}

Dynamic Content

Jira Issues:

{jira:JQL=project = PROJ AND status = "In Progress"}

Jira Chart:

{jirachart:type=pie|jql=project = PROJ|statType=statuses}

Recently Updated:

{recently-updated:spaces=@all|max=10}

Content by Label:

{contentbylabel:label=meeting-notes|maxResults=20}

Collaboration Macros

Status:

{status:colour=Green|title=Approved}

Task List:

{tasks}
- [ ] Task 1
- [x] Task 2 completed
{tasks}

User Mention:

@username

Date:

{date:format=dd MMM yyyy}

Page Layouts & Formatting

Two-Column Layout:

{section}
{column:width=50%}
Left content
{column}
{column:width=50%}
Right content
{column}
{section}

Panel:

{panel:title=Panel Title|borderColor=#ccc}
Panel content
{panel}

Code Block:

{code:javascript}
const example = "code here";
{code}

Templates Library

Full template library with complete markup: see references/templates.md. Key templates summarised below.

TemplatePurposeKey Sections
Meeting NotesSprint/team meetingsAgenda, Discussion, Decisions, Action Items (tasks macro)
Project OverviewProject kickoff & statusQuick Facts panel, Objectives, Stakeholders table, Milestones (Jira macro), Risks
Decision LogArchitectural/strategic decisionsContext, Options Considered, Decision, Consequences, Next Steps
Sprint RetrospectiveAgile ceremony docsWhat Went Well (info), What Didn't (warning), Action Items (tasks), Metrics

Space Permissions

Permission patterns by space type: see references/space-architecture-patterns.md. Note: space permissions are configured in the Confluence UI (Space settings > Permissions) — not via MCP.

Permission Schemes

Public Space:

  • All users: View
  • Team members: Edit, Create
  • Space admins: Admin

Team Space:

  • Team members: View, Edit, Create
  • Team leads: Admin
  • Others: No access

Project Space:

  • Stakeholders: View
  • Project team: Edit, Create
  • PM: Admin

Content Governance

Review Cycles:

  • Critical docs: Monthly
  • Standard docs: Quarterly
  • Archive docs: Annually

Archiving Strategy:

  • Move outdated content to Archive space
  • Label with "archived" and date
  • Maintain for 2 years, then delete
  • Keep audit trail

Content Quality Checklist:

  • Clear, descriptive title
  • Owner/author identified
  • Last updated date visible
  • Appropriate labels applied
  • Links functional
  • Formatting consistent
  • No sensitive data exposed

Decision Framework

When to Escalate to Atlassian Admin:

  • Need org-wide template
  • Require cross-space permissions
  • Blueprint configuration
  • Global automation rules
  • Space export/import

When to Collaborate with Jira Expert:

  • Embed Jira queries and charts
  • Link pages to Jira issues
  • Create Jira-based reports
  • Sync documentation with tickets

When to Support Scrum Master:

  • Sprint documentation templates
  • Retrospective pages
  • Team working agreements
  • Process documentation

When to Support Senior PM:

  • Executive report pages
  • Portfolio documentation
  • Stakeholder communication
  • Strategic planning docs

Handoff Protocols

FROM Senior PM:

  • Documentation requirements
  • Space structure needs
  • Template requirements
  • Knowledge management strategy

TO Senior PM:

  • Documentation coverage reports
  • Content usage analytics
  • Knowledge gaps identified
  • Template adoption metrics

FROM Scrum Master:

  • Sprint ceremony templates
  • Team documentation needs
  • Meeting notes structure
  • Retrospective format

TO Scrum Master:

  • Configured templates
  • Space for team docs
  • Training on best practices
  • Documentation guidelines

WITH Jira Expert:

  • Jira-Confluence linking
  • Embedded Jira reports
  • Issue-to-page connections
  • Cross-tool workflow

Best Practices

Organization:

  • Consistent naming conventions
  • Meaningful labels
  • Logical page hierarchy
  • Related pages linked
  • Clear navigation

Maintenance:

  • Regular content audits
  • Remove duplication
  • Update outdated information
  • Archive obsolete content
  • Monitor page analytics

Analytics & Metrics

Usage Metrics:

  • Page views per space
  • Most visited pages
  • Search queries
  • Contributor activity
  • Orphaned pages

Health Indicators:

  • Pages without recent updates
  • Pages without owners
  • Duplicate content
  • Broken links
  • Empty spaces

Related Skills

  • Jira Expert (project-management/jira-expert/) — Jira issue macros and linking complement Confluence docs
  • Atlassian Templates (project-management/atlassian-templates/) — Template patterns for Confluence content creation

Frequently asked questions about Atlassian Confluence Expert

Similar skills