create-ai-project 1.20.0 → 1.20.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/agents-en/codebase-analyzer.md +2 -2
- package/.claude/agents-en/document-reviewer.md +12 -4
- package/.claude/agents-en/solver.md +1 -1
- package/.claude/agents-en/task-decomposer.md +16 -0
- package/.claude/agents-en/technical-designer-frontend.md +11 -2
- package/.claude/agents-en/technical-designer.md +11 -2
- package/.claude/agents-en/ui-spec-designer.md +1 -1
- package/.claude/agents-en/verifier.md +1 -1
- package/.claude/agents-en/work-planner.md +12 -5
- package/.claude/agents-ja/document-reviewer.md +12 -4
- package/.claude/agents-ja/solver.md +1 -1
- package/.claude/agents-ja/task-decomposer.md +17 -1
- package/.claude/agents-ja/task-executor.md +1 -1
- package/.claude/agents-ja/technical-designer-frontend.md +11 -2
- package/.claude/agents-ja/technical-designer.md +12 -3
- package/.claude/agents-ja/ui-spec-designer.md +1 -1
- package/.claude/agents-ja/verifier.md +1 -1
- package/.claude/agents-ja/work-planner.md +14 -7
- package/.claude/commands-en/update-doc.md +4 -4
- package/.claude/commands-ja/update-doc.md +4 -4
- package/.claude/skills-en/documentation-criteria/SKILL.md +21 -4
- package/.claude/skills-en/documentation-criteria/references/design-template.md +20 -0
- package/.claude/skills-en/documentation-criteria/references/plan-template.md +68 -17
- package/.claude/skills-en/documentation-criteria/references/task-template.md +8 -1
- package/.claude/skills-en/subagents-orchestration-guide/SKILL.md +57 -17
- package/.claude/skills-en/task-analyzer/references/skills-index.yaml +3 -2
- package/.claude/skills-ja/documentation-criteria/SKILL.md +24 -1
- package/.claude/skills-ja/documentation-criteria/references/design-template.md +20 -0
- package/.claude/skills-ja/documentation-criteria/references/plan-template.md +68 -17
- package/.claude/skills-ja/documentation-criteria/references/task-template.md +8 -1
- package/.claude/skills-ja/implementation-approach/SKILL.md +1 -1
- package/.claude/skills-ja/subagents-orchestration-guide/SKILL.md +59 -17
- package/.claude/skills-ja/task-analyzer/references/skills-index.yaml +4 -3
- package/CHANGELOG.md +35 -0
- package/package.json +1 -1
|
@@ -16,12 +16,9 @@ description: サブエージェントのタスク分担と連携を調整。規
|
|
|
16
16
|
- フロー実行中: 規模判定に基づくフローを厳守
|
|
17
17
|
- 各フェーズ: 適切なサブエージェントに委譲
|
|
18
18
|
- 停止ポイント: 必ずユーザー承認を待つ
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
-
|
|
22
|
-
- 自分で分析や設計を考え始める
|
|
23
|
-
- 「まず調べてみます」と言って作業を開始する
|
|
24
|
-
- requirement-analyzerを後回しにする
|
|
19
|
+
- **調査**: すべての調査はrequirement-analyzerまたはcodebase-analyzerに委譲(Grep/Glob/Readはサブエージェント内部のツール)
|
|
20
|
+
- **分析・設計**: 該当するサブエージェントに委譲
|
|
21
|
+
- **初動**: ユーザー要件はrequirement-analyzerに渡してから他のステップへ進む
|
|
25
22
|
|
|
26
23
|
**初動アクション規則**: ユーザー要件を正確に分析するため、requirement-analyzerに直接渡し、その分析結果に基づいてワークフローを決定する。
|
|
27
24
|
|
|
@@ -34,6 +31,8 @@ graph TD
|
|
|
34
31
|
Scale --> Flow[規模に応じたフロー実行]
|
|
35
32
|
```
|
|
36
33
|
|
|
34
|
+
**フロー実行中は規模判定表に従って次のサブエージェントを決定する**
|
|
35
|
+
|
|
37
36
|
### フロー実行中の要件変更検知
|
|
38
37
|
|
|
39
38
|
**フロー実行中**にユーザーレスポンスで以下を検知したら、フローを停止してrequirement-analyzerへ:
|
|
@@ -66,6 +65,36 @@ graph TD
|
|
|
66
65
|
|
|
67
66
|
## オーケストレーション原則
|
|
68
67
|
|
|
68
|
+
### 委譲の境界: What vs How
|
|
69
|
+
|
|
70
|
+
「何を達成するか」「どこで作業するか」を渡す。各サブエージェントは「どう実行するか」を自律的に決定する。
|
|
71
|
+
|
|
72
|
+
**渡す情報**(what/where/制約):
|
|
73
|
+
- タスクファイルパス — executor系(task-executor, task-decomposer)にはタスクファイルパスを渡す。より広いスコープはユーザーの明示的な要求がある場合のみ
|
|
74
|
+
- ディレクトリまたはパッケージスコープ — discovery/review系(codebase-analyzer, code-verifier, security-reviewer, integration-test-reviewer)向け
|
|
75
|
+
- ユーザーまたは設計成果物からの受入条件とハード制約
|
|
76
|
+
|
|
77
|
+
**サブエージェントに委ねる判断**(how):
|
|
78
|
+
- 実行するコマンド(プロジェクト設定やリポジトリの規約からサブエージェントが判断)
|
|
79
|
+
- 実行順序やツールフラグ
|
|
80
|
+
- Executor/fixer系: スコープ内で調査・変更するファイルの選択
|
|
81
|
+
- Review/discovery系: スコープ内で調査するファイルの選択(読み取り専用)
|
|
82
|
+
|
|
83
|
+
| | Bad(howを指定) | Good(whatを指定) |
|
|
84
|
+
|---|---|---|
|
|
85
|
+
| quality-fixer | 「lint → test の順でチェックして」 | 「品質チェックと修正をすべて実行して」 |
|
|
86
|
+
| task-executor | 「ファイルXにハンドラYを追加して」 | 「タスクファイル: docs/plans/tasks/003-feature.md」 |
|
|
87
|
+
|
|
88
|
+
**出力が矛盾した場合の優先順位**:
|
|
89
|
+
1. ユーザー指示(明示的な要求や制約)
|
|
90
|
+
2. タスクファイルと設計成果物(Design Doc, PRD, 作業計画書)
|
|
91
|
+
3. リポジトリの客観的状態(git status、ファイルシステム、プロジェクト設定)
|
|
92
|
+
4. サブエージェントの判断
|
|
93
|
+
|
|
94
|
+
サブエージェント同士の判断が衝突した場合、またはサブエージェントの出力が期待と異なる場合、上記の優先順位を適用する。リポジトリの客観的状態(3)で検証し、1・2と整合する出力に従う。矛盾がある場合はユーザー指示、次いで設計成果物に従う。
|
|
95
|
+
|
|
96
|
+
サブエージェントがリポジトリの状態や成果物から実行方法を判断できない場合、blockedステータスでエスカレーションする。その詳細をユーザーに伝える。
|
|
97
|
+
|
|
69
98
|
### 責務分離を意識した振り分け
|
|
70
99
|
|
|
71
100
|
**task-executorの責務**:
|
|
@@ -105,16 +134,25 @@ graph TD
|
|
|
105
134
|
## 構造化レスポンス仕様
|
|
106
135
|
|
|
107
136
|
サブエージェントはJSON形式で応答。オーケストレーター判断に必要なフィールド:
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
137
|
+
|
|
138
|
+
| Agent | 主要フィールド | 判断ロジック |
|
|
139
|
+
|-------|---------------|-------------|
|
|
140
|
+
| requirement-analyzer | scale, confidence, adrRequired, crossLayerScope, scopeDependencies, questions | scaleでフローを選択。adrRequiredでADRステップ要否を判断 |
|
|
141
|
+
| codebase-analyzer | analysisScope.categoriesDetected, dataModel.detected, focusAreas[], existingElements count, limitations | focusAreasをtechnical-designerにコンテキストとして渡す |
|
|
142
|
+
| code-verifier | consistencyScore, discrepancies[], reverseCoverage (dataOperationsInCode, testBoundariesSectionPresent) | discrepanciesをdocument-reviewerに連携 |
|
|
143
|
+
| task-executor | status (escalation_needed/completed), escalation_type, testsAdded, requiresTestReview | escalation_needed時: escalation_type別に対応(design_compliance_violation, similar_function_found, similar_component_found, investigation_target_not_found, out_of_scope_file) |
|
|
144
|
+
| quality-fixer | status (approved/blocked), reason, blockingIssues[], missingPrerequisites[] | blocked時: 下記quality-fixer blockedハンドリング参照 |
|
|
145
|
+
| document-reviewer | approvalReady (true/false) | trueで次ステップへ。falseで修正を依頼 |
|
|
146
|
+
| design-sync | sync_status (synced/conflicts_found) | conflicts_found時: 矛盾をユーザーに提示してから進む |
|
|
147
|
+
| integration-test-reviewer | status (approved/needs_revision/blocked), requiredFixes | needs_revision時: requiredFixesをtask-executorに戻す |
|
|
148
|
+
| security-reviewer | status (approved/approved_with_notes/needs_revision/blocked), findings, notes, requiredFixes | needs_revision時: requiredFixesをtask-executorに戻す |
|
|
149
|
+
| acceptance-test-generator | status, generatedFiles | generatedFilesをwork-plannerに渡す |
|
|
150
|
+
|
|
151
|
+
### quality-fixer blockedハンドリング
|
|
152
|
+
|
|
153
|
+
quality-fixerが `status: "blocked"` を返した場合、`reason`で判別:
|
|
154
|
+
- `"Cannot determine due to unclear specification"` → `blockingIssues[]`で仕様詳細を確認
|
|
155
|
+
- `"Execution prerequisites not met"` → `missingPrerequisites[]`の`resolutionSteps`をユーザーにアクション可能なステップとして提示
|
|
118
156
|
|
|
119
157
|
## 作業計画時の基本フロー
|
|
120
158
|
|
|
@@ -266,6 +304,10 @@ requirement-analyzerが複数レイヤー(backend + frontend)にまたがる
|
|
|
266
304
|
**code-verifierへの入力**: Design Docパス(doc_type: design-doc)。`code_paths`は意図的に未指定 — verifierがドキュメントからコードスコープを独自に発見する。
|
|
267
305
|
**document-reviewerへの入力**: code-verifierのJSON出力を`code_verification`パラメータとして渡す。
|
|
268
306
|
|
|
307
|
+
#### technical-designer → work-planner
|
|
308
|
+
|
|
309
|
+
**work-plannerへの入力**: Design Docパス。work-plannerがDesign Docから検証戦略を抽出し、作業計画書ヘッダーに記載する。
|
|
310
|
+
|
|
269
311
|
#### *1 acceptance-test-generator → work-planner
|
|
270
312
|
|
|
271
313
|
**acceptance-test-generatorへの入力**:
|
|
@@ -291,7 +333,7 @@ requirement-analyzerが複数レイヤー(backend + frontend)にまたがる
|
|
|
291
333
|
- **構造化レスポンス必須**: サブエージェント間の情報伝達はJSON形式
|
|
292
334
|
- **承認管理**: ドキュメント作成→document-reviewer実行→ユーザー承認を得てから次へ進む
|
|
293
335
|
- **フロー確認**: 承認取得後は必ず作業計画フロー(大規模/中規模/小規模)で次のステップを確認
|
|
294
|
-
- **整合性検証**:
|
|
336
|
+
- **整合性検証**: サブエージェントの出力が矛盾した場合、優先順位に従って解決(委譲の境界セクション参照)
|
|
295
337
|
|
|
296
338
|
## 人間との必須対話ポイント
|
|
297
339
|
|
|
@@ -93,7 +93,7 @@ skills:
|
|
|
93
93
|
|
|
94
94
|
documentation-criteria:
|
|
95
95
|
skill: "documentation-criteria"
|
|
96
|
-
tags: [documentation, decision-making, adr, prd, ui-spec, design-doc, planning, process]
|
|
96
|
+
tags: [documentation, decision-making, adr, prd, ui-spec, design-doc, planning, process, verification-strategy]
|
|
97
97
|
typical-use: "実装開始時の規模判定、ドキュメント作成判定、ADR/PRD/Design Doc/作業計画書の作成基準"
|
|
98
98
|
size: medium
|
|
99
99
|
key-references:
|
|
@@ -110,11 +110,12 @@ skills:
|
|
|
110
110
|
- "AI自動化ルール"
|
|
111
111
|
- "図表作成要件"
|
|
112
112
|
- "共通ADRとの関係性"
|
|
113
|
+
- "フェーズ分割基準"
|
|
113
114
|
- "テンプレート"
|
|
114
115
|
|
|
115
116
|
implementation-approach:
|
|
116
117
|
skill: "implementation-approach"
|
|
117
|
-
tags: [architecture, implementation, task-decomposition, strategy-patterns, strangler-pattern, facade-pattern, design, planning,
|
|
118
|
+
tags: [architecture, implementation, task-decomposition, strategy-patterns, strangler-pattern, facade-pattern, design, planning, verification-levels]
|
|
118
119
|
typical-use: "実装戦略の選択、タスク分解、設計判断、大規模変更の計画"
|
|
119
120
|
size: medium
|
|
120
121
|
key-references:
|
|
@@ -124,7 +125,7 @@ skills:
|
|
|
124
125
|
- "Facade Pattern - Gang of Four"
|
|
125
126
|
sections:
|
|
126
127
|
- "メタ認知的戦略選択プロセス"
|
|
127
|
-
- "
|
|
128
|
+
- "検証レベル定義"
|
|
128
129
|
- "統合ポイントの定義"
|
|
129
130
|
- "アンチパターン"
|
|
130
131
|
- "メタ認知的実行のための指針"
|
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,41 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [1.20.2] - 2026-04-03
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- **Delegation Boundary: What vs How** (subagents-orchestration-guide): Orchestrator lacked a definition of what granularity to pass to specialists vs what to let them decide autonomously. Added what/where/constraints vs how separation, Bad/Good comparison table, 4-tier decision precedence for conflict resolution, and escalation rule for undeterminable execution methods
|
|
13
|
+
- **Scope granularity per agent type**: Executor agents receive task file paths by default (broader scope requires explicit user request); discovery/review agents receive directory or package scope with read-only access
|
|
14
|
+
- **quality-fixer blocked handling subsection** (Structured Response Specifications): Moved quality-fixer's multi-branch decision logic from an overloaded table cell into a dedicated subsection for scannability
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
|
|
18
|
+
- **Prohibited Actions → positive-form Required Actions**: Negative instructions ("don't investigate directly", "don't skip requirement-analyzer") caused Pink Elephant Problem. Converted to affirmative delegation instructions ("Delegate all investigation to requirement-analyzer or codebase-analyzer")
|
|
19
|
+
- **Structured Response Specifications table format**: Bullet list with mixed-length entries replaced with Agent / Key Fields / Decision Logic table. Each agent's response-to-action mapping is now explicit
|
|
20
|
+
- **Consistency verification constraint**: Vague "prioritize these guidelines" replaced with reference to Decision precedence in the Delegation Boundary section
|
|
21
|
+
- **Remaining negative-form instructions cleaned**: "no modification" → "read-only access", "instead of guessing" removed, "higher-precedence source" → explicit "user instructions first, then design artifacts"
|
|
22
|
+
- **Japanese version: missing operational line added**: "フロー実行中は規模判定表に従って次のサブエージェントを決定する" was present in English but missing in Japanese
|
|
23
|
+
|
|
24
|
+
## [1.20.1] - 2026-04-02
|
|
25
|
+
|
|
26
|
+
### Added
|
|
27
|
+
|
|
28
|
+
- **Verification Strategy flow**: Design Doc → Work Plan → Task pipeline now propagates how correctness is proven. Design template includes Correctness Proof Method and Early Verification Point sections. Work Plan template carries the strategy summary. Task template includes Operation Verification Methods derived from the strategy.
|
|
29
|
+
- **Adaptive Phase Division Criteria**: Work Plan phase structure now adapts to implementation approach — vertical slice produces value-unit phases, horizontal slice retains Foundation → Core → Integration → QA, hybrid uses vertical as base with horizontal foundation phases. Plan template provides Option A/B with explicit instruction to delete the unused option.
|
|
30
|
+
- **Verification Strategy review gates**: document-reviewer Gate 0 checks existence; Gate 1 checks quality (measurability, risk coverage, early verification concreteness, timing alignment with approach)
|
|
31
|
+
- **Verification Strategy propagation in task-decomposer**: New section derives per-task Operation Verification Methods from the work plan's strategy, with concrete instantiation rules for early verification and per-task verification
|
|
32
|
+
- **technical-designer → work-planner bridging**: Orchestration guide documents Verification Strategy handoff between design and planning phases
|
|
33
|
+
|
|
34
|
+
### Changed
|
|
35
|
+
|
|
36
|
+
- **Agent cross-references removed**: Agent definitions no longer reference other agents by name. `requirement-analyzer` → `requirement analysis`, `code-verifier` → `code verification`, `codebase-analyzer` → `codebase analysis phase`, etc. Orchestration layers own routing decisions.
|
|
37
|
+
- **Acceptance criteria format**: technical-designer and technical-designer-frontend checklist item updated from "concrete trigger, action, and expected result" to "user-observable behaviors, integration/E2E oriented, CI-isolatable"
|
|
38
|
+
- **testSkeletons input contract**: work-planner now describes format expectations (comment-based skeletons, not implemented tests) instead of naming the producer agent
|
|
39
|
+
- **Command self-references removed**: update-doc no longer redirects to other commands; out-of-scope items stated without naming alternatives
|
|
40
|
+
- **Japanese terminology unified**: `確認レベル` (confirmation level) → `検証レベル` (verification level) across all agents, skills, and skills-index to match English `Verification Level Definitions`
|
|
41
|
+
- **skills-index.yaml updated**: `confirmation-levels` tag → `verification-levels`; `verification-strategy` tag and `Phase Division Criteria` section added to documentation-criteria
|
|
42
|
+
|
|
8
43
|
## [1.20.0] - 2026-04-01
|
|
9
44
|
|
|
10
45
|
### Added
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-ai-project",
|
|
3
|
-
"version": "1.20.
|
|
3
|
+
"version": "1.20.2",
|
|
4
4
|
"packageManager": "npm@10.8.2",
|
|
5
5
|
"description": "TypeScript boilerplate with skills and sub-agents for Claude Code. Prevents context exhaustion through role-based task splitting.",
|
|
6
6
|
"keywords": [
|