Upgrade to Pro — share decks privately, control downloads, hide ads and more …

~cc-sddがかわいく見えてくる!?~ cc-sddの中身を見て、Planモードとの使い分け...

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
Avatar for 飯田嘉一郎 飯田嘉一郎
February 19, 2026
310

~cc-sddがかわいく見えてくる!?~ cc-sddの中身を見て、Planモードとの使い分けを考えてみた

Avatar for 飯田嘉一郎

飯田嘉一郎

February 19, 2026
Tweet

Transcript

  1. 自己紹介 基本情報 名前: 飯田嘉一郎 ロール: エンジニア/AIエバンジェリスト お仕事: 高輪GWの都市OS(スマートシティのデータ蓄積 基盤的なもの)作ってる :

    @KaichiWork 趣味?: Podcast: ひまじんプログラマーの週末エンジニアリン グレッスン SDD歴 プライベート: 7ヶ月程度 アプリ4〜5個くらい作った お仕事: かんたんなアプリ1個作った KDDI Agile Development Center Corporation 開発7部 1
  2. cc-sddの紹介 Findyのgotaさんが作っている、仕様駆動開発をClaude Code(他Cursor、Gemini CLI等にも対応)で実現する国産オー プンソースツール 特徴 SDDをやってくれる npx cc-sdd@latest --lang

    ja の1コマンドで導入可 能 対応ツール Claude Code Cursor GitHub Copilot Gemini CLI Codex Windsurf Qwen Code / OpenCode KDDI Agile Development Center Corporation 開発7部 6
  3. cc-sddの開発フロー spec-init 初期化 → spec-requirements 要件定義 → spec-design 技術設計 →

    spec-tasks タスク分解 → spec-impl 実装 各段階で人間が承認してから次に進む(段階的承認フロー) validate-gap validate-design validate-quick ← 品質ゲート(検証コマンド) KDDI Agile Development Center Corporation 開発7部 7
  4. cc-sdd のコマンド抜粋 コマンド 説明 /kiro:spec-requirements EARS記法で検証可能な要件を作成 /kiro:spec-design 要件から技術設計・アーキテクチャを作成 /kiro:spec-tasks 設計をタスクに分解

    /kiro:spec-impl TDDでタスクを実装 /kiro:spec-status 全フェーズの進捗を表示 /kiro:steering プロジェクトのコンテキスト・記憶を作成 KDDI Agile Development Center Corporation 開発7部 8
  5. cc-sddの実態 cc-sddのファイル(抜粋) ファイルの中身を読み解く 「基本的にインストーラ、プロンプト集、テストで構成さ れている」 つまり、cc-sddの本体はコーディングエージェント に渡すプロンプト集 1 tools/cc-sdd/ 2

    ├── src/ ← インストーラ 3 ├── scripts/ ← ビルド・リリース用 4 ├── test/ ← テスト 5 └── templates/ ← ★ 本体:プロンプト集 6 ├── agents/ ← エージェント別プロンプト 7 ├── manifests/ ← 設定ファイル雛形 8 └── shared/settings/ 9 ├── rules/ ← ルール定義 10 └── templates/ ← 仕様書テンプレート KDDI Agile Development Center Corporation 開発7部 12
  6. spec-requirements EARS記法で検証可能な要件を作成 プロンプトまとめ EARS記法で書け テスト可能な要件テンプレート 例: If 「今日のひまお」フォルダが空である, then the

    Backend API shall 最新日付の画像・動画にフォールバ ックして返却する WHATを書け 実装方法ではなく何をするか ユーザーと対話しろ フィードバックもらいつつ修正 要件定義の時点でテスト可能性を考慮しながら作っ てくれるの嬉しい 1 <!-- 冒頭20 行 --> 2 --- 3 description: Generate comprehensive requirements 4 for a specification 5 allowed-tools: Bash, Glob, Grep, LS, Read, 6 Write, Edit, MultiEdit, Update, 7 WebSearch, WebFetch 8 argument-hint: <feature-name> 9 --- 10 11 # Requirements Generation 12 13 <background_information> 14 - **Mission**: Generate comprehensive, testable 15 requirements in EARS format based on the 16 project description from spec initialization 17 - **Success Criteria**: 18 - Create complete requirements document 19 aligned with steering context 20 - Follow the project's EARS patterns and 21 constraints for all acceptance criteria KDDI Agile Development Center Corporation 開発7部 16
  7. spec-implの中身 TDDでタスクを実装 プロンプトまとめ コンテキストを読め 要件・設計・タスク・steering 全部 TDDを徹底 ケントベックのサイクル テストを先に書く 余計なことをするな

    タスクスコープ厳守 既存テスト壊さない 勝手にAIコーディングの正確性を上げるプロンプト を入れてくれてるのもありがたい 1 <!-- プロンプト抜粋 --> 2 ## Mission 3 Execute tasks using TDD 4 5 ## Step 1: Load Context 6 Read these files FIRST: 7 - requirements.md 8 - design.md 9 - tasks.md 10 - steering/ 11 12 ## Step 3: TDD (Kent Beck style) 13 RED → GREEN → REFACTOR → VERIFY 14 15 ## Critical Constraints 16 - TDD Mandatory 17 - Task Scope: ONLY current task 18 - No Regressions: existing tests must pass KDDI Agile Development Center Corporation 開発7部 17
  8. Planモード(Claude Code)の動き Claude Codeの機能で、実装前にコードベースを探索し、実装計画を立ててからコーディングに入るモード Planモードの流れ コードベース 探索 → 実装計画 作成

    → ユーザー 承認 → 実装 計画を立ててから実装する、という点ではSDDに似ているが… KDDI Agile Development Center Corporation 開発7部 20
  9. SDD vs Planモード 観点 SDD Planモード ドキュメント 要件・設計をドキュメント化 基本的に残さない 計画の永続性

    ファイルとして残る コンテキスト内で完結 仕様との検証 実装中も整合性を検証 AIがやってくれてる? 向いているタスク 複雑な機能、継続的な開発 バグ修正、シンプルな機能実装 使い分けが大事: Planモードが不要になるわけではない。タスクの複雑さに応じて選択する 特に、 「ドキュメントが残る」と「実装中に整合性を検証しながら進める」がPlanとの使い分けポイント KDDI Agile Development Center Corporation 開発7部 21