A workflow that maintains two kinds of documents with distinct roles:
| help | Help | Explain workflow, detect project state, suggest next step | | init | Init | Set up doc-driven structure | | spec | Spec | Create temporary spec for intent alignment | | dev [spec-path\|doc-path] | Dev | Implement code from spec (with plan mode) or doc | | sync [options] | Sync | Update living docs, archive spec, audit consistency |
Not every change needs the full workflow. Choose based on the nature of the change:
문서 중심 개발(文档驱动开发). 사용 시기: (1) /dd help — 워크플로를 설명하고 프로젝트 상태에 따라 다음 단계 제안, (2) /dd init — 프로젝트에서 문서 기반 구조 초기화, (3) /dd spec [요구 사항] — 개발 전에 의도를 맞추기 위한 임시 사양 생성, (4) /dd dev [spec-path|doc-path] — 사양 또는 문서에 따른 코드 구현(사양 기반 개발을 위한 계획 모드 자동 입력), (5) /dd sync [--check|--scope] — 살아있는 업데이트 문서, 아카이브 사양 및 감사 일관성. 문서 중심, 디자인 문서, 문서 중심, 사양 중심, 文档驱动, 设计文档, 规格, /dd에 대한 언급에 따라 트리거됩니다. 출처: zkywalker/doc-driven.