confluence について
Golden Armada AI Agent Fleet Platform 向けに、Confluence のドキュメントとスペースを操作するスキルです。Confluence API と Python の例を通じて、ページ管理、検索、テンプレート、マクロ、文書作成の指針を扱います。
主な機能
- 01ページの作成、取得、更新、削除
- 02スペースの作成と確認
- 03CQL またはページ検索
- 04文書テンプレートとマクロの利用
- 05ページ整理の指針
活用シーン
- 01Confluence ドキュメントの作成や更新
- 02テキストやスペースでページを検索
- 03アーキテクチャ資料や議事録の整理
インストール
コマンドをコピーしてターミナルで実行します。
npx skills add https:/ / github.com/ thelobbi/ claude --skill confluenceインストール後、Claude Code で/confluenceを入力して読み込まれたか確認します。
README(原文)English
プロジェクトの README よりこの README の日本語訳はまだありません。以下は英語の原文です。日本語の紹介はページ上部をご覧ください。
Confluence Skill
Provides comprehensive Confluence documentation capabilities for the Golden Armada AI Agent Fleet Platform.
When to Use This Skill
Activate this skill when working with:
- Documentation pages
- Space management
- Templates and blueprints
- Knowledge base creation
- Confluence API integration
Confluence API Quick Reference
Authentication
```python from atlassian import Confluence
confluence = Confluence( url='https://your-domain.atlassian.net', username='[email protected]', password='API_TOKEN', cloud=True ) ```
Page Operations
```python
Create page
page = confluence.create_page( space='GA', title='Agent Architecture', body='
Overview
Architecture documentation...
', parent_id=12345 # Optional parent page )Get page
page = confluence.get_page_by_title( space='GA', title='Agent Architecture', expand='body.storage,version' )
Get page by ID
page = confluence.get_page_by_id( page_id=12345, expand='body.storage,version' )
Update page
confluence.update_page( page_id=12345, title='Agent Architecture v2', body='
Updated Overview
New content...
' )Delete page
confluence.remove_page(page_id=12345)
Get page content
content = confluence.get_page_by_id(page_id, expand='body.storage') html_content = content['body']['storage']['value'] ```
Space Operations
```python
Create space
space = confluence.create_space( space_key='GA', space_name='Golden Armada', description='AI Agent Fleet Platform documentation' )
Get space
space = confluence.get_space('GA', expand='homepage')
Get all pages in space
pages = confluence.get_all_pages_from_space( space='GA', start=0, limit=100, expand='body.storage' ) ```
Search
```python
CQL search
results = confluence.cql( 'space = GA AND type = page AND text ~ "agent"', limit=25 )
Search pages
results = confluence.search( query='agent architecture', space='GA', type='page' ) ```
Page Templates
Architecture Document
```html
System Architecture
<ac:structured-macro ac:name="toc"> <ac:parameter ac:name="printable">true</ac:parameter> <ac:parameter ac:name="style">disc</ac:parameter> <ac:parameter ac:name="maxLevel">3</ac:parameter> </ac:structured-macro>
Overview
Brief description of the system...
Components
Key Components- Component 1 - Description
- Component 2 - Description
Architecture Diagram
Data Flow
Description of data flow...
Security Considerations
Security notes...
\`\`\`API Documentation
```html
API Reference
Authentication
bashEndpoints
GET /agents
List all agents.
<ac:structured-macro ac:name="expand"> <ac:parameter ac:name="title">Example Response</ac:parameter> ac:rich-text-body <ac:structured-macro ac:name="code"> <ac:parameter ac:name="language">json</ac:parameter> ac:plain-text-body</ac:plain-text-body> </ac:structured-macro> </ac:rich-text-body> </ac:structured-macro> ```
Meeting Notes
```html
Meeting Notes: Meeting Title
<ac:structured-macro ac:name="info"> ac:rich-text-body
Date: ac:placeholderDate</ac:placeholder>
Attendees: ac:placeholderNames</ac:placeholder>
</ac:rich-text-body> </ac:structured-macro>Agenda
- Topic 1
- Topic 2
Discussion
Notes from discussion...
Action Items
incomplete Action item 1Next Steps
Follow-up items...
\`\`\`Macros Reference
Common Macros
```html
<ac:structured-macro ac:name="toc"/>
<ac:structured-macro ac:name="code"> <ac:parameter ac:name="language">python</ac:parameter> ac:plain-text-body</ac:plain-text-body> </ac:structured-macro>
<ac:structured-macro ac:name="info"> ac:rich-text-body
Info text
</ac:rich-text-body> </ac:structured-macro><ac:structured-macro ac:name="warning"> ac:rich-text-body
Warning text
</ac:rich-text-body> </ac:structured-macro><ac:structured-macro ac:name="expand"> <ac:parameter ac:name="title">Click to expand</ac:parameter> ac:rich-text-body
Hidden content
</ac:rich-text-body> </ac:structured-macro><ac:structured-macro ac:name="status"> <ac:parameter ac:name="colour">Green</ac:parameter> <ac:parameter ac:name="title">COMPLETED</ac:parameter> </ac:structured-macro>
<ac:structured-macro ac:name="jira"> <ac:parameter ac:name="key">GA-123</ac:parameter> </ac:structured-macro> ```
Golden Armada Commands
```bash
Publish to Confluence
/confluence-publish --space GA --title "Agent API Docs" --file docs/api.md
Update page
/confluence-update --page-id 12345 --file docs/updated.md
Sync documentation
/atlassian-sync --confluence --space GA ```
Best Practices
- Use templates for consistent documentation
- Organize with page hierarchy (parent/child pages)
- Include diagrams for complex concepts
- Link to Jira issues for traceability
- Version important pages with labels
- Use macros for dynamic content