跳到正文
Skillpedia
技术文档7.1k · #13524

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。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/tech-leads-club/agent-skills/blob/main/packages/skills-catalog/skills/(development)/confluence-assistant/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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):

  1. Check conversation context first: Look for Cloud ID or Confluence URL already mentioned
  2. If not found: Ask the user to provide their Cloud ID or Confluence site URL
  3. Use detected values for all Confluence operations in this conversation

Configuration Detection Workflow

When you activate this skill:

  1. Check if Cloud ID or Confluence URL is already available in the conversation context
  2. 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/)"
  3. 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 body field
  • Use search first 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.

repo: tech-leads-club/agent-skills

热度

GitHub 星标
7.1k
排名
#13524
许可证
—
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能