install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/cdd-implement" ~/.claude/skills/majiayu000-claude-skill-registry-cdd-implement && rm -rf "$T"
manifest:
skills/data/cdd-implement/SKILL.mdsource content
CDD Implementation
Start implementation for decision $1.
実行前の必須事項
このスキルを開始する前に、必ず TodoWrite で以下のタスクを作成すること:
- cdd.md の存在確認と decisionStatus: DECIDED 検証
- implementationStatus を IN_PROGRESS に変更
- 実装タスクの分解(具体的なステップ)
- ビルド・テスト
- Git コミット(CDD: $1 を含む)
- implementationStatus を IN_REVIEW に変更
- ユーザーにレビュー依頼
TodoWrite なしで実装を開始してはならない。
禁止事項:
への変更は このスキル内で行わないimplementationStatus: DONE- DONE はレビュー APPROVED 後にのみ変更可能
Your Task
-
Load and verify decision:
- Find the cdd.md file for $1
- CRITICAL: Verify
decisionStatus: DECIDED - If not DECIDED, stop with error: "Cannot implement - decision not finalized"
-
Read the full specification:
- Goal: What we're achieving
- Context: Constraints and background
- Selection: What was decided and why
- Rejections: What NOT to do
-
Update implementation status (with confirmation):
- Use AskUserQuestion tool to confirm:
- Question: "implementationStatusをIN_PROGRESSに変更しますか?"
- Options: "はい" / "いいえ"
- If "はい", change
implementationStatus: IN_PROGRESS - If "いいえ", stop implementation
- Use AskUserQuestion tool to confirm:
-
Execute implementation:
- Follow the Selection section exactly
- Respect all constraints in Context
- DO NOT implement anything from Rejections
- DO NOT add
markers in code (deprecated)@cdd #$1
-
Track changed files:
- Keep a list of all files you create or modify during implementation
- This will be used in the commit message
-
Create commit when implementation is complete:
- Use the Bash tool to run:
to see changed filesgit status - Generate commit message in this format:
<type>: <summary> ($1) <detailed description of changes> CDD: $1 Files: - <file1> - <file2> - <file3> - Use AskUserQuestion tool to confirm before committing:
- Question: "このコミットメッセージで良いですか?"
- Options: "はい" / "修正が必要"
- Use
andgit add
with the generated messagegit commit
- Use the Bash tool to run:
-
Update implementation status to IN_REVIEW (with confirmation):
- Use AskUserQuestion tool to confirm:
- Question: "implementationStatusをIN_REVIEWに変更しますか?"
- Options: "はい" / "いいえ"
- If "はい", change
implementationStatus: IN_REVIEW - DO NOT change to DONE - wait for review approval
- Use AskUserQuestion tool to confirm:
-
Request review:
- Inform user that implementation is complete
- Suggest running
/cdd-review-implementation $1
Important Rules
- NEVER deviate from the decided approach
- If you find issues during implementation, STOP and discuss first
- DO NOT add
comments - use Git commit messages instead@cdd #$1 - DO NOT set implementationStatus to DONE - only IN_REVIEW after implementation
Commit Message Format
Type prefix:
: New featurefeat
: Bug fixfix
: Code refactoringrefactor
: Documentation changesdocs
: Test additions or changestest
: Maintenance taskschore
Example:
feat: Add review history tracking (PHASE3-003) Implemented automatic review history updates when implementationStatus changes. Added ReviewHistoryEntry type and review file generation. CDD: PHASE3-003 Files: - src/core/review-tracker.ts - src/types.ts - src/commands/review.ts