mk-confluence-search
Confluence CQL search, space list, saved filters, export via confluence-as; CQL injection-safe. NOT single-page CRUD (mk:confluence-page) or bulk writes (mk:confluence-bulk).
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 16
- Forks
- 3
01 前言 Front Matter
- name
- mk-confluence-search
- description
- Confluence CQL search, space list, saved filters, export via confluence-as; CQL injection-safe. NOT single-page CRUD (mk:confluence-page) or bulk writes (mk:confluence-bulk).
02 资源文件 3
- 参考文档references/cql-patterns.md1.8 KB
- 参考文档references/cql-reference.md3.3 KB
- 参考文档references/search-examples.md2.4 KB
03 SKILL.md 正文
mk:confluence-search
Forks to the confluence-search agent. CQL is positional on search (and on validate / build helpers); flags everywhere else. The agent enforces CQL sanitization for any user-derived term via ../confluence/scripts/cql-sanitize.sh.
Triggers
- "search confluence for ..."
- "find pages where space = ENG and title ~ 'roadmap'"
- "build a cql for ..."
- "export the search to /tmp/out.csv"
- "list / get / favourite a saved filter"
- "list spaces" / "get space ENG"
Examples
- "find pages updated in the last 7 days in space ENG, top 20"
- "validate this cql: space = ENG AND title ~ 'Q3'"
- "list every space I can see"
- "save a filter named 'My recent specs' with this cql: ..."
See also
- Agent:
../../agents/confluence-search.md - Shared:
../confluence/references/{install-and-auth,cli-idioms,safety-framework}.md - Domain refs:
references/cql-patterns.md— canonical CQL templates (curated)references/cql-reference.md— full CQL operator + function referencereferences/search-examples.md— practical query examples per scenario
- Peer leaves:
mk:confluence-bulk(write-side bulk by CQL — same dry-run discipline),mk:confluence-spec-analyst(read-only deep analysis),mk:confluence-page(single-page CRUD)
Gotchas
confluence-asdoes NOT export_escape_cql_string— it lives as a private function in the search command module. Thecql-sanitize.shshared script is the only safety gate. Use it unconditionally for any user-derived CQL term. [from research]- The
--quietglobal flag is declared inconfluence-asbut unimplemented (never read in main). Don't rely on it; redirect stderr explicitly when needed. [from research] - Keychain entry name
"confluence-assistant"collides with upstream Confluence-Assistant-Skills if both tools are installed. We never use keychain (env-only via wrapper) so we're not affected — but document the collision so users running both know. [from research] - Two-tier filesystem cache (SkillCache SQLite +
~/.confluence-skills/cache/) is opaque. Don't depend on cache state —confluence-as ops cache-clearis safe to invoke if behavior looks stale. [from research] - Grow this list as new edge cases surface.
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.