confluence-assistant
它能做什么
这个技能让 AI 处理你的 Confluence 文档:查找页面、创建或更新页面,以及添加评论。适合把文档保存在 Confluence 中的团队。
适用场景
- ✓当你想查找某个主题相关的 Confluence 页面或文档时。
- ✓当你希望在 Confluence 中创建新页面或更新已有页面时。
- ✓当你希望在 Confluence 页面上添加评论时。
技能链接
https://github.com/tech-leads-club/agent-skills/blob/main/packages/skills-catalog/skills/(development)/confluence-assistant/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请在 Confluence 中找到我们的入职指南,并添加一条评论,说明 Slack 那一步已经过时。”
每周 5 个新技能,1 分钟读完。
工作原理
AI 会先通过 Atlassian 连接进行搜索;如果不知道使用哪个 Confluence 站点,会先询问,然后再进行读取、创建、更新或评论。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
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
常见问题
它也能处理 Jira 工单吗?
不能。Jira 工作由另一个单独的技能处理。
它使用哪个 Confluence 站点?
它使用你指定的站点,例如你的站点地址,并会在本次对话中保留这一选择。
它需要 Atlassian 的访问权限吗?
需要。必须先设置并登录 Atlassian 连接。
详情
作者的原始描述
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.
热度
- GitHub 星标
- 7.1k
- 排名
- #13524
- 许可证
- —
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
component-common-domain-detection
7.1k帮你的智能体找出代码库中多个部分重复的业务逻辑,并建议如何合并。
component-flattening-analysis
7.1k帮你的智能体找出位置不当的代码,并整理杂乱的组件文件夹结构,让每个部分都放在应在的位置。
component-identification-sizing
7.1k帮你的智能体梳理代码库的各个组成部分并测量其规模,以找出应首先拆分的模块。
coupling-analysis
7.1k帮你的智能体检查代码库各部分之间的依赖有多紧密,并找出应优先放松的连接。