create-ai-project 1.23.4 → 1.24.0

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 (94) hide show
  1. package/.claude/agents-en/acceptance-test-generator.md +8 -32
  2. package/.claude/agents-en/code-reviewer.md +24 -25
  3. package/.claude/agents-en/code-verifier.md +3 -32
  4. package/.claude/agents-en/codebase-analyzer.md +11 -79
  5. package/.claude/agents-en/document-reviewer.md +12 -58
  6. package/.claude/agents-en/integration-test-reviewer.md +6 -37
  7. package/.claude/agents-en/investigator.md +6 -59
  8. package/.claude/agents-en/quality-fixer-frontend.md +1 -5
  9. package/.claude/agents-en/quality-fixer.md +1 -5
  10. package/.claude/agents-en/requirement-analyzer.md +3 -14
  11. package/.claude/agents-en/rule-advisor.md +3 -16
  12. package/.claude/agents-en/scope-discoverer.md +5 -29
  13. package/.claude/agents-en/security-reviewer.md +2 -13
  14. package/.claude/agents-en/skill-creator.md +3 -6
  15. package/.claude/agents-en/skill-reviewer.md +7 -43
  16. package/.claude/agents-en/solver.md +9 -24
  17. package/.claude/agents-en/task-decomposer.md +39 -8
  18. package/.claude/agents-en/task-executor-frontend.md +29 -20
  19. package/.claude/agents-en/task-executor.md +29 -20
  20. package/.claude/agents-en/technical-designer-frontend.md +7 -12
  21. package/.claude/agents-en/technical-designer.md +4 -11
  22. package/.claude/agents-en/ui-analyzer.md +16 -115
  23. package/.claude/agents-en/ui-spec-designer.md +3 -3
  24. package/.claude/agents-en/verifier.md +9 -53
  25. package/.claude/agents-en/work-planner.md +27 -22
  26. package/.claude/agents-ja/acceptance-test-generator.md +10 -34
  27. package/.claude/agents-ja/code-reviewer.md +24 -25
  28. package/.claude/agents-ja/code-verifier.md +5 -34
  29. package/.claude/agents-ja/codebase-analyzer.md +11 -79
  30. package/.claude/agents-ja/document-reviewer.md +16 -62
  31. package/.claude/agents-ja/integration-test-reviewer.md +6 -37
  32. package/.claude/agents-ja/investigator.md +6 -59
  33. package/.claude/agents-ja/prd-creator.md +3 -3
  34. package/.claude/agents-ja/quality-fixer-frontend.md +2 -6
  35. package/.claude/agents-ja/quality-fixer.md +2 -6
  36. package/.claude/agents-ja/requirement-analyzer.md +3 -14
  37. package/.claude/agents-ja/rule-advisor.md +4 -17
  38. package/.claude/agents-ja/scope-discoverer.md +5 -29
  39. package/.claude/agents-ja/security-reviewer.md +3 -14
  40. package/.claude/agents-ja/skill-creator.md +3 -6
  41. package/.claude/agents-ja/skill-reviewer.md +7 -43
  42. package/.claude/agents-ja/solver.md +11 -26
  43. package/.claude/agents-ja/task-decomposer.md +40 -9
  44. package/.claude/agents-ja/task-executor-frontend.md +29 -20
  45. package/.claude/agents-ja/task-executor.md +29 -20
  46. package/.claude/agents-ja/technical-designer-frontend.md +8 -13
  47. package/.claude/agents-ja/technical-designer.md +5 -12
  48. package/.claude/agents-ja/ui-analyzer.md +17 -116
  49. package/.claude/agents-ja/ui-spec-designer.md +7 -7
  50. package/.claude/agents-ja/verifier.md +9 -53
  51. package/.claude/agents-ja/work-planner.md +51 -51
  52. package/.claude/commands-ja/build.md +1 -1
  53. package/.claude/commands-ja/design.md +1 -1
  54. package/.claude/commands-ja/diagnose.md +1 -1
  55. package/.claude/commands-ja/front-build.md +1 -1
  56. package/.claude/commands-ja/front-design.md +3 -3
  57. package/.claude/commands-ja/front-plan.md +2 -2
  58. package/.claude/commands-ja/implement.md +1 -1
  59. package/.claude/commands-ja/plan.md +2 -2
  60. package/.claude/commands-ja/prepare-implementation.md +4 -4
  61. package/.claude/commands-ja/reverse-engineer.md +1 -1
  62. package/.claude/commands-ja/review.md +1 -1
  63. package/.claude/commands-ja/task.md +2 -2
  64. package/.claude/commands-ja/update-doc.md +1 -1
  65. package/.claude/skills-en/documentation-criteria/references/design-template.md +5 -1
  66. package/.claude/skills-en/documentation-criteria/references/plan-template.md +17 -7
  67. package/.claude/skills-en/documentation-criteria/references/task-template.md +18 -0
  68. package/.claude/skills-en/documentation-criteria/references/ui-spec-template.md +1 -1
  69. package/.claude/skills-en/frontend-technical-spec/SKILL.md +4 -8
  70. package/.claude/skills-en/frontend-typescript-rules/SKILL.md +4 -2
  71. package/.claude/skills-en/frontend-typescript-testing/SKILL.md +5 -11
  72. package/.claude/skills-en/frontend-typescript-testing/references/e2e.md +1 -1
  73. package/.claude/skills-en/technical-spec/SKILL.md +4 -3
  74. package/.claude/skills-en/typescript-testing/SKILL.md +4 -4
  75. package/.claude/skills-ja/coding-standards/SKILL.md +4 -4
  76. package/.claude/skills-ja/coding-standards/references/security-checks.md +1 -1
  77. package/.claude/skills-ja/documentation-criteria/SKILL.md +1 -1
  78. package/.claude/skills-ja/documentation-criteria/references/design-template.md +10 -6
  79. package/.claude/skills-ja/documentation-criteria/references/plan-template.md +18 -8
  80. package/.claude/skills-ja/documentation-criteria/references/task-template.md +18 -0
  81. package/.claude/skills-ja/documentation-criteria/references/ui-spec-template.md +3 -3
  82. package/.claude/skills-ja/frontend-technical-spec/SKILL.md +4 -8
  83. package/.claude/skills-ja/frontend-typescript-rules/SKILL.md +5 -3
  84. package/.claude/skills-ja/frontend-typescript-testing/SKILL.md +5 -11
  85. package/.claude/skills-ja/frontend-typescript-testing/references/e2e.md +2 -2
  86. package/.claude/skills-ja/implementation-approach/SKILL.md +1 -1
  87. package/.claude/skills-ja/integration-e2e-testing/SKILL.md +1 -1
  88. package/.claude/skills-ja/integration-e2e-testing/references/e2e-environment-prerequisites.md +1 -1
  89. package/.claude/skills-ja/project-context/references/template.md +2 -2
  90. package/.claude/skills-ja/task-analyzer/references/skills-index.yaml +3 -3
  91. package/.claude/skills-ja/technical-spec/SKILL.md +4 -3
  92. package/.claude/skills-ja/typescript-testing/SKILL.md +4 -4
  93. package/CHANGELOG.md +19 -0
  94. package/package.json +1 -1
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## レーン選択
4
4
 
5
- 本ワークフローのE2Eテストは2つのレーンに分割される(integration-e2e-testingスキル参照):
5
+ 本ワークフローのE2Eテストは2つのレーンに分割される:
6
6
 
7
7
  | レーン | バックエンド構成 | 使用するパターン |
8
8
  |------|---------------|----------------|
@@ -120,7 +120,7 @@ export const test = base.extend<{ authenticatedPage: Page }>({
120
120
 
121
121
  ## フィクスチャベースのバックエンド(fixture-e2e)
122
122
 
123
- fixture-e2eテストは決定論的フィクスチャに対して実ブラウザを動かす — ライブバックエンドなし、DBなし、外部サービスなし。ネットワークをフェイクするには以下のパターンのいずれかを使用する:
123
+ fixture-e2eテストは決定論的フィクスチャに対して実ブラウザを動かす(ライブバックエンドなし、DBなし、外部サービスなし)。ネットワークをフェイクするには以下のパターンのいずれかを使用する:
124
124
 
125
125
  ### パターンA: page.route() による傍受
126
126
 
@@ -133,7 +133,7 @@ description: 実装戦略(垂直スライス、水平、ハイブリッド)
133
133
 
134
134
  ## メタ認知的実行のための指針
135
135
 
136
- 1. **既知パターンの活用**: 出発点として参考し、創造的組み合わせを探索
136
+ 1. **既知パターンの活用**: 出発点として参考にし、創造的組み合わせを探索
137
137
  2. **WebSearch積極活用**: 同種技術スタックの実装事例を調査
138
138
  3. **5 Whys適用**: 根本理由を追求し本質を把握
139
139
  4. **複数観点評価**: Phase 1-4の各観点から網羅的に評価
@@ -19,7 +19,7 @@ description: 統合テストとE2Eテストを設計。モック境界と振る
19
19
  | service-integration-e2e | 起動済みのローカルスタックに対してクリティカルユーザージャーニーを検証 | サービスをまたいだシステム全体 | ローカルの実サービスまたはスタブ | `*.service-e2e.test.ts` | 最大1-2件 | 最終フェーズでのみ実行 |
20
20
 
21
21
  **レーン選択(E2Eのみ)**:
22
- - ユーザー向けUIジャーニーのデフォルトレーンは **fixture-e2e** — 決定論的フィクスチャに対して実ブラウザを動かし、ユニット/統合テストでは捕捉できないバグ(ボタンが動作しない、状態が更新されない、ナビゲーションが壊れる等)を検出でき、インフラ準備なしにCIで実行可能
22
+ - ユーザー向けUIジャーニーのデフォルトレーンは **fixture-e2e** — 決定論的フィクスチャに対して実ブラウザを動かし、ユニット/統合テストでは検出できないバグ(ボタンが動作しない、状態が更新されない、ナビゲーションが壊れる等)を検出でき、インフラ準備なしにCIで実行可能
23
23
  - **service-integration-e2e** は、ジャーニーの正しさが安全にフェイクできない実サービス間の挙動(データ永続化、トランザクション整合性、外部サービスのコントラクト)に依存する場合のみ追加
24
24
 
25
25
  2つのE2Eレーンの予算は独立して計上される — あるジャーニーに fixture-e2e があっても service-integration-e2e の予算は消費されず、その逆も同様。
@@ -1,6 +1,6 @@
1
1
  # E2E環境前提条件
2
2
 
3
- E2Eテストはリアルなデータ状態で動作するアプリケーションが必要です。ユニット/統合テストと異なり、環境セットアップはE2Eテスト実装スコープの一部です。
3
+ E2Eテストには、リアルなデータ状態で動作するアプリケーションが必要である。ユニット/統合テストと異なり、環境セットアップはE2Eテスト実装スコープの一部である。
4
4
 
5
5
  ## Seed Data Strategy
6
6
 
@@ -108,7 +108,7 @@
108
108
 
109
109
  **軸出力ルール**:
110
110
 
111
- 1. **軸出力はスキーマを埋められるかで決まる。** ユーザーの選択肢が **場所** と **アクセス方法** の具体値が確定する外部リソースを指す場合、軸ブロックを出力する。次の選択肢では当該軸の出力行を 0 行にする:
111
+ 1. **軸出力はスキーマを埋められるかで決まる。** ユーザーの選択肢が、**場所** と **アクセス方法** の具体値を確定できる外部リソースを指す場合、軸ブロックを出力する。次の選択肢では当該軸の出力行を 0 行にする:
112
112
  - リソース不在を表明する選択肢: 「該当なし」、「<リソース>なし」、「<リソース>は不要」、「文書化された<リソース>なし」、「アドホックな<リソース>」、「手動<プロセス>(<リソース>なし)」。
113
113
  - その他の選択肢のうち、場所とアクセス方法の値が空になるもの。
114
114
 
@@ -125,7 +125,7 @@
125
125
  - アクセス方法: MCP サーバー `bigquery`
126
126
  ```
127
127
 
128
- 3. **軸間の参照**(例: 同一のシークレットストアがバックエンドとインフラストラクチャの両方に登場)— 1 回目の出現が正本フィールドを保持し、2 回目の出現はそこへの参照として出力する:
128
+ 3. **軸間の参照**(例: 同一のシークレットストアがバックエンドとインフラストラクチャの両方に登場)— 1 回目の出現で正本フィールドを記載し、2 回目の出現はそこへの参照として出力する:
129
129
  ```markdown
130
130
  #### インフラのシークレット
131
131
  - ソースタイプ: シークレットマネージャーから IaC のデータルックアップで取得するシークレット
@@ -51,7 +51,7 @@ skills:
51
51
  typescript-testing:
52
52
  skill: "typescript-testing"
53
53
  tags: [quality, testing, coverage, vitest, backend, implementation]
54
- typical-use: "バックエンドテスト作成、Vitest設定、70%カバレッジ要件、テスト品質基準"
54
+ typical-use: "バックエンドテスト作成、Vitest設定、カバレッジ方針、テスト品質基準"
55
55
  size: small
56
56
  key-references:
57
57
  - "Vitest公式ドキュメント"
@@ -200,12 +200,12 @@ skills:
200
200
  frontend-typescript-testing:
201
201
  skill: "frontend-typescript-testing"
202
202
  tags: [frontend, react, quality, testing, coverage, vitest, react-testing-library, msw, component-testing, implementation, playwright, e2e]
203
- typical-use: "Reactコンポーネントのテスト作成、React Testing Library、MSW、60%カバレッジ要件、Co-location、Playwright E2Eテスト"
203
+ typical-use: "Reactコンポーネントのテスト作成、React Testing Library、MSW、カバレッジ方針、Co-location、Playwright E2Eテスト"
204
204
  size: small
205
205
  key-references:
206
206
  - "React Testing Library - Kent C. Dodds"
207
207
  - "MSW (Mock Service Worker) - API Mocking"
208
- - "ADR-0002 Co-location原則"
208
+ - "Co-location原則"
209
209
  - "references/e2e.md - Playwright E2Eパターン"
210
210
  sections:
211
211
  - "参照"
@@ -92,6 +92,7 @@ package.jsonの`packageManager`フィールドに応じた実行コマンドを
92
92
  - **キャッシュ問題**: `test:coverage:fresh` スクリプトを実行
93
93
  - **依存関係エラー**: 依存関係のクリーンインストールを実行
94
94
 
95
- ### カバレッジ要件
96
- - **必須**: ユニットテストカバレッジは70%以上
97
- - **メトリクス**: Statements、Branches、Functions、Lines
95
+ ### カバレッジ
96
+ - カバレッジは目標ではなく未テスト領域を見つける診断シグナルとして扱う(目標化すると自明なテストに歪む — グッドハートの法則)。クリティカルパスとビジネスロジックなど、リグレッションが問題になる箇所にテストを集中させる
97
+ - 強制する数値しきい値はプロジェクトの CI / カバレッジ設定であり、それ自体が目的ではない
98
+ - **メトリクス**(カバレッジレポートの内訳): Statements、Branches、Functions、Lines
@@ -14,14 +14,14 @@ description: Vitestテスト設計と品質基準を適用。カバレッジ要
14
14
  ## テストの基本方針
15
15
 
16
16
  ### 品質要件
17
- - **カバレッジ**: 単体テストのカバレッジは70%以上を必須
17
+ - **カバレッジ**: カバレッジは目標ではなく未テスト領域を見つける診断シグナルとして扱う(目標化すると自明なテストに歪む — グッドハートの法則)。クリティカルパス・ビジネスロジック・リグレッションが問題になる振る舞いにテストを集中させる。数値しきい値はプロジェクトの CI 設定に委ねる
18
18
  - **独立性**: 各テストは他のテストに依存せず実行可能
19
19
  - **再現性**: テストは環境に依存せず、常に同じ結果を返す
20
20
  - **可読性**: テストコードも製品コードと同様の品質を維持
21
21
 
22
- ### カバレッジ要件
23
- **必須**: 単体テストのカバレッジは70%以上
24
- **指標**: Statements(文)、Branches(分岐)、Functions(関数)、Lines(行)
22
+ ### カバレッジ
23
+ - カバレッジ数値よりも意味のあるアサーションを優先する。パーセンテージ達成のためではなく、ギャップが実際のリグレッションを無防備にしている箇所でカバレッジを上げる
24
+ - **指標**(カバレッジレポートの内訳): Statements(文)、Branches(分岐)、Functions(関数)、Lines(行)
25
25
 
26
26
  ### テストの種類と範囲
27
27
  1. **単体テスト(Unit Tests)**
package/CHANGELOG.md CHANGED
@@ -5,6 +5,25 @@ 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.24.0] - 2026-06-18
9
+
10
+ ### Added
11
+
12
+ - **Observable-contract propagation** (agents, skills) — Design Doc binding observable values (column/label order, derived-display rules, state-lifecycle negatives) and serialized boundaries (Serialized Format + Consumer Parse Rule) now travel verbatim across plan → task → executor → review, enforced by the executor exit gate, `document-reviewer`, and `code-reviewer` (`dd_violation`). Mirrors the existing ADR Bindings lane.
13
+
14
+ ### Changed
15
+
16
+ - **Japanese parity and naturalness** — localized the above into ja, plus a corpus-wide Japanese naturalness and terminology pass across agents, skills, and commands (acceptance criteria unified to 受入条件 (AC) → AC).
17
+ - **Self-contained prompts** (agents, skills) — worker agents and skills no longer reference other agents or skills by name (en/ja); the orchestration layer (commands, `subagents-orchestration-guide`, `task-analyzer`) is unchanged.
18
+
19
+ ## [1.23.5] - 2026-06-14
20
+
21
+ ### Changed
22
+
23
+ - **Adjacent-case sweep** (agents, skills) — bug-fix / regression / state-change / boundary-change tasks carry a `Change Category` that drives a scoped sweep of sibling cases sharing the change's path, contract, state, or boundary: `task-decomposer` extends Investigation Targets, `task-executor` / `-frontend` fold in-scope residuals into tests and escalate confirmed out-of-scope siblings, `code-reviewer` adds an `adjacent_residual` finding (with optional `taskFiles` input and a self-classification fallback), and `verifier` / `solver` trace adjacent cases. Applied across en/ja.
24
+ - **Frontend rules modernization** (skills) — `frontend-typescript-rules` adopts bundler-agnostic env access (Vite / Next.js / CRA prefixes), React Compiler-aware memoization, a `useEffect` race/cleanup guard, RSC Server/Client boundary guidance, and a project-defined bundle budget in place of a fixed size.
25
+ - **Coverage reframed as a signal** (agents, skills) — coverage is a diagnostic signal rather than a target (Goodhart's Law), with any threshold deferred to the project's CI config; removed an invented standard label and a dangling ADR reference across the testing/spec skills.
26
+
8
27
  ## [1.23.4] - 2026-06-09
9
28
 
10
29
  ### Changed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-ai-project",
3
- "version": "1.23.4",
3
+ "version": "1.24.0",
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": [