ai-spector-contract
Writer contract operations: document sign-off (review_approve), comment resolution (doc threads C-NNN and prototype batches B-NNN), translation sync, and language status. Use for review queue, approve doc by logical path (srs/01-overview), pending client review, resolve C-NNN threads, B-NNN prototype batches, resolve translations, or check language status. NOT for graph, generate, or setup — use the matching skill instead.
- License 许可
- MIT
- 最近更新
- 2026-07-08
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- ai-spector-contract
- paths
- [ ".docops/review*", ".docops/comments/**", "comments/**", "prototype/**", ".ai-spector/.docflow/review-queue/**", ".ai-spector/.docflow/translation-queue/**", "docs/**" ]
- description
- Writer contract operations: document sign-off (review_approve), comment resolution (doc threads C-NNN and prototype batches B-NNN), translation sync, and language status. Use for review queue, approve doc by logical path (srs/01-overview), pending client review, resolve C-NNN threads, B-NNN prototype batches, resolve translations, or check language status. NOT for graph, generate, or setup — use the matching skill instead.
02 资源文件 1
- 参考文档references/runbook.md11.1 KB
03 SKILL.md 正文
AI Spector — Contract
Core: ../ai-spector/SKILL.md · Workflow: ../../WORKFLOW.md
Route by intent
Read one runbook section for the user's intent, then execute it end-to-end:
| Intent | Runbook section |
|---|---|
| Document sign-off, review queue, approve/decline doc | references/runbook.md — Review |
| Resolve doc comment threads (C-NNN) | references/runbook.md — Comments |
| Resolve prototype HTML comment batches (B-NNN) | references/runbook.md — Prototype-Comments |
| Sync translations, process translation queue | references/runbook.md — Translation |
| Translation / language status check | references/runbook.md — Lang-Status |
Disambiguation: "approve" has four meanings
| User context | This skill | Tool | NOT this |
|---|---|---|---|
Document sign-off — approve doc, review queue, pending client, logical path (srs/…) |
yes | contract_review (action: "approve") |
spec_approve, work_approve_plan, contract_comments |
| Extracted spec — SPEC-001, spec queue | no → generate skills | spec_approve |
contract_review |
| Work plan — "go ahead execute", plan table | no → ai-spector |
work_approve_plan |
contract_review |
| Comment thread done — C-NNN, resolve thread | yes | contract_comments (action: "resolve") |
contract_review |
| Prototype comment batch — B-NNN | yes | contract_comments (action: "batch_resolve") |
contract_review |
Checklist
- [ ] Read matching runbook section completely
- [ ] MCP first (contract_review / contract_comments / contract_translate) → CLI fallback
- [ ] No .docops/guide/ links — reference kari-writer/contracts/CONTRACT.md for path semantics
- [ ] On failure: pause → report → offer fix per ai-spector/references/cli-failures.md
04 同仓库更多 Skills
ai-spector
暂无简介
ai-spector
Core AI Spector skill: setup, upgrade, adopt, check, docops CLI, work sessions (resume/route/pause), course link, and onboarding help. Use when the user says help, I'm stuck, where am I, or what's next about project setup; project init/setup, upgrade, adopting existing docs, workspace check, Writer contract bootstrap (docops init/migrate), resuming or managing active work sessions, or learning via the course. Do not use when the user clearly wants generation, graph ops, or contract review/comments — use the matching skill instead.
ai-spector-graph
Traceability graph operations: analyze data-source, index refresh, graph validate, impact, visualize, semantic search (CocoIndex), natural language graph lookup, doc summaries, and layer sync audit (design drift since baseline). Use when the user asks to analyze sources, refresh or validate the graph, see impact, visualize traceability, find docs by concept, or check doc drift since baseline. Do not use for writing SRS, basic design, HTML prototype, or formal document sign-off.
ai-spector-generate
All document generation: SRS, basic design, detail design, HTML prototype; incremental feature/section changes (resolve-task); and template pack import. Use for "generate SRS/basic design/detail design", "write chapter N", "add feature", "update section", "I want to add…", "HTML prototype", Capability-gated for Writer cloud UI only — local adapter (`.ai-spector/engine.json`) uses MCP/CLI work sessions even when `capabilities.generate` is false.
ai-spector
Core AI Spector skill: setup, upgrade, adopt, check, docops CLI, work sessions (resume/route/pause), course link, and onboarding help. Use when the user says help, I'm stuck, where am I, or what's next about project setup; project init/setup, upgrade, adopting existing docs, workspace check, Writer contract bootstrap (docops init/migrate), resuming or managing active work sessions, or learning via the course. Do not use when the user clearly wants generation, graph ops, or contract review/comments — use the matching skill instead.
ai-spector-graph
Traceability graph operations: analyze data-source, index refresh, graph validate, impact, visualize, semantic search (CocoIndex), natural language graph lookup, doc summaries, and layer sync audit (design drift since baseline). Use when the user asks to analyze sources, refresh or validate the graph, see impact, visualize traceability, find docs by concept, or check doc drift since baseline. Do not use for writing SRS, basic design, HTML prototype, or formal document sign-off.