Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 18 additions & 6 deletions docs/guides/en/sub-agents.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,14 +180,16 @@ According to scale determination:
2. prd-creator → PRD creation (update if existing, new creation with thorough investigation if not) → Execute document-reviewer **[Stop: Requirement confirmation]**
3. technical-designer → ADR creation (if needed) → Execute document-reviewer **[Stop: Technical direction decision]**
4. technical-designer → Design Doc creation → Execute document-reviewer **[Stop: Design content confirmation]**
5. acceptance-test-generator → Integration and E2E test skeleton generation (from Design Doc ACs, separately)
5. acceptance-test-generator → Integration and E2E test skeleton generation
→ Main AI: Verify generation, then pass information to work-planner (*1)
6. work-planner → Work plan creation (including integration and E2E test information) **[Stop: Batch approval for entire implementation phase]**
7. **Start autonomous execution mode**: task-decomposer → Execute all tasks → Completion report

### Medium Scale (3-5 Files)
1. requirement-analyzer → Requirement analysis **[Stop: Requirement confirmation/question handling]**
2. technical-designer → Design Doc creation → Execute document-reviewer **[Stop: Technical direction decision]**
3. acceptance-test-generator → Integration and E2E test skeleton generation (from Design Doc ACs, separately)
3. acceptance-test-generator → Integration and E2E test skeleton generation
→ Main AI: Verify generation, then pass information to work-planner (*1)
4. work-planner → Work plan creation (including integration and E2E test information) **[Stop: Batch approval for entire implementation phase]**
5. **Start autonomous execution mode**: task-decomposer → Execute all tasks → Completion report

Expand Down Expand Up @@ -260,13 +262,23 @@ Stop autonomous execution and escalate to user in the following cases:
2. **Information Bridging**: Data conversion and transmission between subagents
- Convert each subagent's output to next subagent's input format
- **Always pass deliverables from previous process to next agent**
- After acceptance-test-generator execution, pass to work-planner:
"Integration test file: [path] → Create and execute simultaneously with each phase implementation
E2E test file: [path] → Execute only in final phase
Important: Integration tests with implementation, E2E after all implementations"
- Extract necessary information from structured responses
- Compose commit messages from changeSummary → **Execute git commit with Bash**
- Explicitly integrate initial and additional requirements when requirements change

#### *1 acceptance-test-generator → work-planner

**Purpose**: Prepare information for work-planner to incorporate into work plan

**Main AI verification items**:
- Verify integration test file path retrieval and existence
- Verify E2E test file path retrieval and existence

**Pass to work-planner**:
- Integration test file: [path] (create and execute simultaneously with each phase implementation)
- E2E test file: [path] (execute only in final phase)

**On error**: Escalate to user if files are not generated
3. **Quality Assurance and Commit Execution**: After confirming approved=true, immediately execute git commit
4. **Autonomous Execution Mode Management**: Start/stop autonomous execution after approval, escalation decisions
5. **ADR Status Management**: Update ADR status after user decision (Accepted/Rejected)
Expand Down
28 changes: 20 additions & 8 deletions docs/guides/ja/sub-agents.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,15 +162,17 @@ requirement-analyzerは「完全自己完結」の原則に従い、要件変更
2. prd-creator → PRD作成(既存あれば更新、なければ徹底調査で新規作成) → document-reviewer実行 **[停止: 要件確認]**
3. technical-designer → ADR作成(必要な場合) → document-reviewer実行 **[停止: 技術方針決定]**
4. technical-designer → Design Doc作成 → document-reviewer実行 **[停止: 設計内容確認]**
5. acceptance-test-generator → 統合テスト・E2Eテストスケルトン生成(Design DocのACから別々に)
6. work-planner → 作業計画書作成(統合テスト・E2Eテスト情報を含めて) **[停止: 実装フェーズ全体の一括承認]**
5. acceptance-test-generator → 統合テスト・E2Eテストスケルトン生成
→ メインAI: 生成確認後、work-plannerへ情報引き渡し(※1)
6. work-planner → 作業計画書作成(統合テスト・E2Eテスト情報を含む) **[停止: 実装フェーズ全体の一括承認]**
7. **自律実行モード開始**: task-decomposer → 全タスク実行 → 完了報告

### 中規模(3-5ファイル)
1. requirement-analyzer → 要件分析 **[停止: 要件確認・質問事項対応]**
2. technical-designer → Design Doc作成 → document-reviewer実行 **[停止: 技術方針決定]**
3. acceptance-test-generator → 統合テスト・E2Eテストスケルトン生成(Design DocのACから別々に)
4. work-planner → 作業計画書作成(統合テスト・E2Eテスト情報を含めて) **[停止: 実装フェーズ全体の一括承認]**
3. acceptance-test-generator → 統合テスト・E2Eテストスケルトン生成
→ メインAI: 生成確認後、work-plannerへ情報引き渡し(※1)
4. work-planner → 作業計画書作成(統合テスト・E2Eテスト情報を含む) **[停止: 実装フェーズ全体の一括承認]**
5. **自律実行モード開始**: task-decomposer → 全タスク実行 → 完了報告

### 小規模(1-2ファイル)
Expand Down Expand Up @@ -242,13 +244,23 @@ graph TD
2. **情報の橋渡し**: サブエージェント間のデータ変換と伝達
- 各Sub-agentの出力を次のSub-agentの入力形式に変換
- **前工程の成果物を必ず次のエージェントに伝達**
- acceptance-test-generator実行後はwork-plannerに以下を伝達:
「統合テストファイル: [パス] → 各Phase実装時に同時作成・実行
E2Eテストファイル: [パス] → 最終Phaseでのみ実行
重要: 統合テストは実装と同時、E2Eは全実装後」
- 構造化レスポンスから必要な情報を抽出
- changeSummaryからコミットメッセージ構成→**Bashでgit commit実行**
- 要件変更時は初回要件と追加要件を明示的に統合

#### ※1 acceptance-test-generator → work-planner

**目的**: work-plannerが作業計画書に組み込むための情報を準備

**メインAIの確認項目**:
- 統合テストファイルのパス取得・存在確認
- E2Eテストファイルのパス取得・存在確認

**work-plannerへの伝達**:
- 統合テストファイル: [パス](各Phase実装時に同時作成・実行)
- E2Eテストファイル: [パス](最終Phaseでのみ実行)

**異常時**: ファイル未生成の場合はユーザーにエスカレーション
3. **品質保証とコミット実行**: approved=true確認後、即座にgit commit実行
4. **自律実行モード管理**: 承認後の自律実行開始・停止・エスカレーション判断
5. **ADRステータス管理**: ユーザー判断後のADRステータス更新(Accepted/Rejected)
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ai-coding-project-boilerplate",
"version": "1.7.11",
"version": "1.7.12",
"description": "TypeScript project boilerplate optimized for Claude Code development with comprehensive development rules, architecture patterns, and quality assurance tools",
"main": "dist/index.js",
"keywords": [
Expand Down