create-ai-project 1.23.3 → 1.23.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.
Files changed (77) hide show
  1. package/.claude/agents-en/acceptance-test-generator.md +8 -31
  2. package/.claude/agents-en/code-reviewer.md +15 -24
  3. package/.claude/agents-en/code-verifier.md +3 -32
  4. package/.claude/agents-en/codebase-analyzer.md +10 -78
  5. package/.claude/agents-en/document-reviewer.md +10 -57
  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 +4 -8
  9. package/.claude/agents-en/quality-fixer.md +4 -8
  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 +19 -1
  18. package/.claude/agents-en/task-executor-frontend.md +15 -20
  19. package/.claude/agents-en/task-executor.md +15 -20
  20. package/.claude/agents-en/ui-analyzer.md +16 -115
  21. package/.claude/agents-en/verifier.md +9 -53
  22. package/.claude/agents-en/work-planner.md +2 -5
  23. package/.claude/agents-ja/acceptance-test-generator.md +8 -31
  24. package/.claude/agents-ja/code-reviewer.md +15 -24
  25. package/.claude/agents-ja/code-verifier.md +3 -32
  26. package/.claude/agents-ja/codebase-analyzer.md +10 -78
  27. package/.claude/agents-ja/document-reviewer.md +10 -57
  28. package/.claude/agents-ja/integration-test-reviewer.md +6 -37
  29. package/.claude/agents-ja/investigator.md +6 -59
  30. package/.claude/agents-ja/quality-fixer-frontend.md +4 -8
  31. package/.claude/agents-ja/quality-fixer.md +4 -8
  32. package/.claude/agents-ja/requirement-analyzer.md +3 -14
  33. package/.claude/agents-ja/rule-advisor.md +3 -16
  34. package/.claude/agents-ja/scope-discoverer.md +5 -29
  35. package/.claude/agents-ja/security-reviewer.md +2 -13
  36. package/.claude/agents-ja/skill-creator.md +3 -6
  37. package/.claude/agents-ja/skill-reviewer.md +7 -43
  38. package/.claude/agents-ja/solver.md +9 -24
  39. package/.claude/agents-ja/task-decomposer.md +19 -1
  40. package/.claude/agents-ja/task-executor-frontend.md +15 -20
  41. package/.claude/agents-ja/task-executor.md +15 -20
  42. package/.claude/agents-ja/ui-analyzer.md +16 -115
  43. package/.claude/agents-ja/verifier.md +9 -53
  44. package/.claude/agents-ja/work-planner.md +2 -5
  45. package/.claude/commands-en/build.md +6 -15
  46. package/.claude/commands-en/front-build.md +4 -13
  47. package/.claude/commands-en/implement.md +2 -15
  48. package/.claude/commands-en/plan.md +7 -2
  49. package/.claude/commands-en/prepare-implementation.md +7 -17
  50. package/.claude/commands-en/sync-skills.md +3 -3
  51. package/.claude/commands-ja/build.md +7 -16
  52. package/.claude/commands-ja/front-build.md +4 -13
  53. package/.claude/commands-ja/implement.md +2 -15
  54. package/.claude/commands-ja/plan.md +6 -1
  55. package/.claude/commands-ja/prepare-implementation.md +8 -18
  56. package/.claude/commands-ja/sync-skills.md +3 -3
  57. package/.claude/skills-en/documentation-criteria/references/plan-template.md +1 -3
  58. package/.claude/skills-en/documentation-criteria/references/task-template.md +8 -0
  59. package/.claude/skills-en/frontend-technical-spec/SKILL.md +4 -8
  60. package/.claude/skills-en/frontend-typescript-rules/SKILL.md +4 -2
  61. package/.claude/skills-en/frontend-typescript-testing/SKILL.md +5 -11
  62. package/.claude/skills-en/integration-e2e-testing/SKILL.md +2 -0
  63. package/.claude/skills-en/subagents-orchestration-guide/SKILL.md +2 -7
  64. package/.claude/skills-en/technical-spec/SKILL.md +4 -3
  65. package/.claude/skills-en/typescript-testing/SKILL.md +4 -4
  66. package/.claude/skills-ja/documentation-criteria/references/plan-template.md +1 -3
  67. package/.claude/skills-ja/documentation-criteria/references/task-template.md +8 -0
  68. package/.claude/skills-ja/frontend-technical-spec/SKILL.md +4 -8
  69. package/.claude/skills-ja/frontend-typescript-rules/SKILL.md +4 -2
  70. package/.claude/skills-ja/frontend-typescript-testing/SKILL.md +5 -11
  71. package/.claude/skills-ja/integration-e2e-testing/SKILL.md +2 -0
  72. package/.claude/skills-ja/subagents-orchestration-guide/SKILL.md +2 -7
  73. package/.claude/skills-ja/task-analyzer/references/skills-index.yaml +3 -3
  74. package/.claude/skills-ja/technical-spec/SKILL.md +4 -3
  75. package/.claude/skills-ja/typescript-testing/SKILL.md +4 -4
  76. package/CHANGELOG.md +16 -0
  77. package/package.json +1 -1
@@ -45,6 +45,8 @@ The two E2E lanes are budgeted independently — having a fixture-e2e for a jour
45
45
 
46
46
  ### Required Comment Format
47
47
 
48
+ The committed skeleton imports only the test framework (for `describe`/`it`/`it.todo`); the module under test is imported by the implementing task, never by the skeleton — a skeleton that references a not-yet-created module can fail gates that type-check, compile, or load test files before implementation begins.
49
+
48
50
  Each test MUST include the following annotations.
49
51
 
50
52
  ```typescript
@@ -216,14 +216,9 @@ According to scale determination:
216
216
 
217
217
  Note: At Small scale the implementation step still runs through task-executor with the standard 4-step cycle (`task-executor → escalation judgment → quality-fixer → commit`). Direct orchestrator edits are not used.
218
218
 
219
- ### Implementation Readiness Marker
219
+ ### Optional Preflight
220
220
 
221
- For Medium / Large scale, after Batch approval the work plan carries an `Implementation Readiness:` header (work-planner emits `pending`; promotion to `ready` or `escalated` is an external orchestration concern). The marker takes one of three values:
222
- - `pending` — initial state set by work-planner
223
- - `ready` — readiness verification has completed with no remaining gaps; safe to start the task execution cycle
224
- - `escalated` — readiness verification has completed but residual gaps require user judgment before execution
225
-
226
- External orchestration owns both the producer that promotes the marker beyond `pending` and the consumer that reads it before invoking task-executor. This guide does not invoke any orchestrator above the agent layer; agents read/write the marker only when explicitly asked.
221
+ For Medium / Large scale, after Batch approval implementation proceeds directly. Verifying the plan is implementable end-to-end (verification-strategy references, fixtures, UI rendering surface, E2E/local lane environment) is an optional preflight the user runs at their discretion via the prepare-implementation recipe, which exits no-op when readiness criteria already pass. This guide does not invoke any orchestrator above the agent layer.
227
222
 
228
223
  ## Cross-Layer Orchestration
229
224
 
@@ -92,6 +92,7 @@ Quality checks are mandatory upon implementation completion:
92
92
  - **Cache issues**: Run the `test:coverage:fresh` script
93
93
  - **Dependency errors**: Clean reinstall dependencies
94
94
 
95
- ### Coverage Requirements
96
- - **MANDATORY**: Unit test coverage MUST be 70% or higher
97
- - **Metrics**: Statements, Branches, Functions, Lines
95
+ ### Coverage
96
+ - Treat coverage as a diagnostic signal for finding untested areas, not a target (a target gets gamed into trivial tests — Goodhart's Law). Concentrate tests on critical paths and business logic whose regression would matter
97
+ - Any enforced numeric threshold is the project's CI/coverage config, not a goal in itself
98
+ - **Metrics** (what coverage reports break down): Statements, Branches, Functions, Lines
@@ -14,14 +14,14 @@ description: Applies Vitest test design and quality standards. Provides coverage
14
14
  ## Basic Testing Policy
15
15
 
16
16
  ### Quality Requirements
17
- - **Coverage**: Unit test coverage must be 70% or higher
17
+ - **Coverage**: treat coverage as a diagnostic signal for finding untested areas, not a target (a target gets gamed into trivial tests — Goodhart's Law). Concentrate tests on critical paths, business logic, and behavior whose regression would matter. Any numeric threshold is the project's CI config
18
18
  - **Independence**: Each test can run independently without depending on other tests
19
19
  - **Reproducibility**: Tests are environment-independent and always return the same results
20
20
  - **Readability**: Test code maintains the same quality as production code
21
21
 
22
- ### Coverage Requirements
23
- **Mandatory**: Unit test coverage must be 70% or higher
24
- **Metrics**: Statements, Branches, Functions, Lines
22
+ ### Coverage
23
+ - Prioritize meaningful assertions over the coverage number; raise coverage where a gap leaves a real regression unguarded, not to hit a percentage
24
+ - **Metrics** (what coverage reports break down): Statements, Branches, Functions, Lines
25
25
 
26
26
  ### Test Types and Scope
27
27
  1. **Unit Tests**
@@ -5,8 +5,6 @@
5
5
  想定影響範囲: Xファイル
6
6
  関連Issue/PR: #XXX(該当する場合)
7
7
  レビュースコープ: [Design Docとタスク対象から導出した変更予定ファイルの範囲。既存作業に対する改訂計画の場合はベースブランチ + diff範囲]
8
- <!-- 下記の行はmedium / large規模のみ — small規模はこのplan-templateではなくtask-templateを使用する。値の行は末尾コメントを付けず、下流のパーサがbare statusの抽出(pending | ready | escalated)を行えるように保つこと。 -->
9
- Implementation Readiness: pending
10
8
 
11
9
  ## 関連ドキュメント
12
10
  - 設計書:
@@ -214,7 +212,7 @@ Design Docの実装アプローチに基づいてフェーズ構成をひとつ
214
212
  - [ ] セキュリティレビュー: Design Docのセキュリティ考慮事項が実装されていることを確認
215
213
  - [ ] 品質チェック(型、lint、format)
216
214
  - [ ] 全テスト実行(テストスケルトン提供時は統合/E2Eテスト含む)
217
- - [ ] カバレッジ70%以上
215
+ - [ ] クリティカルパスのギャップシグナルとしてカバレッジを確認(強制しきい値はプロジェクトの CI 設定に従う)
218
216
  - [ ] ドキュメント更新
219
217
 
220
218
  ### 品質保証
@@ -17,6 +17,13 @@ Metadata:
17
17
  実装開始前に読むべきファイル(ファイルパス、任意でサーチヒント付き):
18
18
  - [例: src/orders/checkout (processOrder関数) — タスクの性質に基づきタスク分解時に決定]
19
19
 
20
+ ## Change Category
21
+ (タスクがバグ修正・リグレッション・状態変更・境界変更の場合のみ本フィールドを記載する — タスク分解時に設定。それ以外は省略する。)
22
+
23
+ `Change Category: <bug-fix, regression, state-change, boundary-change のうち該当するものをカンマ区切りで>`
24
+
25
+ 記載がある場合、実装は同一の経路・契約・永続状態・外部境界を共有するケースを、同一クラスの欠陥について走査する(Implementation Steps の Red Phase 参照)。
26
+
20
27
  ## Binding Decisions
21
28
  (作業計画書のADR Bindings表がこのタスクをカバーする場合に本セクションを記載する。それ以外は省略する。)
22
29
 
@@ -32,6 +39,7 @@ Metadata:
32
39
  ## Implementation Steps (TDD: Red-Green-Refactor)
33
40
  ### 1. Red Phase
34
41
  - [ ] 全ての Investigation Targets を読み、主要な所見を記録
42
+ - [ ] (Change Category が設定されている場合)同一の経路/契約/状態/境界を共有する隣接ケースを同一クラスの欠陥について走査し、スコープ内で見つかったものを失敗するテストに取り込む
35
43
  - [ ] Dependencies の成果物を確認(ある場合)
36
44
  - [ ] 契約定義を確認・作成
37
45
  - [ ] 失敗するテストを書く
@@ -133,14 +133,10 @@ package.jsonの`packageManager`フィールドに応じた実行コマンドを
133
133
  - `test:coverage:fresh` - カバレッジ測定
134
134
  - `check:all` - 全体統合チェック
135
135
 
136
- ### カバレッジ要件
137
- - **必須**: 単体テストのカバレッジは60%以上
138
- - **コンポーネント別目標**:
139
- - Atoms: 70%以上
140
- - Molecules: 65%以上
141
- - Organisms: 60%以上
142
- - Custom Hooks: 65%以上
143
- - Utils: 70%以上
136
+ ### カバレッジ
137
+ - カバレッジは目標ではなく未テスト領域を見つける診断シグナルとして扱う(目標化すると自明なテストに歪む — グッドハートの法則)
138
+ - 基盤的で再利用度の高いユニット(共有コンポーネント、カスタムフック、utils)にテストの重点を置く — リグレッション時の影響範囲が最も広い。合成度の高い面(organisms、ページ)は統合/E2Eのカバレッジに委ねる
139
+ - 強制する数値しきい値はプロジェクトの CI / カバレッジ設定であり、それ自体が目的ではない
144
140
 
145
141
  ### 非機能要件
146
142
  - **ブラウザ互換性**: Chrome/Firefox/Safari/Edge(最新2バージョン)
@@ -34,6 +34,7 @@ const user = raw // User に絞り込み済み
34
34
  - **Custom hook** をロジック再利用と依存注入の単位とする(テスト容易性のため、協調オブジェクトは hook 経由で注入する)。
35
35
  - **関数引数:** 位置引数は 0〜2 個。3 個以上は単一の options オブジェクトで受ける。
36
36
  - **状態の形:** 状態は明示的に型付けする。複数フィールドかつ離散的な遷移を持つ状態は、複数の `useState` ではなく discriminated union の action 型を用いた `useReducer` にする。
37
+ - **Server/Client 境界**(RSC フレームワークのみ — 例: Next.js App Router): データ取得とレンダリングは既定でサーバーコンポーネントに置き、インタラクティブ性は必要最小のスコープで `"use client"` 境界の内側に隔離する。ブラウザ専用 API(`window`、`localStorage`、イベントハンドラ)はクライアントコンポーネント内に留める — サーバーコンポーネントで呼ぶとレンダリングが壊れる。クライアントのみの SPA(例: Vite)では N/A — サーバーコンポーネントランタイムが無いプロジェクトではスキップする。
37
38
 
38
39
  ## エラーハンドリング
39
40
  - すべてのエラーを表に出す: ログして処理するか伝播する — 握り潰さない。
@@ -41,6 +42,7 @@ const user = raw // User に絞り込み済み
41
42
  - 想定内の失敗は `Result` 型で値として表現する。`throw` は想定外/回復不能なケースに限る。
42
43
  - 目的別のエラークラスは `code` を持つ基底 `AppError` を継承する(例: ValidationError, ApiError, NotFoundError)。
43
44
  - **層の責務:** API 層は transport エラーをドメインエラーへ変換する。hook は `AppError` を上位へ伝播する。Error Boundary はレンダリング時のエラーを捕捉しフォールバック UI を表示する。
45
+ - **Effect の競合/クリーンアップ:** `useEffect` 内のデータ取得は、順序が入れ替わった応答とアンマウント後の状態更新に対してガードする — `AbortController` か mounted フラグで stale な結果を中断・無視するか、キャンセルと重複排除を行うサーバー状態ライブラリ(React Query/SWR)を使う。`try-catch` だけではこれをカバーできない。
44
46
  - 機微情報(password, token, apiKey, creditCard)をログに出さない。
45
47
 
46
48
  ```typescript
@@ -63,8 +65,8 @@ class ErrorBoundary extends React.Component<{ children: React.ReactNode; fallbac
63
65
  ```
64
66
 
65
67
  ## プロジェクト規約
66
- - **環境変数:** ビルドツールの環境変数システム経由で読む(ブラウザに `process.env` は存在しない)。秘密情報はすべてサーバーサイドに置く — フロントエンドのコードはクライアントに配信される。
67
- - **バンドルとパフォーマンス:** `build` スクリプトで監視し 500KB 未満に保つ。高コストなコンポーネントは `React.memo` でメモ化する。`React.lazy` + `Suspense` でコード分割する。再レンダリングを最小化する状態構造にする。
68
+ - **環境変数:** クライアント側の環境変数はバンドラが公開するアクセサ経由で読む — 公開プレフィックスを持つ変数だけがブラウザに届き、プレフィックスの無い変数はブラウザでは `undefined` になる。プロジェクトのバンドラに合わせる: Vite は `import.meta.env.VITE_*`、Next.js の公開変数は `process.env.NEXT_PUBLIC_*`、CRA は `process.env.REACT_APP_*`。秘密情報はすべてサーバーサイドに置く — フロントエンドのコードはクライアントに配信される。
69
+ - **バンドルとパフォーマンス:** バンドルサイズは `build` スクリプトでプロジェクトの予算に対して監視する。`React.lazy` + `Suspense` でコード分割する。再レンダリングを最小化する状態構造にする。メモ化: React Compiler が有効なときはそれに任せる。手動の `React.memo`/`useMemo`/`useCallback` は、プロファイラまたは参照同一性で正当化される逃げ道としてのみ用いる(実測されたボトルネック、またはサードパーティ API effect 依存に対する安定した参照同一性)。
68
70
  - **命名:** コンポーネント/型は `PascalCase`、変数/関数は `camelCase`、hook は `use` 接頭辞、定数は `SCREAMING_SNAKE_CASE`。
69
71
  - **インポート:** `src/` からの絶対パス。順序: React → 外部ライブラリ → 内部(絶対)→ 内部(相対)→ 型のみ → スタイル/アセット。
70
72
  - **フォーマット:** Biome に従う(セミコロンやスタイルはプロジェクト設定に従う)。
@@ -24,21 +24,15 @@ description: React Testing Library、MSW、Playwright E2Eでテストを設計
24
24
  ## テストの基本方針
25
25
 
26
26
  ### 品質要件
27
- - **カバレッジ**: 単体テストのカバレッジは60%以上を必須(フロントエンド標準 2025)
27
+ - **カバレッジ**: クリティカルパスと高再利用コンポーネントに対する意味のあるアサーションを優先する。カバレッジは目標ではなくギャップ検出のシグナルとして扱う(目標化すると自明なテストに歪む — グッドハートの法則)。数値しきい値はプロジェクトの CI 設定に委ねる
28
28
  - **独立性**: 各テストは他のテストに依存せず実行可能
29
29
  - **再現性**: テストは環境に依存せず、常に同じ結果を返す
30
30
  - **可読性**: テストコードも製品コードと同様の品質を維持
31
31
 
32
- ### カバレッジ要件
33
- **必須**: 単体テストのカバレッジは60%以上
34
- **コンポーネント別目標**:
35
- - Atoms(Button、Text等): 70%以上
36
- - Molecules(FormField等): 65%以上
37
- - Organisms(Header、Footer等): 60%以上
38
- - Custom Hooks: 65%以上
39
- - Utils: 70%以上
32
+ ### テストの重点配分
33
+ 基盤的で再利用度の高いユニット(共有コンポーネント、カスタムフック、utils)を最も厚くテストする — 多くの機能から再利用されるものほど、リグレッション時の影響範囲が広い。合成度の高い面(organisms、ページ)は統合/E2Eのカバレッジに委ねる。数値しきい値はプロジェクトの CI 設定に委ねる。
40
34
 
41
- **指標**: Statements(文)、Branches(分岐)、Functions(関数)、Lines(行)
35
+ **指標**(カバレッジレポートの内訳): Statements(文)、Branches(分岐)、Functions(関数)、Lines(行)
42
36
 
43
37
  ### テストの種類と範囲
44
38
  1. **単体テスト(React Testing Library)**
@@ -74,7 +68,7 @@ src/
74
68
 
75
69
  **理由**:
76
70
  - React Testing Libraryのベストプラクティス
77
- - ADR-0002 Co-location原則
71
+ - Co-location原則: テストはそれがカバーする実装と同じ場所に置く
78
72
  - 実装と一緒にテストを見つけやすく、保守しやすい
79
73
 
80
74
  ### 命名規則
@@ -45,6 +45,8 @@ description: 統合テストとE2Eテストを設計。モック境界と振る
45
45
 
46
46
  ### 必須コメント形式
47
47
 
48
+ コミットするスケルトンは、テストフレームワーク(`describe`/`it`/`it.todo` 用)のみを import する。テスト対象モジュールは実装タスクが import するものであり、スケルトンでは import しない — まだ作成されていないモジュールを参照するスケルトンは、テストファイルを型チェック・コンパイル・ロードするゲートが実装着手前に失敗し得る。
49
+
48
50
  各テストに以下のアノテーションを含めること。
49
51
 
50
52
  ```typescript
@@ -211,14 +211,9 @@ quality-fixerが `status: "blocked"` を返した場合、`reason`で判別:
211
211
 
212
212
  注: 小規模スケールでも実装ステップは task-executor を介して標準の4ステップサイクル(`task-executor → エスカレーション判定 → quality-fixer → commit`)で実行する。オーケストレーターによる直接編集は行わない。
213
213
 
214
- ### Implementation Readinessマーカー
214
+ ### 任意の事前検証(Optional Preflight)
215
215
 
216
- Medium / Large規模では、一括承認後、作業計画書のヘッダに `Implementation Readiness:` 行が含まれる(work-plannerが`pending`を出力する。`ready` または `escalated` への昇格は外部オーケストレーションの関心事である)。マーカーは以下3値のいずれかを取る:
217
- - `pending` — work-plannerが設定する初期状態
218
- - `ready` — readiness検証が完了し残存ギャップなし。タスク実行サイクルを安全に開始できる
219
- - `escalated` — readiness検証は完了したが残存ギャップが存在し、実行前にユーザー判断が必要
220
-
221
- `pending`から先へマーカーを昇格させるプロデューサと、task-executor呼び出し前にマーカーを読むコンシューマは、いずれも外部オーケストレーションが所有する。本ガイドはエージェント層の上位にあるオーケストレーターを呼び出さない。エージェントは明示的に依頼された場合にのみマーカーを読み書きする。
216
+ Medium / Large規模では、一括承認後、実装はそのまま進行する。計画がエンドツーエンドで実装可能か(検証戦略の参照、fixture、UI 描画面、E2E/ローカルレーン環境)の検証は、ユーザーが任意に prepare-implementation レシピで実行する事前検証であり、readiness 基準が既に満たされていれば no-op で終了する。本ガイドはエージェント層の上位にあるオーケストレーターを呼び出さない。
222
217
 
223
218
  ## レイヤー横断オーケストレーション
224
219
 
@@ -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,22 @@ 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.23.5] - 2026-06-14
9
+
10
+ ### Changed
11
+
12
+ - **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.
13
+ - **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.
14
+ - **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.
15
+
16
+ ## [1.23.4] - 2026-06-09
17
+
18
+ ### Changed
19
+
20
+ - **Implementation Readiness gate → optional preflight** (agents, commands, skills) — The work plan no longer carries an `Implementation Readiness` marker and the build / front-build / implement recipes no longer halt on it. Verifying a plan is implementable end-to-end is now an optional, user-invoked preflight via `prepare-implementation`, which presents its Readiness Report in-session (instead of persisting it into the plan or promoting a header marker) and records committed Phase 0 tasks as done so `task-decomposer` does not regenerate them. `plan` surfaces the preflight as a conditional suggestion; `subagents-orchestration-guide` describes it as optional. Applied across en/ja.
21
+ - **Test skeletons stay green under static gates** (agents, skills) — `acceptance-test-generator` and `integration-e2e-testing` bound skeleton generation so a committed skeleton imports only the test framework (no module under test, assertions, or mocks); the implementing task adds executable code alongside the implementation, keeping a freshly committed skeleton green under typecheck / compile / test-load gates.
22
+ - **Removed decorative emojis** (agents, commands) — Stripped pictographic emojis from prompt files and simplified `task-executor` progress states to `[ ] → [x]`. Functional symbols (`[ ]` / `[x]` checkboxes, `→` flow arrows, check / cross marks) are retained.
23
+
8
24
  ## [1.23.3] - 2026-06-06
9
25
 
10
26
  ### Added
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-ai-project",
3
- "version": "1.23.3",
3
+ "version": "1.23.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": [