create-ai-project 1.18.3 → 1.18.5

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.
@@ -92,6 +92,7 @@ For DesignDoc, additionally verify:
92
92
  - Technical information verification: When sources exist, verify with WebSearch for latest information and validate claim validity
93
93
  - Failure scenario review: Identify failure scenarios across normal usage, high load, and external failures; specify which design element becomes the bottleneck
94
94
  - Code inspection evidence review: Verify inspected files are relevant to design scope; flag if key related files are missing
95
+ - Dependency realizability check: For each dependency the Design Doc's Existing Codebase Analysis section describes as "existing", verify its definition exists in the codebase using Grep/Glob. Not found in codebase and no authoritative external source documented → `critical` issue (category: `feasibility`). Found but definition signature (method names, parameter types, return types) diverges from Design Doc description → `important` issue (category: `consistency`)
95
96
  - **As-is implementation document review**: When code verification results are provided and the document describes existing implementation (not future requirements), verify that code-observable behaviors are stated as facts; speculative language about deterministic behavior → `important` issue
96
97
 
97
98
  **Perspective-specific Mode**:
@@ -244,6 +245,7 @@ Include in output when `prior_context_count > 0`:
244
245
  - [ ] Gate 0 structural existence checks pass before quality review
245
246
  - [ ] Design decision rationales verified against identified standards/patterns
246
247
  - [ ] Code inspection evidence covers files relevant to design scope
248
+ - [ ] Dependencies described as "existing" verified against codebase (Grep/Glob)
247
249
  - [ ] Field propagation map present when fields cross component boundaries
248
250
 
249
251
  ## Review Criteria (for Comprehensive Mode)
@@ -59,9 +59,17 @@ Must be performed before Design Doc creation:
59
59
  - Similar component is technical debt → Create ADR improvement proposal before implementation
60
60
  - No similar component → Proceed with new implementation
61
61
 
62
- 4. **Include in Design Doc**
62
+ 4. **Dependency Existence Verification**
63
+ - For each component the design assumes already exists, search for its definition in the codebase using Grep/Glob
64
+ - Typical targets include: components, custom hooks, Context definitions, store/state definitions, API endpoints, type definitions, utility functions
65
+ - If found in codebase: record file path and definition location
66
+ - If found outside codebase (external API, separate repository, generated artifact): record the authoritative source and mark as "external dependency"
67
+ - If not found anywhere: mark as "requires new creation" in the Design Doc and reflect in implementation order dependencies
68
+
69
+ 5. **Include in Design Doc**
63
70
  - Always include investigation results in "## Existing Codebase Analysis" section
64
71
  - Clearly document similar component search results (found components or "none")
72
+ - Include dependency existence verification results (verified existing / requires new creation)
65
73
  - Record adopted decision (use existing/improvement proposal/new implementation) and rationale
66
74
 
67
75
  ### Integration Point Analysis【Important】
@@ -73,12 +73,20 @@ Must be performed before Design Doc creation:
73
73
  - Similar functionality is technical debt → Create ADR improvement proposal before implementation
74
74
  - No similar functionality → Proceed with new implementation
75
75
 
76
- 4. **Include in Design Doc**
76
+ 4. **Dependency Existence Verification**
77
+ - For each component the design assumes already exists, search for its definition in the codebase using Grep/Glob
78
+ - Typical targets include: interfaces, classes, repositories, service methods, API endpoints, DB tables/columns, configuration keys, enum values, type definitions
79
+ - If found in codebase: record file path and definition location
80
+ - If found outside codebase (external API, separate repository, generated artifact): record the authoritative source and mark as "external dependency"
81
+ - If not found anywhere: mark as "requires new creation" in the Design Doc and reflect in implementation order dependencies
82
+
83
+ 5. **Include in Design Doc**
77
84
  - Always include investigation results in "## Existing Codebase Analysis" section
78
85
  - Clearly document similar functionality search results (found implementations or "none")
86
+ - Include dependency existence verification results (verified existing / requires new creation)
79
87
  - Record adopted decision (use existing/improvement proposal/new implementation) and rationale
80
88
 
81
- 5. **Code Inspection Evidence**
89
+ 6. **Code Inspection Evidence**
82
90
  - Record all inspected files and key functions in "Code Inspection Evidence" section of Design Doc
83
91
  - Each entry must state relevance (similar functionality / integration point / pattern reference)
84
92
 
@@ -92,6 +92,7 @@ DesignDocの場合、追加で以下を確認:
92
92
  - 技術情報検証:出典がある場合はWebSearchで最新情報を確認、主張の妥当性を検証
93
93
  - 失敗シナリオ検証:正常系・高負荷・外部障害の失敗シナリオを特定し、どの設計要素がボトルネックになるか指摘
94
94
  - コード調査エビデンス検証:調査ファイルが設計スコープに関連するか確認、主要な関連ファイルの漏れを指摘
95
+ - 依存先の実在性検証:Design Docの「既存コードベース分析」セクションが「既存」と記述する依存先について、Grep/Globでコードベース内の定義を確認。コードベースに見つからず公式の外部出典の記載もない → `critical`(カテゴリ: `feasibility`)。存在するが定義のシグネチャ(メソッド名、パラメータ型、戻り値型)がDesign Docの記述と乖離 → `important`(カテゴリ: `consistency`)
95
96
  - **既存実装ドキュメント検証**: コード検証結果が提供され、ドキュメントが既存実装を記述している場合(将来の要件ではなく)、コードから観察可能な振る舞いが事実として記述されていることを検証する。確定的な振る舞いに対する推測的な表現 → `important`
96
97
 
97
98
  **観点特化モード**:
@@ -244,6 +245,7 @@ DesignDocの場合、追加で以下を確認:
244
245
  - [ ] Gate 0の存在チェックが品質レビュー前に通過していること
245
246
  - [ ] 設計判断の根拠が特定された基準/パターンに照合されていること
246
247
  - [ ] コード調査エビデンスが設計スコープに関連するファイルを網羅していること
248
+ - [ ] 「既存」と記述された依存先がコードベースに対して検証されていること(Grep/Glob)
247
249
  - [ ] フィールドが境界を越える場合にフィールド伝播マップが存在すること
248
250
 
249
251
  ## レビュー基準(総合モード用)
@@ -69,9 +69,17 @@ Design Doc作成前に必ず実施:
69
69
  - 類似コンポーネントが技術的負債 → ADRで改善提案を作成してから実装
70
70
  - 類似コンポーネントなし → 新規実装を進める
71
71
 
72
- 4. **Design Docへの記載**
72
+ 4. **依存先の存在検証**
73
+ - 設計が「既存」と想定するコンポーネントについて、Grep/Globでコードベース内の定義を検索
74
+ - 典型的な対象: コンポーネント、カスタムフック、Context定義、ストア/状態定義、APIエンドポイント、型定義、ユーティリティ関数
75
+ - コードベースに存在 → ファイルパスと定義箇所を記録
76
+ - コードベース外に存在(外部API、別リポジトリ、生成物など) → 公式の出典を記録し「外部依存」としてマーク
77
+ - どこにも見つからない → Design Docで「新規作成が必要」とマークし、実装順序の依存関係に反映
78
+
79
+ 5. **Design Docへの記載**
73
80
  - 「## 既存コードベース分析」セクションに調査結果を必ず記載
74
81
  - 類似コンポーネントの検索結果(発見したコンポーネント、または「なし」)を明記
82
+ - 依存先の存在検証結果(既存確認済み / 新規作成が必要)を記載
75
83
  - 採用した判断(既存使用/改善提案/新規実装)とその根拠を記録
76
84
 
77
85
  ### 統合ポイント分析【重要】
@@ -73,12 +73,20 @@ Design Doc作成前に必ず実施:
73
73
  - 類似機能が技術的負債 → ADRで改善提案を作成してから実装
74
74
  - 類似機能なし → 新規実装を進める
75
75
 
76
- 4. **Design Docへの記載**
76
+ 4. **依存先の存在検証**
77
+ - 設計が「既存」と想定するコンポーネントについて、Grep/Globでコードベース内の定義を検索
78
+ - 典型的な対象: インターフェース、クラス、リポジトリ、サービスメソッド、APIエンドポイント、DBテーブル/カラム、設定キー、enum値、型定義
79
+ - コードベースに存在 → ファイルパスと定義箇所を記録
80
+ - コードベース外に存在(外部API、別リポジトリ、生成物など) → 公式の出典を記録し「外部依存」としてマーク
81
+ - どこにも見つからない → Design Docで「新規作成が必要」とマークし、実装順序の依存関係に反映
82
+
83
+ 5. **Design Docへの記載**
77
84
  - 「## 既存コードベース分析」セクションに調査結果を必ず記載
78
85
  - 類似機能の検索結果(発見した実装、または「なし」)を明記
86
+ - 依存先の存在検証結果(既存確認済み / 新規作成が必要)を記載
79
87
  - 採用した判断(既存使用/改善提案/新規実装)とその根拠を記録
80
88
 
81
- 5. **コード調査エビデンス**
89
+ 6. **コード調査エビデンス**
82
90
  - 調査したすべてのファイルと主要関数をDesign Docの「コード調査エビデンス」セクションに記録
83
91
  - 各エントリの関連性(類似機能 / 統合点 / パターン参照)を明記
84
92
 
@@ -35,7 +35,8 @@ Analyze task file existence state and determine the action required:
35
35
  |-------|----------|-------------|
36
36
  | Tasks exist | .md files in tasks/ directory | User's execution instruction serves as batch approval → Enter autonomous execution immediately |
37
37
  | No tasks + plan exists | Plan exists but no task files | Confirm with user → run task-decomposer |
38
- | Neither exists | No plan or task files | Error: Prerequisites not met |
38
+ | Neither exists + Design Doc exists | No plan or task files, but docs/design/*.md exists | Invoke work-planner to create work plan from Design Doc, then proceed to task decomposition |
39
+ | Neither exists | No plan, no task files, no Design Doc | Report missing prerequisites to user and stop |
39
40
 
40
41
  ## Task Decomposition Phase (Conditional)
41
42
 
@@ -42,7 +42,8 @@ Analyze task file existence state and determine the action required:
42
42
  |-------|----------|-------------|
43
43
  | Tasks exist | .md files in tasks/ directory | User's execution instruction serves as batch approval → Enter autonomous execution immediately |
44
44
  | No tasks + plan exists | Plan exists but no task files | Confirm with user → run task-decomposer |
45
- | Neither exists | No plan or task files | Error: Prerequisites not met |
45
+ | Neither exists + Design Doc exists | No plan or task files, but docs/design/*.md exists | Invoke work-planner to create work plan from Design Doc, then proceed to task decomposition |
46
+ | Neither exists | No plan, no task files, no Design Doc | Report missing prerequisites to user and stop |
46
47
 
47
48
  ## Task Decomposition Phase (Conditional)
48
49
 
@@ -44,7 +44,7 @@ Invoke acceptance-test-generator using Agent tool:
44
44
  Invoke work-planner using Agent tool:
45
45
  - `subagent_type`: "work-planner"
46
46
  - `description`: "Work plan creation"
47
- - `prompt`: "Create work plan from Design Doc at [path]. Integration test file: [path from step 2]. E2E test file: [path from step 2]. Integration tests are created simultaneously with each phase implementation, E2E tests are executed only in final phase."
47
+ - `prompt`: "Create work plan from Design Doc at [path]. Integration test file: [integration test path from step 2]. E2E test file: [E2E test path from step 2]. Integration tests are created simultaneously with each phase implementation, E2E tests are executed only in final phase."
48
48
 
49
49
  Interact with user to complete plan and obtain approval for plan content. Clarify specific implementation steps and risks.
50
50
 
@@ -87,7 +87,7 @@ After all task cycles finish, invoke security-reviewer before the completion rep
87
87
  - `blocked` → Escalate to user
88
88
 
89
89
  ### Test Information Communication
90
- After acceptance-test-generator execution, when calling work-planner, communicate:
90
+ After acceptance-test-generator execution, when invoking work-planner (subagent_type: "work-planner"), communicate:
91
91
  - Generated integration test file path
92
92
  - Generated E2E test file path
93
93
  - Explicit note that integration tests run with implementation, E2E tests run after all implementations
@@ -42,8 +42,15 @@ Follow subagents-orchestration-guide skill strictly and create work plan with th
42
42
  - Pass generation results to next process according to subagents-orchestration-guide skill coordination specification
43
43
 
44
44
  3. **Work Plan Creation**
45
- - Create work plan with work-planner
46
- - Utilize deliverables from previous process according to subagents-orchestration-guide skill coordination specification
45
+ Invoke work-planner using Agent tool:
46
+ - `subagent_type`: "work-planner"
47
+ - `description`: "Work plan creation"
48
+ - If test skeletons were generated in Step 2:
49
+ `prompt`: "Create work plan from Design Doc at [path]. Integration test file: [integration test path from step 2]. E2E test file: [E2E test path from step 2]. Integration tests are created simultaneously with each phase implementation, E2E tests are executed only in final phase."
50
+ - If test skeletons were not generated:
51
+ `prompt`: "Create work plan from Design Doc at [path]."
52
+
53
+ - Follow subagents-orchestration-guide Prompt Construction Rule for additional prompt parameters
47
54
  - Interact with user to complete plan and obtain approval for plan content
48
55
 
49
56
  Create a work plan from the selected design document, clarifying specific implementation steps and risks.
@@ -35,7 +35,8 @@ description: 分解済みタスクを自律実行モードで実装
35
35
  |------|---------|--------------|
36
36
  | タスク存在 | tasks/ディレクトリに.mdファイルあり | ユーザーの実行指示をバッチ承認として自律実行へ移行 |
37
37
  | タスクなし+計画書あり | 計画書は存在するがタスクファイルなし | ユーザーに確認 → task-decomposer実行 |
38
- | 両方なし | 計画書もタスクファイルもなし | エラー:実行条件を満たさない |
38
+ | 両方なし+Design Docあり | 計画書・タスクファイルなし、docs/design/*.mdあり | work-plannerでDesign Docから作業計画書を作成し、タスク分解へ進む |
39
+ | 両方なし | 計画書・タスクファイル・Design Docすべてなし | 前提条件未達成をユーザーに報告して停止 |
39
40
 
40
41
  ## タスク分解フェーズ(条件付き実行)
41
42
 
@@ -42,7 +42,8 @@ description: フロントエンド実装を自律実行モードで実行
42
42
  |------|------|--------------|
43
43
  | タスク存在 | tasks/ディレクトリに.mdファイルあり | ユーザーの実行指示をバッチ承認として自律実行へ移行 |
44
44
  | タスクなし+計画あり | 計画書は存在するがタスクファイルなし | ユーザー確認 → task-decomposer実行 |
45
- | どちらもなし | 計画書もタスクファイルもなし | エラー: 前提条件未達成 |
45
+ | どちらもなし+Design Docあり | 計画書・タスクファイルなし、docs/design/*.mdあり | work-plannerでDesign Docから作業計画書を作成し、タスク分解へ進む |
46
+ | どちらもなし | 計画書・タスクファイル・Design Docすべてなし | 前提条件未達成をユーザーに報告して停止 |
46
47
 
47
48
  ## タスク分解フェーズ(条件付き)
48
49
 
@@ -44,7 +44,7 @@ Agentツールで**acceptance-test-generator**を呼び出す:
44
44
  Agentツールで**work-planner**を呼び出す:
45
45
  - `subagent_type`: "work-planner"
46
46
  - `description`: "作業計画書作成"
47
- - `prompt`: "[パス]のDesign Docから作業計画を作成。統合テストファイル: [step 2からのパス]。E2Eテストファイル: [step 2からのパス]。統合テストは各フェーズ実装と同時に作成、E2Eテストは最終フェーズでのみ実行。"
47
+ - `prompt`: "[パス]のDesign Docから作業計画を作成。統合テストファイル: [ステップ2の統合テストパス]。E2Eテストファイル: [ステップ2のE2Eテストパス]。統合テストは各フェーズ実装と同時に作成、E2Eテストは最終フェーズでのみ実行。"
48
48
 
49
49
  ユーザーと対話して計画を完成させ、計画内容の承認を得る。具体的な実装ステップとリスクを明確化。
50
50
 
@@ -87,7 +87,7 @@ subagents-orchestration-guideスキルの「自律実行中のタスク管理」
87
87
  - `blocked` → ユーザーにエスカレーション
88
88
 
89
89
  ### テスト情報の伝達
90
- acceptance-test-generator実行後、work-planner呼び出し時には以下を伝達:
90
+ acceptance-test-generator実行後、work-planner(subagent_type: "work-planner")呼び出し時には以下を伝達:
91
91
  - 生成された統合テストファイルパス
92
92
  - 生成されたE2Eテストファイルパス
93
93
  - 統合テストは実装と同時、E2Eは全実装後に実行する旨の明示
@@ -42,8 +42,15 @@ description: 設計書から作業計画書を作成し計画承認を取得
42
42
  - 生成結果を subagents-orchestration-guideスキル の連携仕様に従って次工程に引き継ぐ
43
43
 
44
44
  3. **作業計画書の作成**
45
- - work-planner で作業計画書を作成
46
- - 前工程の成果物を subagents-orchestration-guideスキル の連携仕様に従って活用
45
+ Agentツールでwork-plannerを呼び出す:
46
+ - `subagent_type`: "work-planner"
47
+ - `description`: "作業計画書作成"
48
+ - ステップ2でテストスケルトンを生成した場合:
49
+ `prompt`: "[パス]のDesign Docから作業計画を作成。統合テストファイル: [ステップ2の統合テストパス]。E2Eテストファイル: [ステップ2のE2Eテストパス]。統合テストは各フェーズ実装と同時に作成、E2Eテストは最終フェーズでのみ実行。"
50
+ - テストスケルトンを生成しなかった場合:
51
+ `prompt`: "[パス]のDesign Docから作業計画を作成。"
52
+
53
+ - subagents-orchestration-guideのプロンプト構成ルールに従い追加パラメータを設定
47
54
  - ユーザーと対話して計画を完成させ、計画内容の承認を得る
48
55
 
49
56
  選択された設計書から作業計画書を作成し、実装の具体的なステップとリスクを明確にします。
@@ -151,7 +151,7 @@ According to scale determination:
151
151
 
152
152
  ### Small Scale (1-2 Files) - 2 Steps
153
153
 
154
- 1. Create simplified plan **[Stop: Batch approval]**
154
+ 1. work-planner Simplified work plan creation **[Stop: Batch approval]**
155
155
  2. Direct implementation → Completion report
156
156
 
157
157
  ## Cross-Layer Orchestration
@@ -30,7 +30,7 @@ skills:
30
30
  - "Red-Green-Refactor Process (Test-First Development)"
31
31
  - "Test Design Principles"
32
32
  - "Test Granularity Principles"
33
- - "Security Principles (Secure Defaults, Input and Output Boundaries, Access Control, Knowledge Cutoff Supplement)"
33
+ - "Security Principles"
34
34
 
35
35
  typescript-rules:
36
36
  skill: "typescript-rules"
@@ -230,6 +230,7 @@ skills:
230
230
  - "Test Implementation Conventions"
231
231
  - "Mock Type Safety Enforcement"
232
232
  - "Basic React Testing Library Example"
233
+ - "Test Design Patterns"
233
234
 
234
235
  frontend-technical-spec:
235
236
  skill: "frontend-technical-spec"
@@ -144,7 +144,7 @@ graph TD
144
144
 
145
145
  ### 小規模(1-2ファイル) - 2ステップ
146
146
 
147
- 1. 簡易計画書作成 **[停止: 一括承認]**
147
+ 1. work-planner → 簡易作業計画書を作成 **[停止: 一括承認]**
148
148
  2. 直接実装 → 完了報告
149
149
 
150
150
  ## レイヤー横断オーケストレーション
@@ -212,14 +212,13 @@ skills:
212
212
  - "ADR-0002 Co-location原則"
213
213
  - "references/e2e.md - Playwright E2Eパターン"
214
214
  sections:
215
- - "References"
216
215
  - "テストフレームワーク"
217
216
  - "テストの基本方針"
218
217
  - "テストの実装規約"
219
218
  - "モックの型安全性の徹底"
220
219
  - "React Testing Libraryの基本例"
221
220
  - "テスト品質基準"
222
- - "アンチパターン"
221
+ - "テスト設計パターン"
223
222
 
224
223
  frontend-technical-spec:
225
224
  skill: "frontend-technical-spec"
package/CHANGELOG.md CHANGED
@@ -5,6 +5,32 @@ 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.18.5] - 2026-03-29
9
+
10
+ ### Fixed
11
+
12
+ #### Dependency Existence Verification in Design Workflow
13
+ Design documents could describe components as "existing" without verification, causing implementation failures when those dependencies turned out to be missing or mismatched.
14
+
15
+ - `technical-designer` / `technical-designer-frontend`: Add **Dependency Existence Verification** step to Existing Code Investigation — each assumed dependency is now verified via Grep/Glob before design proceeds, with three-way classification (found in codebase / external dependency / requires new creation)
16
+ - `document-reviewer`: Add **dependency realizability check** to Gate 1 — cross-checks claimed "existing" dependencies against the codebase during review. Missing dependency with no external source → `critical` (feasibility). Signature mismatch (method names, parameter types, return types) → `important` (consistency)
17
+
18
+ ## [1.18.4] - 2026-03-28
19
+
20
+ ### Fixed
21
+
22
+ #### Work-Planner Invocation Clarity
23
+ - `subagents-orchestration-guide`: Small Scale flow now explicitly names work-planner agent
24
+ - `plan` command: Step 3 rewritten with explicit `subagent_type` and conditional prompt branching (with/without test skeletons)
25
+ - `front-plan` command: Differentiate placeholder names (`[integration test path]` / `[E2E test path]` instead of identical `[path from step 2]`)
26
+ - `build` / `front-build` commands: Split "Neither exists" state into Design Doc present (invoke work-planner) vs absent (report and stop)
27
+ - `implement` command: Add explicit `subagent_type: "work-planner"` to test information communication section
28
+
29
+ #### Skills Index Sync
30
+ - `skills-index.yaml` (en): Remove stale parenthetical from coding-standards Security Principles section name
31
+ - `skills-index.yaml` (en): Add missing `Test Design Patterns` section to frontend-typescript-testing
32
+ - `skills-index.yaml` (ja): Remove stale `References` and `アンチパターン` sections from frontend-typescript-testing, add missing `テスト設計パターン`
33
+
8
34
  ## [1.18.3] - 2026-03-26
9
35
 
10
36
  ### Changed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-ai-project",
3
- "version": "1.18.3",
3
+ "version": "1.18.5",
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": [