一键导入
docs-sync
Synchronizes review feedback, QA findings, user corrections, and code-review suggestions into durable project docs before Build, merge, or ship.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Synchronizes review feedback, QA findings, user corrections, and code-review suggestions into durable project docs before Build, merge, or ship.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Dev-agent / checker-agent collaboration loop driven by downstream project docs/STATE.md. Dev agent implements and records work items; an independent checker agent verifies each item with real lint/typecheck/test/build evidence and writes findings back; loop continues until all items are VERIFIED or escalation limits are hit.
Intake workflow for existing projects before continuing development. Analyze current source state, derive a truthful docs baseline, identify QA/regression gaps, and create a safe continuation plan.
防止修復過的 bug 重新出現(regression)。 規則:每個修過的 bug 必須留下「regression test」+「root cause note」+「為何會發生」分析, 確保日後 refactor / 改需求時唔會重新踩坑。 David 在 2026-06-06 kanban task 明確指出「舊的 bug 又出現」嘅困擾。
定時壓縮長時間任務的 context,避免 token 爆炸。寫入 context-summary.md 保留決策和當前狀態,丢棄細節。
Task Orchestration Subagent — Coordinates all subagents, manages task board, handles parallel/sequential execution, tracks dependencies and failures. The conductor of the development orchestra.
4-layer interruption + recovery mechanism for long dev tasks. Auto-save on any interruption, one-command resume with full context restore. Built on top of dev-task-memory state files.
| name | docs-sync |
| description | Synchronizes review feedback, QA findings, user corrections, and code-review suggestions into durable project docs before Build, merge, or ship. |
Status: Operational workflow. Use this skill when feedback changes project knowledge that must survive beyond chat.
Review feedback is not complete until it is either:
Conversation-only feedback is not durable.
Use this workflow after:
| Feedback type | Required docs |
|---|---|
| Scope / business goal / success criteria | docs/PROJECT-OVERVIEW.md + docs/PRD.md + docs/QA-TRACKER.md |
| User story / acceptance criteria | docs/PRD.md + docs/QA-TRACKER.md |
| UI / UX / component / copy / layout | docs/DESIGN.md + docs/TEST-COVERAGE.md |
| API contract / endpoint / error code / wire shape | docs/API.md + docs/TEST-COVERAGE.md |
| Architecture / data model / infrastructure | new or updated ADR under docs/architecture/ + affected docs |
| Test gap / QA finding | docs/QA-TRACKER.md + docs/TEST-COVERAGE.md |
| Bug / regression risk | docs/REGRESSION-GUARD.md + docs/TEST-COVERAGE.md + related docs/QA-TRACKER.md row |
| Refactor / cleanup / known trade-off | docs/TECH-DEBT.md |
| Dependency / external package assumption | docs/TECH-DEBT.md and ADR / retro if architectural or incident-derived |
| Rejected suggestion | affected doc changelog / notes or docs/TECH-DEBT.md with rationale |
applieddeferredrejectedneeds David decisiondocs/PRD.md and docs/QA-TRACKER.md synchronized for every US-* change.RG-XXX entry and regression coverage.Run from the repository root:
python3 scripts/docs_consistency_check.py
python3 scripts/docs_consistency_check.py --project-docs
python3 scripts/docs_consistency_check.py --project-docs --base-ref origin/main --doc-code-sync
git status --short
git diff --name-only
If a command fails because the downstream project documentation baseline intentionally does not exist yet, report the failure and whether it is expected for the current repository state. Do not hide failed verification.
## Docs Delta
- Feedback items handled:
- Docs updated:
- Deferred items:
- Rejected items:
- Needs David decision:
- Verification run:
- Docs intentionally not updated and why: