mk:confluence
Confluence Cloud routing hub. Picks the mk:confluence-* leaf and forwards it. NOT an executor.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 16
- Forks
- 3
01 前言 Front Matter
- name
- mk:confluence
- owner
- confluence
- phase
- on-demand
- source
- local
- status
- active
- runtime
- claude-code
- keywords
- [ "confluence", "confluence-router", "routing-hub", "atlassian-wiki", "wiki", "spec-page" ]
- criticality
- medium
- description
- Confluence Cloud routing hub. Picks the mk:confluence-* leaf and forwards it. NOT an executor.
- when_to_use
- Confluence or wiki work is wanted but the leaf is unclear; the hub body routes.
- user-invocable
- true
- default_enabled
- false
- dependency_edges
- [ { "id": "mk:confluence-bulk", "type": "peer" }, { "id": "mk:confluence-collaborate", "type": "peer" }, { "id": "mk:confluence-page", "type": "peer" }, { "id": "mk:confluence-search", "type": "peer" }, { "id": "mk:confluence-spec-analyst", "type": "peer" }, { "id": "mk:cook", "type": "peer" }, { "id": "mk:intake", "type": "peer" }, { "id": "mk:jira", "type": "peer" }, { "id": "mk:jira-issue", "type": "peer" }, { "id": "mk:planning-engine", "type": "peer" } ]
- requires_runtime
- [ "python>=3.9" ]
- requires_external_service
- [ "confluence" ]
02 资源文件 11
- 参考文档references/cli-idioms.md5.9 KB
- 参考文档references/install-and-auth.md4.8 KB
- 参考文档references/safety-framework.md5.7 KB
- 脚本scripts/adf_to_md.py7.5 KB
- 脚本scripts/adf-to-md.sh1.2 KB
- 脚本scripts/confluence-as.sh3.3 KB
- 脚本scripts/cql-sanitize.sh1.5 KB
- 脚本scripts/requirements.txt624 B
- 脚本scripts/smoke-live.sh1.5 KB
- 脚本scripts/tests/fixtures/adf-macros.expected.md989 B
- 脚本scripts/tests/fixtures/adf-macros.json4.0 KB
03 SKILL.md 正文
mk:confluence — Routing Skill
Script paths in this skill's other files (references, steps) are relative to this skill's directory,
${CLAUDE_SKILL_DIR}. Prefix them with${CLAUDE_SKILL_DIR}/before running them; do not run them from the project root.
This skill is a pure routing layer. Its sole purpose: identify the right mk:confluence-* leaf for the user's Confluence task, then point at it. No execution.
Routing Table
| User intent | Leaf skill |
|---|---|
| Get/create/update/delete a single page or blog post; copy/move/version | mk:confluence-page |
| Search pages with CQL; list spaces; export results | mk:confluence-search |
| Deep spec analysis: requirements, gaps, suggested stories | mk:confluence-spec-analyst |
| Bulk ops on 10+ pages (label, move, delete) — dry-run mandatory | mk:confluence-bulk |
| Comments, attachments, labels, watchers (collaboration surface) | mk:confluence-collaborate |
Disambiguation
- User says skill name verbatim → route immediately
- Numeric token (likely page ID) + verb → match verb to leaf
- Uppercase short token (likely space key) + read intent →
mk:confluence-search - CQL syntax (
=,AND,OR,currentUser()) →mk:confluence-search - 10+ items /
bulk/batch/masskeyword →mk:confluence-bulk - Spec analysis intent (
requirements,acceptance criteria,analyze the spec) →mk:confluence-spec-analyst - Labels:
mk:confluence-collaborateowns label CRUD (add/remove/list).mk:confluence-pagedoes NOT duplicate — if user says "label page X", route to collaborate. - Comments / attachments / watchers: always
mk:confluence-collaborate, even if scoped to a single page - Truly ambiguous → ask user one clarifying question
Setup
See references/install-and-auth.md for one-time setup (mewkit skill env confluence installs confluence-assistant-skills into .meowkit/envs/confluence/ per scripts/requirements.txt; populate .meowkit/.env with the 3 MEOW_CONFLUENCE_* vars). That reference also carries the guided setup sequence — the one place in this family that walks a user through credentials step by step, including the never-echo-the-token rule. Setup is the single operation the hub performs rather than routing, because it is a precondition for every leaf and belongs to no one of them.
Shared Resources (used by leaves)
scripts/confluence-as.sh— env-translating wrapper (MEOW_CONFLUENCE_*→CONFLUENCE_*, setsCONFLUENCE_OUTPUT=json, refuses settings.local.json fallback, gates non-Cloud URLs)scripts/cql-sanitize.sh— CQL injection guard for user-derived inputscripts/adf-to-md.sh+scripts/adf_to_md.py— macro-aware ADF→Markdown walker (panel, decisionList/Item, taskList/Item, expand, mention, media, inlineCard preserved with explicit labels)scripts/requirements.txt— pip dependency manifest auto-discovered by.claude/hooks/lib/setup-workflowscripts/smoke-live.sh— manual live-creds smoke testreferences/install-and-auth.md— env vars, setup, Cloud-only gate, escape hatchreferences/cli-idioms.md— wrapper invocation patterns + safe-invocation rules + conversion-helper idioms
Handoff
mk:planning-engineaccepts--spec <report-path>flag pointing at an existingmk:confluence-spec-analystreport; user runs spec-analyst FIRST, then passes pathmk:intakerecognizes Confluence URL/page-id as a 5th source; fetches page content directly via wrapper, does NOT auto-invoke spec-analystmk:jira→ sister hub for Jira ticketing; spec-analyst report pairs withmk:jira-issue createto turn extracted user stories into tickets (manual review required,--with-commandsis opt-in)- No write-back from
mk:cook— Confluence write paths are out of scope
Gotchas
- mk:confluence itself never executes; if you're in this skill thinking about wrapper commands, you're in the wrong place — forward to a leaf.
- Binary name is
confluence-as(NOTconfluencedespite some upstream README docs). The wrapper handles this; leaves call the wrapper. - Cloud-only — wrapper exits 3 on non-
*.atlassian.netURLs. For Server/DC, users invoke MCP Atlassian directly perreferences/install-and-auth.md. Hub does NOT auto-fallback.
04 同仓库更多 Skills
mk-worktree
Manages git worktrees for parallel agent isolation: creates parallel/{name}-{timestamp} branches, merges with conflict detection. NOT for user feature branches (use git worktree directly).
mk-workflow-orchestrator
Auto-invoked 7-phase workflow for complex-feature intent; fasttrack mode for pre-approved specs. NOT for explicit single tasks (mk:cook), green-field builds (mk:autobuild), or simple fixes (mk:fix).
mk-web-to-markdown
Fetch a URL and return clean markdown, for arbitrary external pages (blog, RFC, GitHub issue, vendor doc) not covered by mk:docs-finder. Static-only by default; opt-in JS rendering available.
mk-vulnerability-scanner
Vulnerability analysis: OWASP Top 10, current threat landscape, supply chain security, attack surface mapping, risk prioritization. Use for security audits. NOT for STRIDE/CSO infra audits (mk:cso).
mk-vue
Vue 3 authoring/review: components, composables, reactivity, Pinia, Pinia Colada, file routing, forms. Composition API + script setup. Auto-activates on .vue files. Deep review: mk:vue-best-practices.
mk-vue-testing-best-practices
Vue 3 testing best-practices review: Vitest + Vue Test Utils for components, composables, Pinia, Router, async/Suspense, forms, a11y, plus Playwright E2E strategy. Advisory only.