Skip to content
detailed-design-workflow logo

詳細設計・完全ワークフロー (v2.9)

detailed-design-workflow

基本設計書を入力として、詳細設計書を作成し、モックアップ生成とテスト設計までを一貫して行うワークフロー。

SKILL.md

Full skill instructions

詳細設計・完全ワークフロー (v2.9)

基本設計書を入力として、詳細設計書を作成し、モックアップ生成とテスト設計までを一貫して行うワークフロー。

入力

$ARGUMENTS(基本設計書のパス)


全体フロー

Phase名称内容
0ドキュメント計画機能分解、ドキュメント一覧作成、ユーザー確認
0.5影響分析既存設計書・Issue・コードとの整合性確認(追加仕様時)
1設計書作成詳細/​BE/​FE/画面/共通設計書の作成
1.5検証 & モックアップASCII禁止チェック、HTML作成、スクリーンショット
2品質保証ループdetailed-design-reviewer によるレビュー(9点以上)
2.5ユーザー承認approval-gate skill
3成果物作成テスト項目書、Epic/子Issue作成、Sub-issue連携

Phase規約: workflow-phase-convention skill を参照


Phase 0: ドキュメント計画

  1. 基本設計書を分析し、必要なサブ機能とドキュメントを特定
  2. 機能タイプに応じて必須ドキュメントを判定(下表参照)
  3. ドキュメント一覧をユーザーに提示し承認を得る

機能タイプ別 必須設計書

機能タイプ詳細設計書BEFE画面設計書
画面あり機能OOOO
API専用機能OO--
バッチ処理OO--

共通設計書(機能群ごとに1つ)

設計書必須
データベース設計書.mdO
インフラ設計書.mdO
セキュリティ設計書.mdO

Phase 0.5: 影響分析【追加仕様時】

トリガー: 既存の詳細設計書・Issue・コードが存在する場合

チェック項目確認内容
API互換性既存APIシグネチャを破壊しないか
型定義互換性既存の型定義と矛盾しないか
依存Issue新規Issueが既存Issueに依存するか
既存モジュールsrc/ のどのファイルを変更するか

ユーザー確認オプション: 1. 続行 / 2. 調整 / 3. 中断(番号選択)


Phase 1: 設計書作成

detailed-design-writer エージェントが各サブ機能に対して設計書を作成。

テンプレート: detailed-design-templates skill を参照


Phase 1.5: 検証 & モックアップ

ASCII禁止チェック(BLOCKING)

grep -r -l '┌\|┐\|└\|┘\|│\|─' docs/​designs/​detailed/​{機能名}/​**/画面設計書.md
# → 0件であること

モックアップ生成

ツール: wireframe-generator skill を使用

  1. 画面設計書から Wireframe DSL を生成
  2. bun run generate.ts で mockup.html 等を生成
  3. Playwrightでスクリーンショット撮影
  4. 画面設計書に画像埋め込み

生成対象:

  • mockup.html (Desktop)
  • mockup-mobile.html (Mobile, 固定幅375px)
  • mockup-error.html

Phase 2: 品質保証ループ

条件アクション
スコア >= 9 & FE設計書ありPhase 2.5へ
スコア < 9Phase 1に戻り修正(最大3回)
スコア悪化即時中断

Phase 2.5: ユーザー承認ゲート

共通仕様: approval-gate skill を参照


Phase 3: 成果物作成 & Issue化

⚠️ 責任分離(重複防止)

ステップ担当成果物制約
3.1 テスト項目書作成test-spec-writer.md ファイルのみIssue作成禁止
3.2 Epic Issue作成メインエージェントGitHub Issue重複チェック必須
3.3 子Issue作成メインエージェントGitHub Issue重複チェック必須
3.4 ドキュメントIssueメインエージェントGitHub Issue重複チェック必須
3.5 Sub-issue連携メインエージェントGraphQL API-

Issue粒度ルール

制約上限
コード量200行以下
ファイル数1-3ファイル
責務単一責務

作成フロー

Step 3.1: テスト項目書作成

test-spec-writer エージェントに以下を指示:

MUST DO:
- テスト項目書を {出力パス} に作成する
- 設計書のテスト観点を網羅する

MUST NOT DO:
- GitHub Issue を作成しない(Issue作成は後続ステップで行う)
- gh コマンドを実行しない
- 設計書内の TASK-XXX を Issue 化しない
Step 3.2-3.4: Issue作成(重複チェック必須)
# Issue作成前に既存Issueを確認
gh issue list --repo $REPO --search "{機能ID}" --json number,title

# 重複がなければ作成
gh issue create --title "..." --body "..."
Step 3.5: Sub-issue連携

GraphQL API: github-graphql-api skill を参照

テンプレート: detailed-design-templates skill を参照


チェックリスト

Phase 1 完了条件

  • 全サブ機能に 詳細設計書.md が存在
  • 全サブ機能に バックエンド設計書.md が存在
  • 画面機能に 画面設計書.md と フロントエンド設計書.md が存在
  • 共通フォルダに DB/インフラ/セキュリティ設計書が存在

Phase 1.5 完了条件

  • ASCII罫線チェック: 0件
  • 全画面に mockup.html / mockup-mobile.html / mockup-error.html が存在

Phase 3 完了条件

  • Epic Issueが作成されている
  • 各子Issueが200行以下・3ファイル以下
  • 依存関係がMermaid形式で記述されている
  • 子IssueがEpicのSub-issueとして登録されている
  • ドキュメント更新IssueがSub-issueとして登録されている

Phase 3.5: 次ステップ選択【必須】

共通仕様・出力形式: approval-gate skill の「ワークフロー完了後の次ステップ選択」を参照

項目値
ワークフロー名詳細設計
次ワークフロー実装フェーズ(TDD推奨)
追加成果物Epic Issue, 子Issue群

サーキットブレーカー

状況アクション
モックアップ生成失敗placeholder.png を置いて続行、警告を残す
FE設計書欠落Phase 3で検出してPhase 1に戻る
レビュー3回失敗中断、ユーザーにエスカレーション

参考スキル

スキル用途
detailed-design-templates skill設計書・Issueテンプレート
approval-gate skillユーザー承認ゲート
workflow-phase-convention skillPhase命名規約
github-graphql-api skillSub-issue登録
design-document-types skill設計書タイプ判定
wireframe-generator skillPhase 1.5 モックアップ生成

変更履歴

バージョン変更内容
v2.10Phase 3の責任分離明確化(Issue重複作成防止)、test-spec-writerへのMUST NOT DO追加
v2.9ドキュメント更新Issue自動作成
v2.8Sub-issue登録をGraphQL APIに変更
v2.7Sub-issue連携の自動化
v2.6既存システム影響分析の追加
v2.5ASCII自動検証の追加
v2.4ドキュメント計画フェーズ追加
v2.3画面設計書からASCII禁止
v2.2フロントエンド設計書必須化

More Design skills

brandkit logo
Design

brandkit

Premium brand-kit image generation for high-end identity systems, logo concepts, and visual-world presentations.

92.7K 345.8K
View

Premium website design-to-code skill that generates visual references first, then builds faithful frontend implementations.

92.7K 341.7K
View

Premium frontend image direction for landing pages and marketing sites, generating one distinct horizontal image per section.

92.7K 337.8K
View

Premium mobile app screen concepts and flows with clean hierarchy, strong imagery, and distinctive art direction.

92.7K 331.8K
View

Emil Kowalski's philosophy on UI polish, component design, and the invisible details that make software feel good.

43.5K 323.4K
View

Frontend design and iteration for production-grade interfaces, from concept to ship.

76.8K 313.3K
View

Reverse-engineer design tokens from public websites into starter token files for your project.

232 129.9K
View
Animate logo
Design

Animate

Builds an animation from scratch by making the decisions in the order that determines whether it feels right.

43.5K 117.9K
View

Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.

179.7K 114.2K
View

Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.

179.7K 100.1K
View

Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.

179.7K 89.5K
View

Design AI tools

Maze Guru logo
Images

Maze Guru

Chat-to-edit AI studio for product photos, portraits, branding, and video.

Freemium
View
R
Design

RoomGPT

Generate your dream room in seconds.

Paid
View

Redesign your interior in seconds using AI

Paid
View
Reroom logo
Design

Reroom

Transform rooms with AI-generated designs.

Freemium
View
Jife logo
Design

Jife

Transform Your Space with AI-Powered Japanese Interior Designs by Jife

Paid
View
Visily logo
Design

Visily

AI-powered wireframes for non-designers.

Free
View

Revolutionize Property Viewing with AI-Generated Floor Plans and Virtual Tours

Paid
View
Archsynth logo
Design

Archsynth

Transform sketches into stunning architectural renders with AI.

Paid
View