create-ai-project 1.20.2 → 1.20.4

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.
Files changed (74) hide show
  1. package/.claude/agents-en/acceptance-test-generator.md +3 -2
  2. package/.claude/agents-en/code-reviewer.md +133 -25
  3. package/.claude/agents-en/codebase-analyzer.md +35 -9
  4. package/.claude/agents-en/design-sync.md +5 -6
  5. package/.claude/agents-en/document-reviewer.md +2 -0
  6. package/.claude/agents-en/integration-test-reviewer.md +2 -2
  7. package/.claude/agents-en/prd-creator.md +2 -4
  8. package/.claude/agents-en/quality-fixer-frontend.md +1 -1
  9. package/.claude/agents-en/quality-fixer.md +1 -1
  10. package/.claude/agents-en/requirement-analyzer.md +7 -7
  11. package/.claude/agents-en/scope-discoverer.md +2 -2
  12. package/.claude/agents-en/solver.md +1 -2
  13. package/.claude/agents-en/task-decomposer.md +2 -2
  14. package/.claude/agents-en/task-executor-frontend.md +1 -1
  15. package/.claude/agents-en/task-executor.md +1 -1
  16. package/.claude/agents-en/technical-designer-frontend.md +5 -5
  17. package/.claude/agents-en/technical-designer.md +7 -4
  18. package/.claude/agents-en/ui-spec-designer.md +1 -1
  19. package/.claude/agents-en/work-planner.md +1 -1
  20. package/.claude/agents-ja/acceptance-test-generator.md +3 -2
  21. package/.claude/agents-ja/code-reviewer.md +133 -25
  22. package/.claude/agents-ja/codebase-analyzer.md +35 -9
  23. package/.claude/agents-ja/design-sync.md +5 -5
  24. package/.claude/agents-ja/document-reviewer.md +2 -0
  25. package/.claude/agents-ja/integration-test-reviewer.md +2 -2
  26. package/.claude/agents-ja/prd-creator.md +2 -4
  27. package/.claude/agents-ja/quality-fixer-frontend.md +1 -1
  28. package/.claude/agents-ja/quality-fixer.md +1 -1
  29. package/.claude/agents-ja/requirement-analyzer.md +7 -7
  30. package/.claude/agents-ja/scope-discoverer.md +2 -2
  31. package/.claude/agents-ja/solver.md +1 -2
  32. package/.claude/agents-ja/task-decomposer.md +2 -2
  33. package/.claude/agents-ja/task-executor-frontend.md +1 -1
  34. package/.claude/agents-ja/task-executor.md +1 -1
  35. package/.claude/agents-ja/technical-designer-frontend.md +5 -5
  36. package/.claude/agents-ja/technical-designer.md +7 -4
  37. package/.claude/agents-ja/ui-spec-designer.md +1 -1
  38. package/.claude/agents-ja/work-planner.md +1 -1
  39. package/.claude/commands-en/build.md +17 -8
  40. package/.claude/commands-en/front-build.md +25 -41
  41. package/.claude/commands-en/front-design.md +49 -17
  42. package/.claude/commands-en/front-plan.md +17 -10
  43. package/.claude/commands-en/front-review.md +37 -33
  44. package/.claude/commands-en/review.md +10 -5
  45. package/.claude/commands-ja/build.md +17 -8
  46. package/.claude/commands-ja/front-build.md +25 -41
  47. package/.claude/commands-ja/front-design.md +48 -18
  48. package/.claude/commands-ja/front-plan.md +22 -15
  49. package/.claude/commands-ja/front-review.md +37 -33
  50. package/.claude/commands-ja/review.md +10 -5
  51. package/.claude/skills-en/coding-standards/references/security-checks.md +4 -2
  52. package/.claude/skills-en/documentation-criteria/SKILL.md +8 -28
  53. package/.claude/skills-en/documentation-criteria/references/adr-template.md +5 -1
  54. package/.claude/skills-en/documentation-criteria/references/design-template.md +18 -8
  55. package/.claude/skills-en/documentation-criteria/references/plan-template.md +11 -6
  56. package/.claude/skills-en/documentation-criteria/references/prd-template.md +32 -10
  57. package/.claude/skills-en/documentation-criteria/references/task-template.md +2 -2
  58. package/.claude/skills-en/subagents-orchestration-guide/SKILL.md +21 -38
  59. package/.claude/skills-en/task-analyzer/references/skills-index.yaml +0 -2
  60. package/.claude/skills-ja/coding-standards/references/security-checks.md +4 -2
  61. package/.claude/skills-ja/documentation-criteria/SKILL.md +8 -29
  62. package/.claude/skills-ja/documentation-criteria/references/adr-template.md +5 -1
  63. package/.claude/skills-ja/documentation-criteria/references/design-template.md +18 -2
  64. package/.claude/skills-ja/documentation-criteria/references/plan-template.md +11 -6
  65. package/.claude/skills-ja/documentation-criteria/references/prd-template.md +32 -10
  66. package/.claude/skills-ja/documentation-criteria/references/task-template.md +2 -2
  67. package/.claude/skills-ja/subagents-orchestration-guide/SKILL.md +21 -36
  68. package/.claude/skills-ja/task-analyzer/references/skills-index.yaml +0 -2
  69. package/CHANGELOG.md +57 -0
  70. package/README.ja.md +51 -30
  71. package/README.md +58 -34
  72. package/docs/guides/en/skills-editing-guide.md +10 -0
  73. package/docs/guides/ja/skills-editing-guide.md +12 -2
  74. package/package.json +1 -1
@@ -20,18 +20,9 @@ description: サブエージェントのタスク分担と連携を調整。規
20
20
  - **分析・設計**: 該当するサブエージェントに委譲
21
21
  - **初動**: ユーザー要件はrequirement-analyzerに渡してから他のステップへ進む
22
22
 
23
- **初動アクション規則**: ユーザー要件を正確に分析するため、requirement-analyzerに直接渡し、その分析結果に基づいてワークフローを決定する。
23
+ ### 初動アクション規則
24
24
 
25
- ## タスク受領時の判断
26
-
27
- ```mermaid
28
- graph TD
29
- Start[新規タスク受領] --> RA[requirement-analyzerで要件分析]
30
- RA --> Scale[規模判定]
31
- Scale --> Flow[規模に応じたフロー実行]
32
- ```
33
-
34
- **フロー実行中は規模判定表に従って次のサブエージェントを決定する**
25
+ 新しいタスクを受け取ったら、ユーザー要件をrequirement-analyzerに直接渡す。その規模判定結果に基づいてワークフローを決定する。
35
26
 
36
27
  ### フロー実行中の要件変更検知
37
28
 
@@ -59,7 +50,7 @@ graph TD
59
50
  10. **technical-designer**: ADR/Design Doc作成(最新技術情報の調査、Property注釈付与)
60
51
  11. **work-planner**: 作業計画書作成(テストスケルトンからメタ情報を抽出・反映)
61
52
  12. **document-reviewer**: 単一ドキュメントの品質・完成度・ルール準拠チェック
62
- 13. **code-verifier**: Design Docの主張を既存コードベースに対して検証(設計フローでレビュー前に使用)
53
+ 13. **code-verifier**: ドキュメントとコードの整合性を検証。実装前: Design Docの主張を既存コードベースに対して検証。実装後: 実装がDesign Docに準拠しているか検証
63
54
  14. **design-sync**: Design Doc間の整合性検証(明示的矛盾のみ検出)
64
55
  15. **acceptance-test-generator**: Design DocのACとUI Spec(任意)から統合テストとE2Eテストのスケルトン生成
65
56
 
@@ -139,7 +130,7 @@ graph TD
139
130
  |-------|---------------|-------------|
140
131
  | requirement-analyzer | scale, confidence, adrRequired, crossLayerScope, scopeDependencies, questions | scaleでフローを選択。adrRequiredでADRステップ要否を判断 |
141
132
  | codebase-analyzer | analysisScope.categoriesDetected, dataModel.detected, focusAreas[], existingElements count, limitations | focusAreasをtechnical-designerにコンテキストとして渡す |
142
- | code-verifier | consistencyScore, discrepancies[], reverseCoverage (dataOperationsInCode, testBoundariesSectionPresent) | discrepanciesをdocument-reviewerに連携 |
133
+ | code-verifier | status (consistent/mostly_consistent/needs_review/inconsistent), consistencyScore, discrepancies[], reverseCoverage (dataOperationsInCode, testBoundariesSectionPresent). 実装前: Design Docの主張を既存コードに対して検証。実装後: 実装のDesign Doc整合性を検証(`code_paths`で変更ファイルにスコープ) | discrepanciesをdocument-reviewerに連携 |
143
134
  | 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
135
  | quality-fixer | status (approved/blocked), reason, blockingIssues[], missingPrerequisites[] | blocked時: 下記quality-fixer blockedハンドリング参照 |
145
136
  | document-reviewer | approvalReady (true/false) | trueで次ステップへ。falseで修正を依頼 |
@@ -177,9 +168,9 @@ quality-fixerが `status: "blocked"` を返した場合、`reason`で判別:
177
168
  ### 中規模(3-5ファイル) - 9ステップ(バックエンド) / 11ステップ(フロントエンド/フルスタック)
178
169
 
179
170
  1. requirement-analyzer → 要件分析 **[停止]**
180
- 2. codebase-analyzerコードベース分析(要件分析結果を入力)
181
- 3. **(フロントエンド/フルスタックのみ)** プロトタイプコードの有無を確認ui-spec-designer UI Spec作成
182
- 4. **(フロントエンド/フルスタックのみ)** document-reviewerUI Specレビュー **[停止: UI Spec承認]**
171
+ 2. **(フロントエンド/フルスタックのみ)** プロトタイプコードの有無を確認 → ui-spec-designerUI Spec作成(コンポーネント構造が技術設計に反映されるため先に実施)
172
+ 3. **(フロントエンド/フルスタックのみ)** document-reviewerUI Specレビュー **[停止: UI Spec承認]**
173
+ 4. codebase-analyzerコードベース分析(要件分析結果を入力)
183
174
  5. technical-designer → Design Doc作成(codebase-analyzer出力を追加コンテキストとして入力。レイヤー横断時: レイヤー別に作成、レイヤー横断オーケストレーション参照)
184
175
  6. code-verifier → Design Docを既存コードに対して検証(doc_type: design-doc)
185
176
  7. document-reviewer → Design Docレビュー(code-verifier結果をcode_verificationとして入力。レイヤー横断時: Design Doc毎に実行)
@@ -297,7 +288,7 @@ requirement-analyzerが複数レイヤー(backend + frontend)にまたがる
297
288
  #### codebase-analyzer → technical-designer
298
289
 
299
290
  **codebase-analyzerへの入力**: 要件分析JSON出力、PRDパス(存在する場合)、元のユーザー要件
300
- **technical-designerへの入力**: codebase-analyzerのJSON出力をDesign Doc作成プロンプトの追加コンテキストとして渡す。designerは`focusAreas`と`dataModel`を「既存コードベース分析」セクションに反映する。
291
+ **technical-designerへの入力**: codebase-analyzerのJSON出力をDesign Doc作成プロンプトの追加コンテキストとして渡す。technical-designerは`focusAreas`、`dataModel`、`dataTransformationPipelines`を「既存コードベース分析」セクションおよび「検証戦略」セクションに反映する。
301
292
 
302
293
  #### code-verifier → document-reviewer(Design Docレビュー)
303
294
 
@@ -323,9 +314,7 @@ requirement-analyzerが複数レイヤー(backend + frontend)にまたがる
323
314
  - E2Eテストファイル: [パス](最終フェーズでのみ実行)
324
315
 
325
316
  **エラー時**: ファイルが生成されない場合はユーザーにエスカレーション
326
- 3. **品質保証とコミット実行**: `status: "approved"`確認後、即座にgit commit実行
327
- 4. **自律実行モード管理**: 承認後の自律実行開始・停止・エスカレーション判断
328
- 5. **ADRステータス管理**: ユーザー判断後のADRステータス更新(Accepted/Rejected)
317
+ 3. **ADRステータス管理**: ユーザー判断後のADRステータス更新(Accepted/Rejected)
329
318
 
330
319
  ## 重要な制約
331
320
 
@@ -335,19 +324,15 @@ requirement-analyzerが複数レイヤー(backend + frontend)にまたがる
335
324
  - **フロー確認**: 承認取得後は必ず作業計画フロー(大規模/中規模/小規模)で次のステップを確認
336
325
  - **整合性検証**: サブエージェントの出力が矛盾した場合、優先順位に従って解決(委譲の境界セクション参照)
337
326
 
338
- ## 人間との必須対話ポイント
339
-
340
- ### 基本原則
341
- - **停止は必須**: 以下のタイミングでは必ず人間の応答を待つ
342
- - **AskUserQuestionを使用**: 全ての停止ポイントで確認と質問を提示
343
- - **確認→合意のサイクル**: ドキュメント生成後は合意またはupdateモードでの修正指示を受けてから次へ進む
344
- - **具体的な質問**: 選択肢(A/B/C)や比較表を用いて判断しやすく
345
- - **効率より対話**: 手戻りを防ぐため、早い段階で確認を取る
346
-
347
- ### 主要な停止ポイント
348
- - **requirement-analyzer完了後**: 要件分析結果と質問事項の確認
349
- - **PRD作成→document-reviewer実行後**: 要件理解と整合性の確認
350
- - **UI Spec作成→document-reviewer実行後**(フロントエンド/フルスタック): UI仕様の完全性と整合性の確認
351
- - **ADR作成→document-reviewer実行後**: 技術方針と整合性の確認
352
- - **Design Doc作成→document-reviewer実行後**: 設計内容と整合性の確認
353
- - **計画書作成後**: 実装フェーズ全体の一括承認
327
+ ### 進捗管理
328
+
329
+ TaskCreateで全体フェーズを登録。各フェーズ完了時にTaskUpdateで更新。
330
+
331
+ ### 実装後検証のPass/Fail基準
332
+
333
+ | Verifier | Pass | Fail | Blocked |
334
+ |----------|------|------|---------|
335
+ | code-verifier | `status`が`consistent`または`mostly_consistent` | `status`が`needs_review`または`inconsistent` | — |
336
+ | security-reviewer | `status`が`approved`または`approved_with_notes` | `status`が`needs_revision` | `status`が`blocked` → ユーザーにエスカレーション |
337
+
338
+ **再実行ルール**: 修正サイクル後、**Fail**を返した検証エージェントのみ再実行。前回Passした検証エージェントは再実行しない。最大2回の修正サイクル — 2回後も不合格が残る場合、残存する検出事項とともにユーザーにエスカレーション。
@@ -159,7 +159,6 @@ skills:
159
159
  - "エージェント連携パターン"
160
160
  sections:
161
161
  - "最重要原則:オーケストレーターとして振る舞う"
162
- - "タスク受領時の判断"
163
162
  - "活用できるサブエージェント"
164
163
  - "オーケストレーション原則"
165
164
  - "Sub-agent間の制約"
@@ -170,7 +169,6 @@ skills:
170
169
  - "自律実行モード"
171
170
  - "オーケストレーターの主な役割"
172
171
  - "重要な制約"
173
- - "人間との必須対話ポイント"
174
172
 
175
173
  skill-optimization:
176
174
  skill: "skill-optimization"
package/CHANGELOG.md CHANGED
@@ -5,6 +5,63 @@ 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.4] - 2026-04-05
9
+
10
+ ### Added
11
+
12
+ - **codebase-analyzer: Deep call chain tracing** (agents) — Replaced shallow public-interface-only extraction with full-depth analysis. All visibility levels (public, private, internal) are now extracted with recursive call chain tracing within modules. External dependencies are traced to public interface only. Chains exceeding 10 unique functions record the remainder in `limitations`
13
+ - **codebase-analyzer: Data transformation pipeline detection** (agents) — New `dataTransformationPipelines` output field traces step-by-step input→output mapping for requirement-relevant entry points, including external resource lookups (master tables, config, constants) that modify output values
14
+ - **codebase-analyzer: `visibility` field in output schema** (agents) — `existingElements` schema now includes `visibility` (public/private/internal) and `method` as a category option, matching the expanded extraction requirements
15
+ - **technical-designer: Output comparison requirement** (agents) — Designs that replace or modify existing behavior must define a concrete output comparison method (identical input, expected output fields, diff method). When codebase analysis provides `dataTransformationPipelines`, each pipeline step must be covered
16
+ - **technical-designer: Early verification exception clause** (agents) — Default early verification point for replacements/modifications is output comparison. Exception: when primary risk is not behavioral equivalence (e.g., schema compatibility, integration contract), specify alternative target and document why output comparison is deferred
17
+ - **document-reviewer: Output comparison check** (agents) — Missing output comparison for changes that replace or modify existing behavior → `critical` issue. Uncovered `dataTransformationPipelines` steps → `important` issue
18
+ - **design-template: Output Comparison section** (skills) — New section under Verification Strategy for behavioral equivalence verification: comparison input, expected output fields, diff method, and transformation pipeline coverage
19
+ - **orchestration-guide: Pipeline bridge** (skills) — codebase-analyzer → technical-designer bridge now passes `dataTransformationPipelines` to inform Verification Strategy in addition to Existing Codebase Analysis
20
+
21
+ ### Changed
22
+
23
+ - **technical-designer: Full method inventory** (agents) — Removed "about 5 important ones if over 10" limit. Now requires listing every public method with full signatures to prevent investigation shortcuts that lead to incomplete design documents
24
+
25
+ ## [1.20.3] - 2026-04-04
26
+
27
+ ### Added
28
+
29
+ - **code-reviewer: Identifier Verification** — Extract identifier specifications (resource names, endpoint paths, config keys, schema names) from Design Doc and verify exact string match against implementation. Added `identifierMatchRate` and `identifierVerification[]` to output schema
30
+ - **code-reviewer: Evidence-Based Confidence** — Multi-source evidence collection (primary: implementation, secondary: tests, tertiary: config/types) with high/medium/low confidence per AC. Added `evidence_source` field to track tool provenance per determination
31
+ - **code-reviewer: Finding Classification** — Quality findings categorized as `dd_violation`/`maintainability`/`reliability`/`coverage_gap` with category-specific rationale requirements. Output Self-Check ensures every finding cites file:line and tool name
32
+ - **Post-Implementation Verification** (commands, skills) — `build` and `front-build` now run code-verifier and security-reviewer in parallel after all tasks complete. Pass/fail criteria defined in orchestration guide with max 2 fix cycles before escalation
33
+ - **front-design: Workflow Overview** — ASCII flow diagram showing the full design pipeline with stop points
34
+ - **front-design: Completion Criteria** — Explicit checklist of required steps before design phase is complete
35
+ - **front-design: design-sync step** — Added Step 4 for cross-document consistency verification before final approval
36
+ - **ADR template: Architecture Impact section** — Documents how the decision affects existing components, dependencies, and constraints
37
+ - **ADR template: Rejected status** — Added to status options alongside Proposed/Accepted/Deprecated/Superseded
38
+ - **PRD template: User Journey and Scope Boundary diagrams** — Required mermaid diagrams added to template
39
+ - **PRD template: MoSCoW prioritization** — Must Have(P1)/Should Have(P2)/Could Have(P3)/Won't Have structure replaces Must/Nice to Have/Out of Scope
40
+ - **PRD template: Quantitative success metrics format** — Each metric specifies numeric target, measurement method, and timeframe
41
+ - **Design template: Error Handling table** — Free-text placeholder replaced with structured table (Category, Example, Detection, Recovery, User Impact)
42
+ - **Design template: Logging sub-categories** — Structured log events, levels, sensitive data handling, and monitoring requirements
43
+ - **Plan template: Hybrid option** — Option C added for hybrid implementation approach alongside Vertical Slice and Horizontal Slice
44
+ - **Security checks: Detection approach** — Added concrete detection methods for Access Control Gaps and Mishandling of Exceptional Conditions patterns
45
+
46
+ ### Changed
47
+
48
+ - **BP-001 Negative → Positive form** (agents, 17 files) — Converted negative instructions to positive directives across all agent definitions. "Don't forget test creation" → "Include test creation in every task", "No contradiction with PRD" → "All requirements align with PRD", "any prohibited" → "use strict types", etc.
49
+ - **BP-002 Vague → Concrete** (agents, skills) — Replaced ambiguous expressions with measurable criteria. "avoid excessive detail" → "include only information required for task execution and verification", "measurable format" → "each metric specifies a numeric target, measurement method, and timeframe"
50
+ - **Emoji markers removed** (agents) — Removed ✅/❌ markers from instruction contexts (quality-fixer, requirement-analyzer, technical-designer-frontend, build, front-build). Retained only in user-facing output templates
51
+ - **documentation-criteria: Excludes → Scope** (skills) — Separate Includes/Excludes blocks consolidated into single Scope statement per document type, reducing duplication
52
+ - **documentation-criteria: QA phase unified** (skills) — Per-approach "Final Phase: Quality Assurance" entries consolidated into single "All approaches" statement
53
+ - **orchestration-guide: First Action Rule simplified** (skills) — Mermaid diagram and duplicate text replaced with single-line rule
54
+ - **orchestration-guide: Redundant sections removed** (skills) — Required Dialogue Points, Decision Flow diagram, duplicate orchestrator roles compressed
55
+ - **orchestration-guide: Medium frontend flow reordered** (skills) — UI Spec creation moved before codebase analysis to match large-scale flow and front-design command — component structure informs technical design
56
+ - **orchestration-guide: code-verifier description expanded** (skills) — Now documents both pre-implementation and post-implementation verification modes with status field values
57
+ - **front-design: Execution Protocol** (commands) — Replaced role/method block with structured protocol referencing orchestration guide. Documents UI Spec → codebase-analyzer ordering rationale
58
+ - **front-plan: Test skeleton mandatory** (commands) — Removed optional user confirmation — acceptance-test-generator always executes before work-planner per orchestration guide flow
59
+ - **front-build: Streamlined** (commands) — Removed redundant Execution Method, Sub-agent Invocation Method, and Structured Response Specification sections. Scope line added to Execution Protocol
60
+ - **front-review: Orchestrator identity** (commands) — Added Orchestrator Definition with TaskCreate-first action. Replaced rule-advisor with documentation-criteria in fix flow. Step numbering unified (Step 1-11)
61
+ - **review/front-review: Re-validation context** (commands) — Re-validation prompts now include Design Doc path and implementation file list alongside prior issues
62
+ - **review/front-review: Report template** (commands) — Added identifierMatchRate, confidence levels, identifier mismatches, and quality findings sections
63
+ - **skills-index.yaml** (skills) — Removed deleted sections from orchestration-guide entry (Decision Flow, Required Dialogue Points)
64
+
8
65
  ## [1.20.2] - 2026-04-03
9
66
 
10
67
  ### Added
package/README.ja.md CHANGED
@@ -19,15 +19,16 @@
19
19
  1. [クイックスタート(3ステップ)](#-クイックスタート3ステップ)
20
20
  2. [既存プロジェクトの更新](#-既存プロジェクトの更新)
21
21
  3. [Vibe Codingの先へ:なぜサブエージェント?](#-vibe-codingの先へなぜサブエージェント)
22
- 4. [スキルシステム](#-スキルシステム)
23
- 5. [このボイラープレートで作られたプロジェクト](#-このボイラープレートで作られたプロジェクト)
24
- 6. [ドキュメント&ガイド](#-ドキュメントガイド)
25
- 7. [スラッシュコマンド](#-スラッシュコマンド)
26
- 8. [開発ワークフロー](#-claude-code-ワークフロー)
27
- 9. [プロジェクト構成](#-プロジェクト構成)
28
- 10. [パッケージマネージャーの設定](#-パッケージマネージャーの設定)
29
- 11. [多言語対応](#-多言語対応)
30
- 12. [よくある質問](#-よくある質問)
22
+ 4. [スラッシュコマンド](#-スラッシュコマンド)
23
+ 5. [スキルのカスタマイズ](#-スキルのカスタマイズ)
24
+ 6. [スキルシステム](#-スキルシステム)
25
+ 7. [このボイラープレートで作られたプロジェクト](#-このボイラープレートで作られたプロジェクト)
26
+ 8. [ドキュメント&ガイド](#-ドキュメントガイド)
27
+ 9. [開発ワークフロー](#-claude-code-ワークフロー)
28
+ 10. [プロジェクト構成](#-プロジェクト構成)
29
+ 11. [パッケージマネージャーの設定](#-パッケージマネージャーの設定)
30
+ 12. [多言語対応](#-多言語対応)
31
+ 13. [よくある質問](#-よくある質問)
31
32
 
32
33
  ## ⚡ クイックスタート(3ステップ)
33
34
 
@@ -102,7 +103,7 @@ ignoreされたファイルは更新時に保護されます。ただし、ignor
102
103
 
103
104
  ## 🚀 Vibe Codingの先へ:なぜサブエージェント?
104
105
 
105
- Vibe Codingの先へ — **Agentic Coding**(構造化されたワークフローを専門AIエージェントに委任するアプローチ)がプロフェッショナルな開発の標準になりつつあります。このボイラープレートはClaude Codeのサブエージェントでそれを実現します。
106
+ Vibe Codingの先へ — **Agentic Coding**(構造化されたワークフローを専門AIエージェントに委任するアプローチ)が実践的な開発手法として広がりつつあります。このボイラープレートはClaude Codeのサブエージェントでそれを実現します。
106
107
 
107
108
  **従来のAIコーディングの問題**
108
109
  - ❌ 長時間のセッションでコンテキストを失う
@@ -112,7 +113,7 @@ Vibe Codingの先へ — **Agentic Coding**(構造化されたワークフロ
112
113
  **サブエージェントによるContext Engineering**
113
114
  - ✅ 専門的な単一の役割に分割(設計、実装、レビュー)
114
115
  - ✅ 各エージェントが新鮮で集中したコンテキストを持つ — 枯渇なし
115
- - ✅ 品質低下なしで規模感のあるタスクを処理
116
+ - ✅ 大規模なプロジェクトでも品質低下なしに処理
116
117
 
117
118
  これはClaude Codeのサブエージェント機構が、各エージェントを独立したコンテキストウィンドウで実行する仕組みに基づいています。親セッションがタスクを委任し、各サブエージェントはクリーンで集中したコンテキストで処理を開始します。品質チェック(lint、型チェック、テスト、ビルド)はCIではなくコミット前にローカルで実行されるため、フィードバックループが速く、pushする時点でコードは検証済みです。
118
119
 
@@ -124,6 +125,45 @@ Vibe Codingの先へ — **Agentic Coding**(構造化されたワークフロ
124
125
 
125
126
  *サブエージェントが連携してTypeScriptプロジェクトを構築する様子*
126
127
 
128
+ ## 📝 スラッシュコマンド
129
+
130
+ Claude Codeで利用できる主要なコマンド
131
+
132
+ | コマンド | 目的 | 使用場面 |
133
+ |---------|------|----------|
134
+ | `/implement` | 要件から実装までの一貫した開発 | 新機能開発 |
135
+ | `/task` | スキルに基づいた単一タスクの実行 | バグ修正、小規模な変更 |
136
+ | `/design` | 設計書の作成 | アーキテクチャの計画時 |
137
+ | `/plan` | 設計書から作業計画書を作成 | 設計承認後 |
138
+ | `/build` | 既存の計画から実行 | 作業の再開時 |
139
+ | `/review` | コードの準拠性確認 | 実装完了後 |
140
+ | `/diagnose` | 根本原因分析ワークフロー | デバッグ、トラブルシューティング |
141
+ | `/reverse-engineer` | コードからPRD/Design Docを生成 | 既存システムのドキュメント化 |
142
+ | `/create-skill` | 対話形式で新しいスキルを作成 | プロジェクト固有のルールを追加 |
143
+ | `/refine-skill` | 品質レビュー付きでスキルを修正 | スキルの精度改善 |
144
+
145
+ フロントエンド用(`/front-design`(UI Spec + Design Doc), `/front-build`, `/front-review`, `/front-plan`)やユーティリティコマンド(`/add-integration-tests`, `/update-doc`)も利用できます。
146
+
147
+ [コマンドの詳細はこちら →](docs/guides/ja/use-cases.md)
148
+
149
+ ## 🌱 スキルのカスタマイズ
150
+
151
+ このボイラープレートには汎用的なスキルが同梱されており、すぐに使い始められます。ただし、スキルが本領を発揮するのは、プロジェクト固有のコーディング規約やドメイン制約、チームの意思決定を反映させたときです。
152
+
153
+ 同梱されているスキルはベースラインです。次のステップは、それをあなたのプロジェクトに合わせて育てていくことです。
154
+
155
+ - **`/project-inject`** — プロジェクトの前提情報を設定(初回実行、毎セッション参照)
156
+ - **`/create-skill`** — 対話形式で新しいスキルを作成
157
+ - **`/refine-skill`** — 既存スキルを品質レビュー付きで改善
158
+
159
+ スキル作成の原則やベストプラクティスは[スキル編集ガイド](docs/guides/ja/skills-editing-guide.md)を参照してください。
160
+
161
+ ### スキルの効果検証
162
+
163
+ スキルを作ることと、それが実際にエージェントの挙動を改善しているかを知ることは別の問題です。スキルは互いに影響し合い、プロジェクトのコンテキストとも相互作用するため、確実に効果を知るには実際に動かして比較するしかありません。
164
+
165
+ [rashomon](https://github.com/shinpr/rashomon)はこのためのClaude Codeプラグインです。スキル変更が本当に改善につながったのか、感覚ではなくエビデンスで確認したいときに使えます。
166
+
127
167
  ## 🎨 スキルシステム
128
168
 
129
169
  このボイラープレートでは、自律的(Agentic)な実装ワークフローで用いられている原理原則を、日常のタスクにおいても必要に応じて参照できるようスキルとして提供しています。
@@ -171,25 +211,6 @@ Vibe Codingの先へ — **Agentic Coding**(構造化されたワークフロ
171
211
  - **[スキル編集ガイド](docs/guides/ja/skills-editing-guide.md)** - ライブラリドキュメント、チームルール、プロジェクト固有の知識をAIに追加
172
212
  - **[設計思想](https://qiita.com/shinpr/items/98771c2b8d2e15cafcd5)** - このアプローチがなぜ有効か
173
213
 
174
- ## 📝 スラッシュコマンド
175
-
176
- Claude Codeで利用できる主要なコマンド
177
-
178
- | コマンド | 目的 | 使用場面 |
179
- |---------|------|----------|
180
- | `/implement` | 要件から実装までの一貫した開発 | 新機能開発 |
181
- | `/task` | スキルに基づいた単一タスクの実行 | バグ修正、小規模な変更 |
182
- | `/design` | 設計書の作成 | アーキテクチャの計画時 |
183
- | `/plan` | 設計書から作業計画書を作成 | 設計承認後 |
184
- | `/build` | 既存の計画から実行 | 作業の再開時 |
185
- | `/review` | コードの準拠性確認 | 実装完了後 |
186
- | `/diagnose` | 根本原因分析ワークフロー | デバッグ、トラブルシューティング |
187
- | `/reverse-engineer` | コードからPRD/Design Docを生成 | 既存システムのドキュメント化 |
188
-
189
- フロントエンド用(`/front-design`(UI Spec + Design Doc), `/front-build`, `/front-review`, `/front-plan`)やユーティリティコマンド(`/add-integration-tests`, `/update-doc`)も利用できます。
190
-
191
- [コマンドの詳細はこちら →](docs/guides/ja/use-cases.md)
192
-
193
214
  ## 🤖 Claude Code ワークフロー
194
215
 
195
216
  ```mermaid
package/README.md CHANGED
@@ -19,15 +19,16 @@
19
19
  1. [Quick Start (3 Steps)](#-quick-start-3-steps)
20
20
  2. [Updating Existing Projects](#-updating-existing-projects)
21
21
  3. [Beyond Vibe Coding: Why Sub Agents?](#-beyond-vibe-coding-why-sub-agents)
22
- 4. [Skills System](#-skills-system)
23
- 5. [Built with This Boilerplate](#-built-with-this-boilerplate)
24
- 6. [Documentation & Guides](#-documentation--guides)
25
- 7. [Slash Commands](#-slash-commands)
26
- 8. [Development Workflow](#-claude-code-workflow)
27
- 9. [Project Structure](#-project-structure)
28
- 10. [Package Manager Configuration](#-package-manager-configuration)
29
- 11. [Multilingual Support](#-multilingual-support)
30
- 12. [FAQ](#-faq)
22
+ 4. [Slash Commands](#-slash-commands)
23
+ 5. [Customizing Skills](#-customizing-skills)
24
+ 6. [Skills System](#-skills-system)
25
+ 7. [Built with This Boilerplate](#-built-with-this-boilerplate)
26
+ 8. [Documentation & Guides](#-documentation--guides)
27
+ 9. [Development Workflow](#-claude-code-workflow)
28
+ 10. [Project Structure](#-project-structure)
29
+ 11. [Package Manager Configuration](#-package-manager-configuration)
30
+ 12. [Multilingual Support](#-multilingual-support)
31
+ 13. [FAQ](#-faq)
31
32
 
32
33
  ## ⚡ Quick Start (3 Steps)
33
34
 
@@ -102,7 +103,7 @@ If your project was created before the update feature, just run `npx create-ai-p
102
103
 
103
104
  ## 🚀 Beyond Vibe Coding: Why Sub Agents?
104
105
 
105
- As teams move beyond vibe coding, **agentic coding** — delegating structured workflows to specialized AI agents — is becoming the professional standard. This boilerplate implements that approach with Claude Code sub-agents:
106
+ As teams move beyond vibe coding, **agentic coding** — delegating structured workflows to specialized AI agents — is gaining traction as a practical approach. This boilerplate implements that approach with Claude Code sub-agents:
106
107
 
107
108
  **Traditional AI coding struggles with:**
108
109
  - ❌ Losing context in long sessions
@@ -124,6 +125,45 @@ This works because Claude Code's sub-agent mechanism runs each agent in its own
124
125
 
125
126
  *Sub agents working together on a TypeScript project*
126
127
 
128
+ ## 📝 Slash Commands
129
+
130
+ Essential commands for Claude Code:
131
+
132
+ | Command | Purpose | When to Use |
133
+ |---------|---------|-------------|
134
+ | `/implement` | End-to-end feature development | New features |
135
+ | `/task` | Single task with skill-based precision | Bug fixes, small changes |
136
+ | `/design` | Create design docs only | Architecture planning |
137
+ | `/plan` | Create work plan from design | After design approval |
138
+ | `/build` | Execute from existing plan | Resume work |
139
+ | `/review` | Check code compliance | Post-implementation |
140
+ | `/diagnose` | Root cause analysis workflow | Debugging, troubleshooting |
141
+ | `/reverse-engineer` | Generate PRD/Design Docs from code | Legacy system documentation |
142
+ | `/create-skill` | Create a new skill through interactive dialog | Adding project-specific rules |
143
+ | `/refine-skill` | Modify an existing skill with quality review | Improving skill accuracy |
144
+
145
+ Frontend equivalents (`/front-design` for UI Spec + Design Doc, `/front-build`, `/front-review`, `/front-plan`) and utility commands (`/add-integration-tests`, `/update-doc`) are also available.
146
+
147
+ [Full command reference →](docs/guides/en/use-cases.md)
148
+
149
+ ## 🌱 Customizing Skills
150
+
151
+ This boilerplate ships with general-purpose skills that work out of the box. But skills reach their full potential when you tailor them to your project — your coding conventions, domain constraints, and team decisions.
152
+
153
+ Think of the included skills as a baseline. The next step is making them yours:
154
+
155
+ - **`/project-inject`** — Capture project-specific prerequisites (run once, referenced every session)
156
+ - **`/create-skill`** — Create a new skill through interactive dialog
157
+ - **`/refine-skill`** — Improve an existing skill with optimization review
158
+
159
+ For principles and best practices on writing effective skills, see the [Skills Editing Guide](docs/guides/en/skills-editing-guide.md).
160
+
161
+ ### Validating Skill Effectiveness
162
+
163
+ Creating a skill is one thing — knowing whether it actually improves agent behavior is another. Skills interact with each other and with project context, so the only reliable way to know is to run with and without the skill and compare results.
164
+
165
+ [rashomon](https://github.com/shinpr/rashomon) is a Claude Code plugin for this. Use it when you want evidence, not intuition, that a skill change made things better.
166
+
127
167
  ## 🎨 Skills System
128
168
 
129
169
  This boilerplate provides the principles used in agentic implementation workflows as skills, making them available for reference in everyday tasks as needed.
@@ -171,25 +211,6 @@ Both were built using the default `/implement` workflow — no manual agent orch
171
211
  - **[Skills Editing Guide](docs/guides/en/skills-editing-guide.md)** - Add library docs, team rules, and project-specific knowledge for AI
172
212
  - **[Design Philosophy](https://dev.to/shinpr/zero-context-exhaustion-building-production-ready-ai-coding-teams-with-claude-code-sub-agents-31b)** - Why this approach works
173
213
 
174
- ## 📝 Slash Commands
175
-
176
- Essential commands for Claude Code:
177
-
178
- | Command | Purpose | When to Use |
179
- |---------|---------|-------------|
180
- | `/implement` | End-to-end feature development | New features |
181
- | `/task` | Single task with skill-based precision | Bug fixes, small changes |
182
- | `/design` | Create design docs only | Architecture planning |
183
- | `/plan` | Create work plan from design | After design approval |
184
- | `/build` | Execute from existing plan | Resume work |
185
- | `/review` | Check code compliance | Post-implementation |
186
- | `/diagnose` | Root cause analysis workflow | Debugging, troubleshooting |
187
- | `/reverse-engineer` | Generate PRD/Design Docs from code | Legacy system documentation |
188
-
189
- Frontend equivalents (`/front-design` for UI Spec + Design Doc, `/front-build`, `/front-review`, `/front-plan`) and utility commands (`/add-integration-tests`, `/update-doc`) are also available.
190
-
191
- [Full command reference →](docs/guides/en/use-cases.md)
192
-
193
214
  ## 🤖 Claude Code Workflow
194
215
 
195
216
  ```mermaid
@@ -211,19 +232,22 @@ Generate PRD and Design Docs from existing code:
211
232
  ```mermaid
212
233
  graph TB
213
234
  subgraph Phase1[Phase 1: PRD Generation]
214
- CMD["/reverse-engineer"] --> SD[scope-discoverer unified]
215
- SD --> PRD[prd-creator]
235
+ SD[scope-discoverer] --> PRD[prd-creator]
216
236
  PRD --> CV1[code-verifier]
217
237
  CV1 --> DR1[document-reviewer]
238
+ DR1 -->|Revision needed| PRD
239
+ DR1 -->|Approved| NEXT1[Next unit]
218
240
  end
219
241
 
220
242
  subgraph Phase2[Phase 2: Design Doc Generation]
221
243
  TD[technical-designer] --> CV2[code-verifier]
222
244
  CV2 --> DR2[document-reviewer]
223
- DR2 --> DONE[Complete]
245
+ DR2 -->|Revision needed| TD
246
+ DR2 -->|Approved| NEXT2[Next unit]
224
247
  end
225
248
 
226
- DR1 --> |"All PRDs Approved (reuse scope)"| TD
249
+ NEXT1 -->|"All PRDs Approved (reuse scope)"| TD
250
+ NEXT2 --> REPORT[Final report]
227
251
  ```
228
252
 
229
253
  ### How It Works
@@ -321,7 +345,7 @@ A: Yes — create a custom skill under `.claude/skills/` with the relevant URLs.
321
345
  A: `/project-inject` (once) → `/implement` (features) → auto quality checks → commit
322
346
 
323
347
  **Q: How is this different from Copilot/Cursor?**
324
- A: Those help write code. This manages entire development lifecycle with specialized agents.
348
+ A: Those tools focus on code writing assistance. This boilerplate provides a structured development lifecycle managed by specialized agents.
325
349
 
326
350
  **Q: What is agentic coding and how does this boilerplate support it?**
327
351
  A: Agentic coding delegates structured workflows to specialized AI agents instead of relying on conversational prompting. This boilerplate provides pre-configured sub-agents, CLAUDE.md rules, and quality checks so you can adopt that approach without building the scaffolding yourself.
@@ -195,6 +195,8 @@ Standard error format: { success: false, error: string, code: number }
195
195
  Check for duplication between files and eliminate contradictions and redundancy.
196
196
  Eliminating duplication also reduces maintenance costs by preventing notation inconsistencies from update omissions.
197
197
 
198
+ Note: there is a tradeoff between DRY and skill self-containment. If a skill requires context from another skill to be understood, the reader (both human and LLM) has to chase references. When a piece of information is central to a skill's decision-making, it may be worth repeating rather than forcing a cross-reference. Use judgment — eliminate *accidental* duplication, but don't sacrifice clarity for purity.
199
+
198
200
  ### 4. Appropriately Aggregate Responsibilities
199
201
 
200
202
  Consolidating related content in one skill maintains single responsibility and prevents unnecessary context mixing in tasks.
@@ -355,6 +357,14 @@ All 9 principles are practiced across these skills, serving as practical referen
355
357
  3. Add one specific example
356
358
  4. Convert negative form to positive form
357
359
 
360
+ ## Validating Skill Effectiveness
361
+
362
+ The 9 principles and `/create-skill` / `/refine-skill` help you write better skills, but writing and validating are different problems. Skills interact with each other and with project context, so the only reliable way to know whether a change actually improved agent behavior is to run the task with and without the skill and compare results.
363
+
364
+ [rashomon](https://github.com/shinpr/rashomon) is a Claude Code plugin for evidence-based skill validation. Its `/recipe-eval-skill` command runs your task in isolated environments and compares results to classify whether the difference is a real improvement or just variance.
365
+
366
+ Use `/create-skill` and `/refine-skill` for quick iteration, and rashomon when you want proof that a skill change made things better.
367
+
358
368
  ## Summary
359
369
 
360
370
  Well-written skills stabilize LLM output. By following the 9 principles and continuously refining your skills, you can maximize LLM capabilities. Build the optimal skill set for your project through regular implementation review and improvement.
@@ -144,12 +144,12 @@ See [examples.md](examples.md) for usage patterns
144
144
  ## LLMの実行精度を最大化する9つの原則
145
145
 
146
146
  スキル作成の原則を9つ紹介します。
147
- スキル新規作成には`/create-skill`、既存スキルの品質レビュー付き修正には`/refine-skill`コマンドを提供しています。ただしLLMは「生成後に出力と考え方を突き合わせなければ課題に到達しづらい」傾向があるため、対話的にスキルを修正することを最終的には推奨します。
147
+ スキル新規作成には`/create-skill`、既存スキルの品質レビュー付き修正には`/refine-skill`コマンドを提供しています。ただしLLMは「生成後に出力と考え方を突き合わせなければ課題に到達しづらい」傾向があるため、ツールで生成した後は対話的にスキルを修正することを推奨します。
148
148
 
149
149
  ### 1. 最小記述で最大精度を実現する(コンテキスト圧迫 vs 実行精度)
150
150
 
151
151
  コンテキストは貴重なリソースです。冗長な説明を避け、本質的な情報のみを記述します。
152
- 一方で、ただ短くすればいいという訳ではなく、判断に迷わない最小限の記述でなければいけません。
152
+ 一方で、ただ短くすればいいという訳ではなく、判断に迷わない最小限の記述である必要があります。
153
153
 
154
154
  ```markdown
155
155
  ❌ 冗長な記述(24文字)
@@ -195,6 +195,8 @@ See [examples.md](examples.md) for usage patterns
195
195
  ファイル間の重複もチェックし、矛盾や冗長性を排除します。
196
196
  更新漏れによる表記揺れのリスクもあるため、重複の排除はメンテナンスコストの低下にもつながります。
197
197
 
198
+ ただし、DRYとスキルの自己完結性にはトレードオフがあります。あるスキルの判断に必要な情報が別のスキルにしかない場合、読み手(人間もLLMも)は参照を追いかける必要が生じます。スキルの意思決定に不可欠な情報であれば、相互参照を強いるより繰り返す方が適切な場合もあります。排除すべきは*意図せず生じた*重複であり、明確さを犠牲にしてまで原則への忠実さを追求する必要はありません。
199
+
198
200
  ### 4. 責務を適切に集約する
199
201
 
200
202
  関連する内容は1つのスキルにまとめることで単一責務を維持でき、タスクに不要なコンテキストの混入を防げます。
@@ -355,6 +357,14 @@ LLMは冒頭の情報により注意を払います。最重要事項を先頭
355
357
  3. 具体例を1つ追加
356
358
  4. 否定形を肯定形に変換
357
359
 
360
+ ## スキルの効果検証
361
+
362
+ 9つの原則と`/create-skill`・`/refine-skill`はスキルの作成・改善を支援しますが、作ることと効果を確認することは別の問題です。スキルは互いに影響し合い、プロジェクトのコンテキストとも相互作用するため、変更が本当に挙動を改善したかは実際に動かして比較するしかありません。
363
+
364
+ [rashomon](https://github.com/shinpr/rashomon)はエビデンスに基づくスキル検証のためのClaude Codeプラグインです。`/recipe-eval-skill`コマンドが隔離された環境でタスクを実行し、結果を比較することで、差異が実質的な改善なのか単なるバラつきなのかを分類します。
365
+
366
+ `/create-skill`と`/refine-skill`は手軽な反復に、rashomonはスキル変更が本当に改善につながったか証拠が欲しいときに使い分けてください。
367
+
358
368
  ## まとめ
359
369
 
360
370
  効果的なスキルはLLMの生成を安定させます。9つの原則を意識し、継続的に最適化することでLLMの能力を最大限に引き出すことができます。定期的な実装結果の振り返りと改善を繰り返し、プロジェクトに最適なスキルセットを構築していきましょう。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-ai-project",
3
- "version": "1.20.2",
3
+ "version": "1.20.4",
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": [