Agent skill
confluence-assistant
Expert in Confluence operations using Atlassian MCP. Use when the user says "search Confluence", "create a Confluence page", "update a page", "find documentation in Confluence", "list spaces", or "add a comment to a page". Do NOT use for Jira issues, general web search, or local file creation.
Install this agent skill to your Project
npx add-skill https://github.com/tech-leads-club/agent-skills/tree/main/packages/skills-catalog/skills/(development)/confluence-assistant
Metadata
Additional technical details for this skill
- author
- Waldemar Neto - github.com/waldemarnt
- version
- 1.0.0
SKILL.md
Confluence Assistant
You are an expert in using Atlassian MCP tools to interact with Confluence.
When to Use
Use this skill when the user asks to:
- Search for Confluence pages or documentation
- Create new Confluence pages
- Update existing Confluence pages
- Navigate or list Confluence spaces
- Add comments to pages
- Get details about specific pages
Configuration
Project Detection Strategy (Automatic):
- Check conversation context first: Look for Cloud ID or Confluence URL already mentioned
- If not found: Ask the user to provide their Cloud ID or Confluence site URL
- Use detected values for all Confluence operations in this conversation
Configuration Detection Workflow
When you activate this skill:
- Check if Cloud ID or Confluence URL is already available in the conversation context
- If not found, ask: "Which Confluence site should I use? Please provide a Cloud ID (UUID) or site URL (e.g.
https://example.atlassian.net/)" - Use the provided value for all operations in this conversation
Cloud ID format:
- Can be a site URL (e.g.,
https://example.atlassian.net/) - Can be a UUID from
getAccessibleAtlassianResources
Workflow
1. Finding Content (Always Start Here)
Use search (Rovo Search) first - it's the most efficient way:
search("natural language query about the content")
- Works with natural language
- Returns relevant pages quickly
- Most efficient first step
2. Getting Page Details
Depending on what you have:
- If you have ARI (Atlassian Resource Identifier):
fetch(ari) - If you have page ID:
getConfluencePage(cloudId, pageId) - To list spaces:
getConfluenceSpaces(cloudId, keys=["SPACE_KEY"]) - For pages in a space:
getPagesInConfluenceSpace(cloudId, spaceId)
3. Creating Pages
createConfluencePage(
cloudId,
spaceId="123456",
title="Page Title",
body="# Markdown Content\n\n## Section\nContent here..."
)
Always use Markdown in the body field — never HTML.
4. Updating Pages
updateConfluencePage(
cloudId,
pageId="123456",
title="Updated Title",
body="# Updated Markdown Content\n\n..."
)
Always use Markdown in the body field — never HTML.
Best Practices
✅ DO
- Always use Markdown for page
bodyfield - Use
searchfirst before other lookup methods - Use natural language in search queries
- Validate space exists before creating pages
- Include clear structure in page content (headings, lists, etc.)
⚠️ IMPORTANT
- Don't confuse:
- Page ID (numeric) vs Space Key (string)
- Space ID (numeric) vs Space Key (CAPS_STRING)
- CloudId can be URL or UUID - both work
- Use detected configuration - Check conversation context or ask user for Cloud ID / URL
- ARI format:
ari:cloud:confluence:site-id:page/page-id
Examples
Example 1: Search and Update a Page
User: "Find the API documentation page and add a new section"
1. search("API documentation")
2. getConfluencePage(cloudId, pageId="found-id")
3. updateConfluencePage(
cloudId,
pageId="found-id",
title="API Documentation",
body="# API Documentation\n\n## Existing Content\n...\n\n## New Section\nNew content here..."
)
Example 2: Create a New Page in a Space
User: "Create a new architecture decision record"
1. getConfluenceSpaces(cloudId, keys=["TECH"])
2. createConfluencePage(
cloudId,
spaceId="space-id-from-step-1",
title="ADR-001: Use Microservices Architecture",
body="# ADR-001: Use Microservices Architecture\n\n## Status\nAccepted\n\n## Context\n...\n\n## Decision\n...\n\n## Consequences\n..."
)
Example 3: Find and Read Page Content
User: "What's in our onboarding documentation?"
1. search("onboarding documentation")
2. getConfluencePage(cloudId, pageId="id-from-results")
3. Summarize the content for the user
Output Format
When creating or updating pages, use well-structured Markdown:
# Main Title
## Introduction
Brief overview of the topic.
## Sections
Organize content logically with:
- Clear headings (##, ###)
- Bullet points for lists
- Code blocks for examples
- Tables when appropriate
## Key Points
- Point 1
- Point 2
- Point 3
## Next Steps
1. Step 1
2. Step 2
3. Step 3
Important Notes
- Markdown is mandatory — never use HTML or other formats in
body - Search first — most efficient way to find content
- Validate IDs — ensure space/page IDs exist before operations
- Natural language — Rovo Search understands intent, not just keywords
- ID types — don't confuse page ID (numeric) vs space key (string) vs space ID (numeric)
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
seo
Optimize for search engine visibility and ranking. Use when asked to "improve SEO", "optimize for search", "fix meta tags", "add structured data", "sitemap optimization", or "search engine optimization". Do NOT use for accessibility (use web-accessibility), performance (use core-web-vitals), or comprehensive site audits covering multiple areas (use web-quality-audit).
web-quality-audit
Comprehensive web quality audit covering performance, accessibility, SEO, and best practices in a single review. Use when asked to "audit my site", "review web quality", "run lighthouse audit", "check page quality", or "optimize my website" across multiple areas at once. Orchestrates specialized skills for depth. Do NOT use for single-area audits — prefer core-web-vitals, web-accessibility, seo, or web-best-practices for focused work.
accessibility
Audit and improve web accessibility following WCAG 2.1 guidelines. Use when asked to "improve accessibility", "a11y audit", "WCAG compliance", "screen reader support", "keyboard navigation", or "make accessible". Do NOT use for SEO (use seo), performance (use core-web-vitals), or comprehensive site audits covering multiple areas (use web-quality-audit).
react-best-practices
React and Next.js performance optimization guidelines from Vercel Engineering. Use when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements. Do NOT use for component API architecture or composition patterns (use react-composition-patterns instead).
best-practices
Apply modern web development best practices for security, compatibility, and code quality. Use when asked to "apply best practices", "security audit", "modernize code", "code quality review", or "check for vulnerabilities". Do NOT use for accessibility (use web-accessibility), SEO (use seo), performance (use core-web-vitals), or comprehensive multi-area audits (use web-quality-audit).
perf-lighthouse
Run Lighthouse audits locally via CLI or Node API, parse and interpret reports, and set performance budgets. Use when measuring site performance, understanding Lighthouse scores, setting up budgets, or integrating audits into CI. Triggers on: lighthouse, run lighthouse, lighthouse score, performance audit, performance budget. Do NOT use for fixing specific performance issues (use perf-web-optimization or core-web-vitals) or Astro-specific optimization (use perf-astro).
Didn't find tool you were looking for?