Stats
Actions
Tags
How this skill is triggered — by the user, by Claude, or both
Slash command
/dev-discipline:auto-specThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
```text
任務進來
|
是否為 trivial fix?(單行修正、typo、明確的 one-liner)
|- 是 -> 直接執行,完成後 log.sh
+- 否 -> 找 active spec
|
docs/specs/ 下有相關 spec?
|- 有 -> 讀 spec,確認設計,照 TASKS.md / PROGRESS.md 追蹤進度
+- 沒有 -> 先建 spec(從 _templates/ 複製),等使用者確認,再實作
docs/specs/<slug>/SPEC.md):只放設計文件(需求、ADR、架構決策)docs/specs/<slug>/TASKS.md):只放當前 batch 的 checkboxdocs/specs/<slug>/TESTS.md):只放驗收條件(EARS 語法)docs/specs/<slug>/PROGRESS.md):只放 Phase 級追蹤每次 git commit 前,必須確認:
TASKS.md 的 checkbox<type>(<scope>): <desc>,不加 AI 署名.ai/ 不加入 commit(changelog、lessons 等是 AI 工作記錄,不上版控).ai/HANDOFF.md(如有).ai/changelog.md 最近記錄docs/specs/ 找 active spec.ai/CURRENT.md 記錄當前任務.ai/CURRENT.mdTASKS.md checkbox(- [ ] -> - [x]).ai/changelog.md(透過 log.sh)updated 日期spec-archive.sh tasks <slug>spec-archive.sh phase <slug>被 compact 後,按此順序重建 context:
.ai/HANDOFF.md.ai/changelog.md 最近 20 行.ai/lessons.mddocs/specs/ 找 active specnpx claudepluginhub miyago9267/dev-discipline --plugin dev-disciplineGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.