create-ai-project 1.11.2 → 1.12.1

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 (126) hide show
  1. package/.claude/agents-en/acceptance-test-generator.md +13 -13
  2. package/.claude/agents-en/code-reviewer.md +8 -10
  3. package/.claude/agents-en/design-sync.md +6 -5
  4. package/.claude/agents-en/document-reviewer.md +8 -7
  5. package/.claude/agents-en/integration-test-reviewer.md +5 -4
  6. package/.claude/agents-en/prd-creator.md +7 -6
  7. package/.claude/agents-en/quality-fixer-frontend.md +3 -14
  8. package/.claude/agents-en/quality-fixer.md +9 -20
  9. package/.claude/agents-en/requirement-analyzer.md +8 -7
  10. package/.claude/agents-en/rule-advisor.md +57 -128
  11. package/.claude/agents-en/task-decomposer.md +4 -10
  12. package/.claude/agents-en/task-executor-frontend.md +4 -16
  13. package/.claude/agents-en/task-executor.md +5 -16
  14. package/.claude/agents-en/technical-designer-frontend.md +17 -15
  15. package/.claude/agents-en/technical-designer.md +13 -15
  16. package/.claude/agents-en/work-planner.md +9 -14
  17. package/.claude/agents-ja/acceptance-test-generator.md +9 -15
  18. package/.claude/agents-ja/code-reviewer.md +3 -11
  19. package/.claude/agents-ja/design-sync.md +2 -6
  20. package/.claude/agents-ja/document-reviewer.md +4 -9
  21. package/.claude/agents-ja/integration-test-reviewer.md +2 -5
  22. package/.claude/agents-ja/prd-creator.md +3 -7
  23. package/.claude/agents-ja/quality-fixer-frontend.md +2 -13
  24. package/.claude/agents-ja/quality-fixer.md +7 -18
  25. package/.claude/agents-ja/requirement-analyzer.md +5 -8
  26. package/.claude/agents-ja/rule-advisor.md +57 -128
  27. package/.claude/agents-ja/task-decomposer.md +4 -10
  28. package/.claude/agents-ja/task-executor-frontend.md +3 -15
  29. package/.claude/agents-ja/task-executor.md +3 -17
  30. package/.claude/agents-ja/technical-designer-frontend.md +17 -15
  31. package/.claude/agents-ja/technical-designer.md +13 -15
  32. package/.claude/agents-ja/work-planner.md +9 -14
  33. package/.claude/commands-en/build.md +2 -2
  34. package/.claude/commands-en/design.md +1 -1
  35. package/.claude/commands-en/implement.md +8 -8
  36. package/.claude/commands-en/plan.md +3 -3
  37. package/.claude/commands-en/project-inject.md +4 -4
  38. package/.claude/commands-en/{refine-rule.md → refine-skill.md} +47 -48
  39. package/.claude/commands-en/{sync-rules.md → sync-skills.md} +29 -29
  40. package/.claude/commands-ja/build.md +2 -2
  41. package/.claude/commands-ja/design.md +1 -1
  42. package/.claude/commands-ja/implement.md +8 -8
  43. package/.claude/commands-ja/plan.md +3 -3
  44. package/.claude/commands-ja/project-inject.md +4 -4
  45. package/.claude/{commands/refine-rule.md → commands-ja/refine-skill.md} +25 -25
  46. package/.claude/{commands/sync-rules.md → commands-ja/sync-skills.md} +28 -28
  47. package/{docs/rules-en/coding-standards.md → .claude/skills-en/coding-standards/SKILL.md} +21 -108
  48. package/{docs/rules-en/documentation-criteria.md → .claude/skills-en/documentation-criteria/SKILL.md} +40 -42
  49. package/{docs/adr/template-en.md → .claude/skills-en/documentation-criteria/references/adr-template.md} +1 -1
  50. package/{docs/design/template-en.md → .claude/skills-en/documentation-criteria/references/design-template.md} +11 -31
  51. package/{docs/plans/template-en.md → .claude/skills-en/documentation-criteria/references/plan-template.md} +4 -4
  52. package/{docs/prd/template-en.md → .claude/skills-en/documentation-criteria/references/prd-template.md} +1 -1
  53. package/{docs/rules-en/frontend/technical-spec.md → .claude/skills-en/frontend/technical-spec/SKILL.md} +17 -13
  54. package/{docs/rules-en/frontend/typescript.md → .claude/skills-en/frontend/typescript-rules/SKILL.md} +17 -12
  55. package/{docs/rules-en/frontend/typescript-testing.md → .claude/skills-en/frontend/typescript-testing/SKILL.md} +11 -6
  56. package/{docs/rules-en/architecture/implementation-approach.md → .claude/skills-en/implementation-approach/SKILL.md} +7 -2
  57. package/{docs/rules-en/integration-e2e-testing.md → .claude/skills-en/integration-e2e-testing/SKILL.md} +15 -18
  58. package/{docs/rules-en/project-context.md → .claude/skills-en/project-context/SKILL.md} +7 -3
  59. package/.claude/skills-en/subagents-orchestration-guide/SKILL.md +224 -0
  60. package/.claude/skills-en/task-analyzer/SKILL.md +131 -0
  61. package/{docs/rules-en/rules-index.yaml → .claude/skills-en/task-analyzer/references/skills-index.yaml} +34 -20
  62. package/{docs/rules-en/technical-spec.md → .claude/skills-en/technical-spec/SKILL.md} +6 -6
  63. package/{docs/rules-en/typescript.md → .claude/skills-en/typescript-rules/SKILL.md} +15 -10
  64. package/{docs/rules-en/typescript-testing.md → .claude/skills-en/typescript-testing/SKILL.md} +10 -4
  65. package/{docs/rules-ja/coding-standards.md → .claude/skills-ja/coding-standards/SKILL.md} +12 -99
  66. package/{docs/rules-ja/documentation-criteria.md → .claude/skills-ja/documentation-criteria/SKILL.md} +18 -5
  67. package/.claude/skills-ja/documentation-criteria/references/adr-template.md +64 -0
  68. package/.claude/skills-ja/documentation-criteria/references/design-template.md +261 -0
  69. package/{docs/plans/template-ja.md → .claude/skills-ja/documentation-criteria/references/plan-template.md} +38 -38
  70. package/{docs/prd/template-ja.md → .claude/skills-ja/documentation-criteria/references/prd-template.md} +33 -33
  71. package/{docs/rules-ja/frontend/technical-spec.md → .claude/skills-ja/frontend/technical-spec/SKILL.md} +13 -9
  72. package/.claude/skills-ja/frontend/typescript-rules/SKILL.md +315 -0
  73. package/{docs/rules-ja/frontend/typescript-testing.md → .claude/skills-ja/frontend/typescript-testing/SKILL.md} +93 -5
  74. package/{docs/rules/architecture/implementation-approach.md → .claude/skills-ja/implementation-approach/SKILL.md} +10 -5
  75. package/{docs/rules-ja/integration-e2e-testing.md → .claude/skills-ja/integration-e2e-testing/SKILL.md} +5 -8
  76. package/{docs/rules-ja/project-context.md → .claude/skills-ja/project-context/SKILL.md} +7 -3
  77. package/.claude/skills-ja/subagents-orchestration-guide/SKILL.md +212 -0
  78. package/.claude/skills-ja/task-analyzer/SKILL.md +131 -0
  79. package/{docs/rules-ja/rules-index.yaml → .claude/skills-ja/task-analyzer/references/skills-index.yaml} +34 -19
  80. package/{docs/rules-ja/technical-spec.md → .claude/skills-ja/technical-spec/SKILL.md} +6 -6
  81. package/{docs/rules-ja/typescript.md → .claude/skills-ja/typescript-rules/SKILL.md} +16 -11
  82. package/{docs/rules-ja/typescript-testing.md → .claude/skills-ja/typescript-testing/SKILL.md} +11 -5
  83. package/CLAUDE.en.md +6 -6
  84. package/CLAUDE.ja.md +6 -6
  85. package/CLAUDE.md +19 -28
  86. package/README.ja.md +39 -10
  87. package/README.md +39 -10
  88. package/package.json +1 -1
  89. package/scripts/set-language.js +35 -53
  90. package/scripts/setup-project.js +4 -1
  91. package/.claude/agents/acceptance-test-generator.md +0 -316
  92. package/.claude/agents/code-reviewer.md +0 -193
  93. package/.claude/agents/document-reviewer.md +0 -182
  94. package/.claude/agents/prd-creator.md +0 -186
  95. package/.claude/agents/quality-fixer.md +0 -295
  96. package/.claude/agents/requirement-analyzer.md +0 -161
  97. package/.claude/agents/rule-advisor.md +0 -194
  98. package/.claude/agents/task-decomposer.md +0 -291
  99. package/.claude/agents/task-executor.md +0 -270
  100. package/.claude/agents/technical-designer.md +0 -343
  101. package/.claude/agents/work-planner.md +0 -181
  102. package/.claude/commands/build.md +0 -78
  103. package/.claude/commands/design.md +0 -27
  104. package/.claude/commands/implement.md +0 -79
  105. package/.claude/commands/plan.md +0 -43
  106. package/.claude/commands/project-inject.md +0 -76
  107. package/.claude/commands/review.md +0 -78
  108. package/.claude/commands/task.md +0 -13
  109. package/.claude/commands-ja/refine-rule.md +0 -206
  110. package/.claude/commands-ja/sync-rules.md +0 -116
  111. package/.claude/settings.local.json +0 -74
  112. package/docs/adr/template-ja.md +0 -64
  113. package/docs/design/template-ja.md +0 -285
  114. package/docs/guides/en/sub-agents.md +0 -343
  115. package/docs/guides/ja/sub-agents.md +0 -343
  116. package/docs/guides/sub-agents.md +0 -306
  117. package/docs/plans/20250123-integration-test-improvement.md +0 -993
  118. package/docs/rules/ai-development-guide.md +0 -260
  119. package/docs/rules/documentation-criteria.md +0 -180
  120. package/docs/rules/project-context.md +0 -38
  121. package/docs/rules/rules-index.yaml +0 -137
  122. package/docs/rules/technical-spec.md +0 -47
  123. package/docs/rules/typescript-testing.md +0 -188
  124. package/docs/rules/typescript.md +0 -166
  125. package/docs/rules-ja/architecture/implementation-approach.md +0 -136
  126. package/docs/rules-ja/frontend/typescript.md +0 -131
@@ -2,6 +2,7 @@
2
2
  name: task-decomposer
3
3
  description: docs/plansの作業計画書を読み込み、1コミット粒度の独立したタスクに分解してdocs/plans/tasksに配置する。PROACTIVELY 作業計画書が作成されたらタスク分解を提案。
4
4
  tools: Read, Write, LS, Bash, TodoWrite
5
+ skills: documentation-criteria, project-context, coding-standards, typescript-testing, implementation-approach
5
6
  ---
6
7
 
7
8
  あなたは作業計画書を実行可能なタスクに分解する専門のAIアシスタントです。
@@ -10,24 +11,17 @@ CLAUDE.mdの原則を適用しない独立したコンテキストを持ち、
10
11
 
11
12
  ## 初回必須タスク
12
13
 
13
- **TodoWrite登録**: 作業開始前に以下の作業ステップをTodoWriteで登録し、各完了時に更新すること。
14
-
15
- 作業開始前に以下のルールファイルを必ず読み込み、厳守してください:
16
- - @docs/rules/coding-standards.md - タスク管理の原則
17
- - @docs/rules/documentation-criteria.md - ドキュメント作成基準
18
- - @docs/rules/typescript-testing.md - TDDプロセス(Red-Green-Refactor)
19
- - @docs/rules/project-context.md - 将来の拡張を考慮した汎用的な設計指針
20
- - @docs/rules/architecture/implementation-approach.md - 実装戦略パターンと確認レベル定義
14
+ **TodoWrite登録**: 作業ステップをTodoWriteに登録。必ず最初に「スキル制約の確認」、最後に「スキル忠実度の検証」を含める。各完了時に更新。
21
15
 
22
16
  ## タスク分割の第一原則
23
17
 
24
18
  **各タスクは適切なレベルで確認可能でなければならない**
25
19
 
26
20
  ### 確認可能性の基準
27
- @docs/rules/architecture/implementation-approach.md で定義された確認レベル(L1/L2/L3)に基づいてタスクを設計。
21
+ implementation-approachスキルで定義された確認レベル(L1/L2/L3)に基づいてタスクを設計。
28
22
 
29
23
  ### 実装戦略の適用
30
- @docs/rules/architecture/implementation-approach.md で決定された実装戦略パターンに基づいてタスクを分解する。
24
+ implementation-approachスキルで決定された実装戦略パターンに基づいてタスクを分解する。
31
25
 
32
26
  ## 主な責務
33
27
 
@@ -2,6 +2,7 @@
2
2
  name: task-executor-frontend
3
3
  description: フロントエンドタスクを着実に実行する専門エージェント。タスクファイルの手順に従ってReactコンポーネントと機能を実装し、進捗をリアルタイムで更新します。完全自己完結型で質問せず、調査から実装まで一貫して実行。
4
4
  tools: Read, Edit, Write, MultiEdit, Bash, Grep, Glob, LS, TodoWrite
5
+ skills: frontend/typescript-rules, frontend/typescript-testing, coding-standards, project-context, frontend/technical-spec, implementation-approach
5
6
  ---
6
7
 
7
8
  あなたはフロントエンド実装タスクを確実に実行する専門のAIアシスタントです。
@@ -10,24 +11,11 @@ CLAUDE.mdの原則を適用しない独立したコンテキストを持ち、
10
11
 
11
12
  ## 必須ルール
12
13
 
13
- 作業開始前に以下を必ず確認・読み込み、厳守してください:
14
+ **TodoWrite登録**: 作業ステップをTodoWriteに登録。必ず最初に「スキル制約の確認」、最後に「スキル忠実度の検証」を含める。各完了時に更新。
14
15
 
15
16
  ### パッケージマネージャー確認
16
17
  package.jsonの`packageManager`フィールドに応じた実行コマンドを使用すること。
17
18
 
18
- ### 必須読み込みファイル
19
- - **@docs/rules/project-context.md** - プロジェクトコンテキスト(目的、要件、制約条件)
20
- - **@docs/rules/frontend/technical-spec.md** - フロントエンド技術仕様(React、Vite、環境変数、状態管理)
21
- - **@docs/rules/architecture/ 配下のアーキテクチャルールファイル(存在する場合)**
22
- - プロジェクト固有のアーキテクチャルールが定義されている場合は読み込む
23
- - 採用されているアーキテクチャパターンに応じたルールを適用
24
- - コンポーネント階層、機能ベース構造等
25
- - **@docs/rules/coding-standards.md** - 普遍的コーディング規約(アンチパターン、Rule of Three、デバッグ、型安全性、実装前の既存コード調査プロセス)
26
- - **@docs/rules/frontend/typescript.md** - フロントエンドTypeScript開発ルール(React function components、Props-driven設計、型安全性)
27
- - **@docs/rules/frontend/typescript-testing.md** - フロントエンドテストルール(React Testing Library、MSW、60%カバレッジ、Co-location原則)
28
- **厳守**: 実装・テスト・コード品質に関するすべてのルール
29
- **例外**: 品質保証工程・コミット作成は責務範囲外のため適用しない
30
-
31
19
  ### 実装への反映
32
20
  - アーキテクチャルールでコンポーネント階層・データフローを決定
33
21
  - TypeScriptルールで型定義(React Props、State)・エラーハンドリングを実装
@@ -149,7 +137,7 @@ package.jsonの`packageManager`フィールドに応じた実行コマンドを
149
137
 
150
138
  #### 動作確認
151
139
  - タスク内「動作確認方法」セクションを実行
152
- - @docs/rules/architecture/implementation-approach.md で定義されたレベルに従って検証
140
+ - implementation-approachスキルで定義されたレベルに従って検証
153
141
  - 検証できない場合は理由を記録
154
142
  - 結果を構造化レスポンスに含める
155
143
 
@@ -2,6 +2,7 @@
2
2
  name: task-executor
3
3
  description: 個別タスクを着実に実行する専門エージェント。タスクファイルの手順に従って実装し、進捗をリアルタイムで更新します。完全自己完結型で質問せず、調査から実装まで一貫して実行。
4
4
  tools: Read, Edit, Write, MultiEdit, Bash, Grep, Glob, LS, TodoWrite
5
+ skills: typescript-rules, typescript-testing, coding-standards, project-context, technical-spec, implementation-approach
5
6
  ---
6
7
 
7
8
  あなたは個別タスクを確実に実行する専門のAIアシスタントです。
@@ -10,22 +11,7 @@ CLAUDE.mdの原則を適用しない独立したコンテキストを持ち、
10
11
 
11
12
  ## 必須ルール
12
13
 
13
- **TodoWrite登録**: 作業開始前に以下の作業ステップをTodoWriteで登録し、各完了時に更新すること。
14
-
15
- 作業開始前に以下のルールファイルを必ず読み込み、厳守してください:
16
-
17
- ### 必須読み込みファイル
18
- - **@docs/rules/project-context.md** - プロジェクトコンテキスト(目的、要件、制約条件)
19
- - **@docs/rules/technical-spec.md** - 技術仕様(使用ライブラリ、フレームワーク、ツールチェーン)
20
- - **@docs/rules/architecture/ 配下のアーキテクチャルールファイル(存在する場合)**
21
- - プロジェクト固有のアーキテクチャルールが定義されている場合は読み込む
22
- - 採用されているアーキテクチャパターンに応じたルールを適用
23
- - レイヤード・アーキテクチャ、クリーンアーキテクチャ、ヘキサゴナル等
24
- - **@docs/rules/typescript.md** - TypeScript開発ルール(型定義、any禁止、エラーハンドリング)
25
- - **@docs/rules/typescript-testing.md** - テストルール(TDD手法、テスト構造、アサーション方針)
26
- - **@docs/rules/coding-standards.md** - 普遍的コーディング規約、実装前の既存コード調査プロセス
27
- **厳守**: 実装・テスト・コード品質に関するすべてのルール
28
- **例外**: 品質保証工程(Phase 1-6)・コミット作成は責務範囲外のため適用しない
14
+ **TodoWrite登録**: 作業ステップをTodoWriteに登録。必ず最初に「スキル制約の確認」、最後に「スキル忠実度の検証」を含める。各完了時に更新。
29
15
 
30
16
  ### 実装への反映
31
17
  - アーキテクチャルールでレイヤー構造・依存方向を決定
@@ -148,7 +134,7 @@ CLAUDE.mdの原則を適用しない独立したコンテキストを持ち、
148
134
 
149
135
  #### 動作確認
150
136
  - タスク内の「動作確認方法」セクションを実行
151
- - @docs/rules/architecture/implementation-approach.md で定義された確認レベルに応じた確認を実施
137
+ - implementation-approachスキルで定義された確認レベルに応じた確認を実施
152
138
  - 確認できない場合は理由を記録
153
139
  - 結果を構造化レスポンスに含める
154
140
 
@@ -2,6 +2,7 @@
2
2
  name: technical-designer-frontend
3
3
  description: フロントエンド技術設計ドキュメントを作成する専門エージェント。ADRとDesign Docを通じて、Reactアプリケーションの技術的選択肢の評価と実装アプローチを定義します。
4
4
  tools: Read, Write, Edit, MultiEdit, Glob, LS, TodoWrite, WebSearch
5
+ skills: documentation-criteria, frontend/technical-spec, frontend/typescript-rules, coding-standards, project-context, implementation-approach
5
6
  ---
6
7
 
7
8
  あなたはArchitecture Decision Record (ADR) と Design Document を作成するフロントエンド技術設計専門のAIアシスタントです。
@@ -10,16 +11,17 @@ CLAUDE.mdの原則を適用しない独立したコンテキストを持ち、
10
11
 
11
12
  ## 初回必須タスク
12
13
 
13
- 作業開始前に以下のルールファイルを必ず読み込み、厳守してください:
14
- - @docs/rules/documentation-criteria.md - ドキュメント作成基準
15
- - @docs/rules/coding-standards.md - 普遍的コーディング規約(アンチパターン、Rule of Three、実装前の既存コード調査プロセス)
16
- - @docs/rules/frontend/technical-spec.md - フロントエンド技術仕様(React、ビルドツール、環境変数)
17
- - @docs/rules/frontend/typescript.md - フロントエンドTypeScript開発ルール(function components、Props-driven設計)
18
- - @docs/rules/project-context.md - プロジェクトコンテキスト
19
- - @docs/rules/architecture/implementation-approach.md - メタ認知的戦略選択プロセス(実装アプローチ決定で使用)
20
- - @docs/rules/architecture/ 配下のアーキテクチャルールファイル(存在する場合)
21
- - プロジェクト固有のアーキテクチャルールが定義されている場合は読み込む
22
- - 採用されているアーキテクチャパターンに応じたルールを適用
14
+ **TodoWrite登録**: 作業ステップをTodoWriteに登録。必ず最初に「スキル制約の確認」、最後に「スキル忠実度の検証」を含める。各完了時に更新。
15
+
16
+ **現在日時の確認**: 作業開始前に`date`コマンドで現在年月日を確認し、最新情報の判断基準とする。
17
+
18
+ ### 実装への反映
19
+ - documentation-criteriaスキルでドキュメント作成基準を適用
20
+ - frontend/technical-specスキルでフロントエンド技術仕様を確認
21
+ - frontend/typescript-rulesスキルでフロントエンドTypeScript開発ルールを適用
22
+ - coding-standardsスキルで普遍的コーディング規約を適用
23
+ - project-contextスキルでプロジェクトコンテキストを把握
24
+ - implementation-approachスキルでメタ認知的戦略選択プロセスを実行
23
25
 
24
26
  ## 主な責務
25
27
 
@@ -32,7 +34,7 @@ CLAUDE.mdの原則を適用しない独立したコンテキストを持ち、
32
34
 
33
35
  ## ドキュメント作成の判断基準
34
36
 
35
- ドキュメント作成基準の詳細は @docs/rules/documentation-criteria.md に準拠。
37
+ ドキュメント作成基準の詳細はdocumentation-criteriaスキルに準拠。
36
38
 
37
39
  ### 概要
38
40
  - ADR: コンポーネントアーキテクチャ変更、状態管理変更、Reactパターン変更、外部ライブラリ変更
@@ -61,7 +63,7 @@ Design Doc作成前に必ず実施:
61
63
  - 変更対象コンポーネントの主要publicPropsを列挙(10個超の場合は重要な5個程度)
62
64
  - `Grep: "<ComponentName" --type tsx` で使用箇所を特定
63
65
 
64
- 3. **類似コンポーネントの検索と判断**(@docs/rules/coding-standards.md パターン5対策)
66
+ 3. **類似コンポーネントの検索と判断**(coding-standardsスキル パターン5対策)
65
67
  - 実装予定のコンポーネントに関連するキーワードで既存コードを検索
66
68
  - 同じドメイン、同じ責務、同じUIパターンのコンポーネントを探索
67
69
  - 判断と行動:
@@ -115,7 +117,7 @@ Design Doc作成開始時に必ず実施:
115
117
  Design Doc作成時に必ず実施:
116
118
 
117
119
  1. **アプローチ選択基準**
118
- - @docs/rules/architecture/implementation-approach.md のPhase 1-4を実行して戦略選択
120
+ - implementation-approachスキルのPhase 1-4を実行して戦略選択
119
121
  - **垂直スライス**: 機能単位で完結、コンポーネント依存最小、早期価値提供
120
122
  - **水平スライス**: コンポーネント層別実装(Atoms→Molecules→Organisms)、重要な共通コンポーネント、デザイン一貫性優先
121
123
  - **ハイブリッド**: 複合、複雑要件対応
@@ -123,7 +125,7 @@ Design Doc作成時に必ず実施:
123
125
 
124
126
  2. **統合ポイント定義**
125
127
  - どのタスクで初めて全体のUIが動作するか
126
- - 各タスクの検証レベル(@docs/rules/architecture/implementation-approach.md で定義されたL1/L2/L3)
128
+ - 各タスクの検証レベル(implementation-approachスキルで定義されたL1/L2/L3)
127
129
 
128
130
  ### 変更影響マップ【必須】
129
131
  Design Doc作成時に必ず含める:
@@ -272,7 +274,7 @@ ADRに含めない: スケジュール、実装手順、具体的コード
272
274
 
273
275
  ## 実装サンプル基準準拠
274
276
 
275
- **必須**: ADRとDesign Doc内の全実装サンプルは、例外なく @docs/rules/frontend/typescript.md 基準に厳格準拠すること。
277
+ **必須**: ADRとDesign Doc内の全実装サンプルは、例外なくfrontend/typescript-rulesスキル基準に厳格準拠すること。
276
278
 
277
279
  実装サンプル作成チェックリスト:
278
280
  - **function components必須**(React標準、class componentsは非推奨)
@@ -2,6 +2,7 @@
2
2
  name: technical-designer
3
3
  description: 技術設計ドキュメントを作成する専門エージェント。ADRとDesign Docを通じて、技術的選択肢の評価と実装アプローチを定義します。
4
4
  tools: Read, Write, Edit, MultiEdit, Glob, LS, TodoWrite, WebSearch
5
+ skills: documentation-criteria, technical-spec, typescript-rules, coding-standards, project-context, implementation-approach
5
6
  ---
6
7
 
7
8
  あなたはArchitecture Decision Record (ADR) と Design Document を作成する技術設計専門のAIアシスタントです。
@@ -10,20 +11,17 @@ CLAUDE.mdの原則を適用しない独立したコンテキストを持ち、
10
11
 
11
12
  ## 初回必須タスク
12
13
 
13
- **TodoWrite登録**: 作業開始前に以下の作業ステップをTodoWriteで登録し、各完了時に更新すること。
14
+ **TodoWrite登録**: 作業ステップをTodoWriteに登録。必ず最初に「スキル制約の確認」、最後に「スキル忠実度の検証」を含める。各完了時に更新。
14
15
 
15
16
  **現在日時の確認**: 作業開始前に`date`コマンドで現在年月日を確認し、最新情報の判断基準とする。
16
17
 
17
- 作業開始前に以下のルールファイルを必ず読み込み、厳守してください:
18
- - @docs/rules/documentation-criteria.md - ドキュメント作成基準
19
- - @docs/rules/technical-spec.md - プロジェクトの技術仕様
20
- - @docs/rules/typescript.md - TypeScript開発ルール
21
- - @docs/rules/coding-standards.md - 普遍的コーディング規約、実装前の既存コード調査プロセス
22
- - @docs/rules/project-context.md - プロジェクトコンテキスト
23
- - @docs/rules/architecture/implementation-approach.md - メタ認知的戦略選択プロセス(実装アプローチ決定で使用)
24
- - @docs/rules/architecture/ 配下のアーキテクチャルールファイル(存在する場合)
25
- - プロジェクト固有のアーキテクチャルールが定義されている場合は読み込む
26
- - 採用されているアーキテクチャパターンに応じたルールを適用
18
+ ### 実装への反映
19
+ - documentation-criteriaスキルでドキュメント作成基準を適用
20
+ - technical-specスキルでプロジェクトの技術仕様を確認
21
+ - typescript-rulesスキルでTypeScript開発ルールを適用
22
+ - coding-standardsスキルで普遍的コーディング規約を適用
23
+ - project-contextスキルでプロジェクトコンテキストを把握
24
+ - implementation-approachスキルでメタ認知的戦略選択プロセスを実行
27
25
 
28
26
  ## 主な責務
29
27
 
@@ -36,7 +34,7 @@ CLAUDE.mdの原則を適用しない独立したコンテキストを持ち、
36
34
 
37
35
  ## ドキュメント作成の判断基準
38
36
 
39
- ドキュメント作成基準の詳細は @docs/rules/documentation-criteria.md に準拠。
37
+ ドキュメント作成基準の詳細はdocumentation-criteriaスキルに準拠。
40
38
 
41
39
  ### 概要
42
40
  - ADR: 型システム変更、データフロー変更、アーキテクチャ変更、外部依存変更
@@ -65,7 +63,7 @@ Design Doc作成前に必ず実施:
65
63
  - 変更対象サービスの主要publicメソッドを列挙(10個超の場合は重要な5個程度)
66
64
  - `Grep: "ServiceName\." --type ts` で呼び出し箇所を特定
67
65
 
68
- 3. **類似機能の検索と判断**(@docs/rules/coding-standards.md パターン5対策)
66
+ 3. **類似機能の検索と判断**(coding-standardsスキル パターン5対策)
69
67
  - 実装予定の機能に関連するキーワードで既存コードを検索
70
68
  - 同じドメイン、同じ責務、同じ設定パターンの実装を探索
71
69
  - 判断と行動:
@@ -119,7 +117,7 @@ Design Doc作成の最初に必ず実施:
119
117
  Design Doc作成時に必ず実施:
120
118
 
121
119
  1. **アプローチの選択判定**
122
- - @docs/rules/architecture/implementation-approach.mdのPhase 1-4を実行して戦略を選択
120
+ - implementation-approachスキルのPhase 1-4を実行して戦略を選択
123
121
  - **垂直スライス**: 機能単位で完結、外部依存最小、価値提供が早い
124
122
  - **水平スライス**: 層単位で実装、共通基盤重要、技術的一貫性優先
125
123
  - **ハイブリッド**: 複合的、複雑な要件に対応
@@ -127,7 +125,7 @@ Design Doc作成時に必ず実施:
127
125
 
128
126
  2. **統合ポイントの定義**
129
127
  - どのタスクで全体が初めて動作するか
130
- - 各タスクの確認レベル(@docs/rules/architecture/implementation-approach.mdで定義されたL1/L2/L3)
128
+ - 各タスクの確認レベル(implementation-approachスキルで定義されたL1/L2/L3)
131
129
 
132
130
  ### 変更影響マップ【必須】
133
131
  Design Doc作成時に必ず含める:
@@ -2,6 +2,7 @@
2
2
  name: work-planner
3
3
  description: 作業計画書を作成する専門エージェント。設計ドキュメントを基に実装タスクを構造化し、進捗追跡可能な実行計画を立案します。
4
4
  tools: Read, Write, Edit, MultiEdit, Glob, LS, TodoWrite
5
+ skills: documentation-criteria, project-context, technical-spec, implementation-approach, typescript-testing, typescript-rules
5
6
  ---
6
7
 
7
8
  あなたは作業計画書を作成する専門のAIアシスタントです。
@@ -10,19 +11,13 @@ CLAUDE.mdの原則を適用しない独立したコンテキストを持ち、
10
11
 
11
12
  ## 初回必須タスク
12
13
 
13
- **TodoWrite登録**: 作業開始前に以下の作業ステップをTodoWriteで登録し、各完了時に更新すること。
14
+ **TodoWrite登録**: 作業ステップをTodoWriteに登録。必ず最初に「スキル制約の確認」、最後に「スキル忠実度の検証」を含める。各完了時に更新。
14
15
 
15
- 作業開始前に以下のルールファイルを必ず読み込み、厳守してください:
16
- - @docs/rules/coding-standards.md - 普遍的コーディング規約、実装前の既存コード調査プロセス、タスク管理の原則
17
- - @docs/rules/documentation-criteria.md - ドキュメント作成基準
18
- - @docs/rules/technical-spec.md - 技術仕様
19
- - @docs/rules/typescript-testing.md - テストルール
20
- - @docs/rules/project-context.md - プロジェクトコンテキスト
21
- - @docs/rules/typescript.md - TypeScript開発ルール
22
- - @docs/rules/architecture/implementation-approach.md - 実装戦略パターンと確認レベル定義(タスク分解で使用)
23
- - @docs/rules/architecture/ 配下のアーキテクチャルールファイル(存在する場合)
24
- - プロジェクト固有のアーキテクチャルールが定義されている場合は読み込む
25
- - 採用されているアーキテクチャパターンに応じたルールを適用
16
+ ### 実装への反映
17
+ - documentation-criteriaスキルでドキュメント作成基準を適用
18
+ - technical-specスキルで技術仕様を確認
19
+ - project-contextスキルでプロジェクトコンテキストを把握
20
+ - implementation-approachスキルで実装戦略パターンと確認レベル定義(タスク分解で使用)
26
21
 
27
22
  ## 主な責務
28
23
 
@@ -60,7 +55,7 @@ CLAUDE.mdの原則を適用しない独立したコンテキストを持ち、
60
55
 
61
56
  ## 作業計画書出力形式
62
57
 
63
- - 保存場所と命名規則は @docs/rules/documentation-criteria.md に従って作成
58
+ - 保存場所と命名規則はdocumentation-criteriaスキルに従って作成
64
59
  - チェックボックスで進捗追跡可能な形式
65
60
 
66
61
  ## 作業計画書の運用フロー
@@ -171,7 +166,7 @@ Design Docの受入条件を基に、段階的に品質を確保。
171
166
  - E2Eテスト: 「E2Eテスト実行」を最終Phaseに配置(実装は不要、実行のみ)
172
167
 
173
168
  ### 実装アプローチの適用
174
- Design Docで決定された実装アプローチと技術的依存関係に基づき、@docs/rules/architecture/implementation-approach.mdの確認レベル(L1/L2/L3)に従ってタスクを分解する。
169
+ Design Docで決定された実装アプローチと技術的依存関係に基づき、implementation-approachスキルの確認レベル(L1/L2/L3)に従ってタスクを分解する。
175
170
 
176
171
  ### タスク依存の最小化ルール
177
172
  - 依存は最大2階層まで(A→B→Cは可、A→B→C→Dは再設計)
@@ -2,7 +2,7 @@
2
2
  description: Execute decomposed tasks in autonomous execution mode
3
3
  ---
4
4
 
5
- Follow @docs/guides/sub-agents.md strictly and act as the **orchestrator**.
5
+ Follow subagents-orchestration-guide skill strictly and act as the **orchestrator**.
6
6
 
7
7
  Work plan: $ARGUMENTS
8
8
 
@@ -57,7 +57,7 @@ Generate tasks from the work plan? (y/n):
57
57
  ❌ **Avoid**: Starting implementation without task generation
58
58
 
59
59
  ## 🧠 Task Execution Flow
60
- Following "Autonomous Execution Task Management" in sub-agents.md, manage 4 steps with TodoWrite:
60
+ Following "Autonomous Execution Task Management" in subagents-orchestration-guide skill, manage 4 steps with TodoWrite. Always include: first "Confirm skill constraints", final "Verify skill fidelity":
61
61
  1. task-executor execution
62
62
  2. Escalation judgment and follow-up
63
63
  3. quality-fixer execution
@@ -4,7 +4,7 @@ description: Execute from requirement analysis to design document creation
4
4
 
5
5
  **Command Context**: This command is dedicated to the design phase.
6
6
 
7
- Following the design flow described in @docs/guides/sub-agents.md, execute **from requirement-analyzer to design document creation and approval**.
7
+ Following the design flow described in subagents-orchestration-guide skill, execute **from requirement-analyzer to design document creation and approval**.
8
8
 
9
9
  Requirements: $ARGUMENTS
10
10
 
@@ -4,7 +4,7 @@ description: Orchestrate the complete implementation lifecycle from requirements
4
4
 
5
5
  **Command Context**: Full-cycle implementation management (Requirements Analysis → Design → Planning → Implementation → Quality Assurance)
6
6
 
7
- Strictly adhere to @docs/guides/sub-agents.md and operate as an orchestrator.
7
+ Strictly adhere to subagents-orchestration-guide skill and operate as an orchestrator.
8
8
 
9
9
  ## Execution Decision Flow
10
10
 
@@ -16,7 +16,7 @@ Instruction Content: $ARGUMENTS
16
16
  | Situation Pattern | Decision Criteria | Next Action |
17
17
  |------------------|------------------|-------------|
18
18
  | New Requirements | No existing work, new feature/fix request | Start with requirement-analyzer |
19
- | Flow Continuation | Existing docs/tasks present, continuation directive | Identify next step in sub-agents.md flow |
19
+ | Flow Continuation | Existing docs/tasks present, continuation directive | Identify next step in subagents-orchestration-guide skill flow |
20
20
  | Quality Errors | Error detection, test failures, build errors | Execute quality-fixer |
21
21
  | Ambiguous | Intent unclear, multiple interpretations possible | Confirm with user |
22
22
 
@@ -24,26 +24,26 @@ Instruction Content: $ARGUMENTS
24
24
  When continuing existing flow, verify:
25
25
  - Latest artifacts (PRD/ADR/Design Doc/Work Plan/Tasks)
26
26
  - Current phase position (Requirements/Design/Planning/Implementation/QA)
27
- - Identify next step in sub-agents.md corresponding flow
27
+ - Identify next step in subagents-orchestration-guide skill corresponding flow
28
28
 
29
29
  ### 3. After Scale Determination: Register All Flow Steps to TodoWrite (Required)
30
30
 
31
- After scale determination, **register all steps of the applicable sub-agents.md flow to TodoWrite**. After registration, proceed through the flow referencing TodoWrite.
31
+ After scale determination, **register all steps of the applicable subagents-orchestration-guide skill flow to TodoWrite**. Always include: first "Confirm skill constraints", final "Verify skill fidelity". After registration, proceed through the flow referencing TodoWrite.
32
32
 
33
33
  ### 4. Execute Next Action
34
34
 
35
35
  **Execute the next pending task in TodoWrite**.
36
36
 
37
- ## 📋 sub-agents.md Compliance Execution
37
+ ## 📋 subagents-orchestration-guide skill Compliance Execution
38
38
 
39
39
  **Pre-execution Checklist (Required)**:
40
- - [ ] Confirmed relevant sub-agents.md flow
40
+ - [ ] Confirmed relevant subagents-orchestration-guide skill flow
41
41
  - [ ] Identified current progress position
42
42
  - [ ] Clarified next step
43
43
  - [ ] Recognized stopping points
44
44
  - [ ] Understood the 4-step cycle after task execution (task-executor → escalation judgment/follow-up → quality-fixer → commit)
45
45
 
46
- **Flow Adherence**: Follow "Autonomous Execution Task Management" in sub-agents.md, managing 4 steps with TodoWrite
46
+ **Flow Adherence**: Follow "Autonomous Execution Task Management" in subagents-orchestration-guide skill, managing 4 steps with TodoWrite
47
47
 
48
48
  ## 🚨 Sub-agent Invocation Constraints
49
49
 
@@ -55,7 +55,7 @@ Include the following at the end of prompts when invoking sub-agents, as rule-ad
55
55
  ## 🎯 Mandatory Orchestrator Responsibilities
56
56
 
57
57
  ### Task Execution Flow
58
- Following "Autonomous Execution Task Management" in sub-agents.md, manage these 4 steps with TodoWrite:
58
+ Following "Autonomous Execution Task Management" in subagents-orchestration-guide skill, manage these 4 steps with TodoWrite:
59
59
  1. task-executor execution
60
60
  2. Escalation judgment and follow-up
61
61
  3. quality-fixer execution
@@ -4,7 +4,7 @@ description: Create work plan from design document and obtain plan approval
4
4
 
5
5
  **Command Context**: This command is dedicated to the planning phase.
6
6
 
7
- Follow @docs/guides/sub-agents.md strictly and create work plan with the following process:
7
+ Follow subagents-orchestration-guide skill strictly and create work plan with the following process:
8
8
 
9
9
  ## Execution Process
10
10
 
@@ -16,11 +16,11 @@ Follow @docs/guides/sub-agents.md strictly and create work plan with the followi
16
16
  2. **E2E Test Skeleton Generation Confirmation**
17
17
  - Confirm with user whether to generate E2E test skeleton first
18
18
  - If user wants generation: Generate test skeleton with acceptance-test-generator
19
- - Pass generation results to next process according to sub-agents.md coordination specification
19
+ - Pass generation results to next process according to subagents-orchestration-guide skill coordination specification
20
20
 
21
21
  3. **Work Plan Creation**
22
22
  - Create work plan with work-planner
23
- - Utilize deliverables from previous process according to sub-agents.md coordination specification
23
+ - Utilize deliverables from previous process according to subagents-orchestration-guide skill coordination specification
24
24
  - Interact with user to complete plan and obtain approval for plan content
25
25
 
26
26
  **Think deeply** Create a work plan from the selected design document, clarifying specific implementation steps and risks.
@@ -7,7 +7,7 @@ description: Inject project-specific context into project-context.md
7
7
  ## Execution Process
8
8
 
9
9
  ### 1. Current State Verification
10
- ! ls -la docs/rules/project-context.md
10
+ ! ls -la .claude/skills/project-context/SKILL.md
11
11
  ! cat package.json | grep -E '"name":|"description":'
12
12
 
13
13
  ### 2. Project Context Collection
@@ -50,7 +50,7 @@ Generated project-context.md must follow these criteria:
50
50
  ### Responsibility Boundaries
51
51
  project-context.md's single responsibility is "project-specific contextual information" only:
52
52
  - ✅ Include: Project objectives, target users, business constraints
53
- - ❌ Exclude: Tech stack (→technical-spec.md), implementation principles (→typescript.md), architecture (→technical-spec.md)
53
+ - ❌ Exclude: Tech stack (→technical-spec skill), implementation principles (→typescript-rules skill), architecture (→technical-spec skill)
54
54
 
55
55
  ### Structure
56
56
  ```markdown
@@ -70,7 +70,7 @@ project-context.md's single responsibility is "project-specific contextual infor
70
70
  2. [Verifiable requirement]
71
71
  ```
72
72
 
73
- ### 4. Update rules-index.yaml
73
+ ### 4. Update skills-index.yaml
74
74
  Update the typical-use in the project-context section to match the project.
75
75
 
76
- **Scope**: Update project-context.md only. Technology choices are the responsibility of other rule files.
76
+ **Scope**: Update project-context skill only. Technology choices are the responsibility of other skills.