create-ai-project 1.11.2 → 1.12.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 (146) hide show
  1. package/.claude/agents/acceptance-test-generator.md +179 -245
  2. package/.claude/agents/code-reviewer.md +3 -9
  3. package/.claude/agents/design-sync.md +221 -0
  4. package/.claude/agents/document-reviewer.md +15 -10
  5. package/.claude/agents/integration-test-reviewer.md +192 -0
  6. package/.claude/agents/prd-creator.md +10 -6
  7. package/.claude/agents/quality-fixer-frontend.md +324 -0
  8. package/.claude/agents/quality-fixer.md +48 -62
  9. package/.claude/agents/requirement-analyzer.md +8 -8
  10. package/.claude/agents/rule-advisor.md +84 -103
  11. package/.claude/agents/task-decomposer.md +21 -27
  12. package/.claude/agents/task-executor-frontend.md +264 -0
  13. package/.claude/agents/task-executor.md +4 -16
  14. package/.claude/agents/technical-designer-frontend.md +444 -0
  15. package/.claude/agents/technical-designer.md +52 -27
  16. package/.claude/agents/work-planner.md +41 -14
  17. package/.claude/agents-en/acceptance-test-generator.md +13 -13
  18. package/.claude/agents-en/code-reviewer.md +8 -10
  19. package/.claude/agents-en/design-sync.md +6 -5
  20. package/.claude/agents-en/document-reviewer.md +8 -7
  21. package/.claude/agents-en/integration-test-reviewer.md +5 -4
  22. package/.claude/agents-en/prd-creator.md +7 -6
  23. package/.claude/agents-en/quality-fixer-frontend.md +3 -14
  24. package/.claude/agents-en/quality-fixer.md +9 -20
  25. package/.claude/agents-en/requirement-analyzer.md +8 -7
  26. package/.claude/agents-en/rule-advisor.md +57 -128
  27. package/.claude/agents-en/task-decomposer.md +4 -10
  28. package/.claude/agents-en/task-executor-frontend.md +4 -16
  29. package/.claude/agents-en/task-executor.md +5 -16
  30. package/.claude/agents-en/technical-designer-frontend.md +17 -15
  31. package/.claude/agents-en/technical-designer.md +13 -15
  32. package/.claude/agents-en/work-planner.md +9 -14
  33. package/.claude/agents-ja/acceptance-test-generator.md +9 -15
  34. package/.claude/agents-ja/code-reviewer.md +3 -11
  35. package/.claude/agents-ja/design-sync.md +2 -6
  36. package/.claude/agents-ja/document-reviewer.md +4 -9
  37. package/.claude/agents-ja/integration-test-reviewer.md +2 -5
  38. package/.claude/agents-ja/prd-creator.md +3 -7
  39. package/.claude/agents-ja/quality-fixer-frontend.md +2 -13
  40. package/.claude/agents-ja/quality-fixer.md +7 -18
  41. package/.claude/agents-ja/requirement-analyzer.md +5 -8
  42. package/.claude/agents-ja/rule-advisor.md +57 -128
  43. package/.claude/agents-ja/task-decomposer.md +4 -10
  44. package/.claude/agents-ja/task-executor-frontend.md +3 -15
  45. package/.claude/agents-ja/task-executor.md +3 -17
  46. package/.claude/agents-ja/technical-designer-frontend.md +17 -15
  47. package/.claude/agents-ja/technical-designer.md +13 -15
  48. package/.claude/agents-ja/work-planner.md +9 -14
  49. package/.claude/commands/build.md +7 -10
  50. package/.claude/commands/design.md +15 -5
  51. package/.claude/commands/front-build.md +103 -0
  52. package/.claude/commands/front-design.md +42 -0
  53. package/.claude/commands/front-plan.md +40 -0
  54. package/.claude/commands/implement.md +23 -29
  55. package/.claude/commands/plan.md +4 -4
  56. package/.claude/commands/project-inject.md +4 -4
  57. package/.claude/{commands-ja/refine-rule.md → commands/refine-skill.md} +25 -25
  58. package/.claude/{commands-ja/sync-rules.md → commands/sync-skills.md} +28 -28
  59. package/.claude/commands/task.md +1 -1
  60. package/.claude/commands-en/build.md +2 -2
  61. package/.claude/commands-en/design.md +1 -1
  62. package/.claude/commands-en/implement.md +8 -8
  63. package/.claude/commands-en/plan.md +3 -3
  64. package/.claude/commands-en/project-inject.md +4 -4
  65. package/.claude/commands-en/{refine-rule.md → refine-skill.md} +47 -48
  66. package/.claude/commands-en/{sync-rules.md → sync-skills.md} +29 -29
  67. package/.claude/commands-ja/build.md +2 -2
  68. package/.claude/commands-ja/design.md +1 -1
  69. package/.claude/commands-ja/implement.md +8 -8
  70. package/.claude/commands-ja/plan.md +3 -3
  71. package/.claude/commands-ja/project-inject.md +4 -4
  72. package/.claude/{commands/refine-rule.md → commands-ja/refine-skill.md} +25 -25
  73. package/.claude/{commands/sync-rules.md → commands-ja/sync-skills.md} +28 -28
  74. package/.claude/settings.local.json +21 -1
  75. package/{docs/rules/ai-development-guide.md → .claude/skills/coding-standards/SKILL.md} +94 -108
  76. package/{docs/rules/documentation-criteria.md → .claude/skills/documentation-criteria/SKILL.md} +19 -6
  77. package/.claude/skills/documentation-criteria/references/adr-template.md +64 -0
  78. package/.claude/skills/documentation-criteria/references/design-template.md +242 -0
  79. package/.claude/skills/documentation-criteria/references/plan-template.md +130 -0
  80. package/.claude/skills/documentation-criteria/references/prd-template.md +109 -0
  81. package/.claude/skills/frontend/technical-spec/SKILL.md +147 -0
  82. package/.claude/skills/frontend/typescript-rules/SKILL.md +315 -0
  83. package/.claude/skills/frontend/typescript-testing/SKILL.md +212 -0
  84. package/{docs/rules-ja/architecture/implementation-approach.md → .claude/skills/implementation-approach/SKILL.md} +10 -5
  85. package/.claude/skills/integration-e2e-testing/SKILL.md +146 -0
  86. package/{docs/rules-ja/project-context.md → .claude/skills/project-context/SKILL.md} +7 -3
  87. package/.claude/skills/subagents-orchestration-guide/SKILL.md +212 -0
  88. package/.claude/skills/task-analyzer/SKILL.md +142 -0
  89. package/.claude/skills/task-analyzer/references/skills-index.yaml +211 -0
  90. package/.claude/skills/technical-spec/SKILL.md +86 -0
  91. package/{docs/rules/typescript.md → .claude/skills/typescript-rules/SKILL.md} +22 -67
  92. package/.claude/skills/typescript-testing/SKILL.md +155 -0
  93. package/{docs/rules-en/coding-standards.md → .claude/skills-en/coding-standards/SKILL.md} +21 -108
  94. package/{docs/rules-en/documentation-criteria.md → .claude/skills-en/documentation-criteria/SKILL.md} +40 -42
  95. package/{docs/adr/template-en.md → .claude/skills-en/documentation-criteria/references/adr-template.md} +1 -1
  96. package/{docs/design/template-en.md → .claude/skills-en/documentation-criteria/references/design-template.md} +11 -31
  97. package/{docs/plans/template-en.md → .claude/skills-en/documentation-criteria/references/plan-template.md} +4 -4
  98. package/{docs/prd/template-en.md → .claude/skills-en/documentation-criteria/references/prd-template.md} +1 -1
  99. package/{docs/rules-en/frontend/technical-spec.md → .claude/skills-en/frontend/technical-spec/SKILL.md} +17 -13
  100. package/{docs/rules-en/frontend/typescript.md → .claude/skills-en/frontend/typescript-rules/SKILL.md} +17 -12
  101. package/{docs/rules-en/frontend/typescript-testing.md → .claude/skills-en/frontend/typescript-testing/SKILL.md} +11 -6
  102. package/{docs/rules-en/architecture/implementation-approach.md → .claude/skills-en/implementation-approach/SKILL.md} +7 -2
  103. package/{docs/rules-en/integration-e2e-testing.md → .claude/skills-en/integration-e2e-testing/SKILL.md} +15 -18
  104. package/{docs/rules-en/project-context.md → .claude/skills-en/project-context/SKILL.md} +7 -3
  105. package/.claude/skills-en/subagents-orchestration-guide/SKILL.md +224 -0
  106. package/.claude/skills-en/task-analyzer/SKILL.md +131 -0
  107. package/{docs/rules-en/rules-index.yaml → .claude/skills-en/task-analyzer/references/skills-index.yaml} +34 -20
  108. package/{docs/rules-en/technical-spec.md → .claude/skills-en/technical-spec/SKILL.md} +6 -6
  109. package/{docs/rules-en/typescript.md → .claude/skills-en/typescript-rules/SKILL.md} +15 -10
  110. package/{docs/rules-en/typescript-testing.md → .claude/skills-en/typescript-testing/SKILL.md} +10 -4
  111. package/{docs/rules-ja/coding-standards.md → .claude/skills-ja/coding-standards/SKILL.md} +12 -99
  112. package/{docs/rules-ja/documentation-criteria.md → .claude/skills-ja/documentation-criteria/SKILL.md} +18 -5
  113. package/.claude/skills-ja/documentation-criteria/references/adr-template.md +64 -0
  114. package/.claude/skills-ja/documentation-criteria/references/design-template.md +261 -0
  115. package/{docs/plans/template-ja.md → .claude/skills-ja/documentation-criteria/references/plan-template.md} +38 -38
  116. package/{docs/prd/template-ja.md → .claude/skills-ja/documentation-criteria/references/prd-template.md} +33 -33
  117. package/{docs/rules-ja/frontend/technical-spec.md → .claude/skills-ja/frontend/technical-spec/SKILL.md} +13 -9
  118. package/.claude/skills-ja/frontend/typescript-rules/SKILL.md +315 -0
  119. package/{docs/rules-ja/frontend/typescript-testing.md → .claude/skills-ja/frontend/typescript-testing/SKILL.md} +93 -5
  120. package/{docs/rules/architecture/implementation-approach.md → .claude/skills-ja/implementation-approach/SKILL.md} +10 -5
  121. package/{docs/rules-ja/integration-e2e-testing.md → .claude/skills-ja/integration-e2e-testing/SKILL.md} +5 -8
  122. package/{docs/rules/project-context.md → .claude/skills-ja/project-context/SKILL.md} +7 -3
  123. package/.claude/skills-ja/subagents-orchestration-guide/SKILL.md +212 -0
  124. package/.claude/skills-ja/task-analyzer/SKILL.md +131 -0
  125. package/{docs/rules-ja/rules-index.yaml → .claude/skills-ja/task-analyzer/references/skills-index.yaml} +34 -19
  126. package/{docs/rules-ja/technical-spec.md → .claude/skills-ja/technical-spec/SKILL.md} +6 -6
  127. package/{docs/rules-ja/typescript.md → .claude/skills-ja/typescript-rules/SKILL.md} +16 -11
  128. package/{docs/rules-ja/typescript-testing.md → .claude/skills-ja/typescript-testing/SKILL.md} +11 -5
  129. package/CLAUDE.en.md +6 -6
  130. package/CLAUDE.ja.md +6 -6
  131. package/CLAUDE.md +19 -28
  132. package/README.ja.md +39 -10
  133. package/README.md +39 -10
  134. package/package.json +1 -1
  135. package/scripts/set-language.js +35 -53
  136. package/scripts/setup-project.js +4 -1
  137. package/docs/adr/template-ja.md +0 -64
  138. package/docs/design/template-ja.md +0 -285
  139. package/docs/guides/en/sub-agents.md +0 -343
  140. package/docs/guides/ja/sub-agents.md +0 -343
  141. package/docs/guides/sub-agents.md +0 -306
  142. package/docs/plans/20250123-integration-test-improvement.md +0 -993
  143. package/docs/rules/rules-index.yaml +0 -137
  144. package/docs/rules/technical-spec.md +0 -47
  145. package/docs/rules/typescript-testing.md +0 -188
  146. package/docs/rules-ja/frontend/typescript.md +0 -131
@@ -4,7 +4,7 @@ description: オーケストレーターとして要件分析から実装まで
4
4
 
5
5
  **コマンドコンテキスト**: 実装の完全サイクル管理(要件分析→設計→計画→実装→品質保証)
6
6
 
7
- @docs/guides/sub-agents.md を厳守し、オーケストレーターとして振る舞います。
7
+ subagents-orchestration-guideスキルの指針に従い、オーケストレーターとして振る舞います。
8
8
 
9
9
  ## 実行判断フロー
10
10
 
@@ -16,7 +16,7 @@ description: オーケストレーターとして要件分析から実装まで
16
16
  | 状況パターン | 判定基準 | 次のアクション |
17
17
  |------------|---------|-------------|
18
18
  | 新規要件 | 既存作業なし、新しい機能/修正依頼 | requirement-analyzerから開始 |
19
- | フロー継続 | 既存ドキュメント/タスクあり、継続指示 | sub-agents.mdのフローで次のステップを特定 |
19
+ | フロー継続 | 既存ドキュメント/タスクあり、継続指示 | subagents-orchestration-guideスキルのフローで次のステップを特定 |
20
20
  | 品質エラー | エラー検出、テスト失敗、ビルドエラー | quality-fixer実行 |
21
21
  | 不明瞭 | 意図が曖昧、複数の解釈が可能 | ユーザーに確認 |
22
22
 
@@ -24,48 +24,42 @@ description: オーケストレーターとして要件分析から実装まで
24
24
  フロー継続の場合、以下を確認:
25
25
  - 最新の成果物(PRD/ADR/Design Doc/作業計画書/タスク)
26
26
  - 現在のフェーズ位置(要件/設計/計画/実装/品質保証)
27
- - sub-agents.mdの該当フローで次のステップを特定
27
+ - subagents-orchestration-guideスキルの該当フローで次のステップを特定
28
28
 
29
- ### 3. 次のアクション実行
29
+ ### 3. 規模判定後:TodoWriteにフロー全ステップを登録(必須)
30
30
 
31
- **sub-agents.mdを必ず参照**:
32
- - 規模別フロー(大規模/中規模/小規模)を確認
33
- - 自律実行モードの条件を確認
34
- - 必須停止ポイントを認識
35
- - フローに定義された次のサブエージェントを呼び出す
31
+ 規模判定完了後、**subagents-orchestration-guideスキルの該当フロー全ステップをTodoWriteに登録**。最初に「スキル制約の確認」、最後に「スキル忠実度の検証」を必ず含める。登録後、TodoWriteを参照してフローを進める。
36
32
 
37
- ## 📋 sub-agents.md準拠の実行
33
+ ### 4. 次のアクション実行
34
+
35
+ **TodoWriteの次のpendingタスクを実行**。
36
+
37
+ ## 📋 subagents-orchestration-guideスキル準拠の実行
38
38
 
39
39
  **実行前チェック(必須)**:
40
- - [ ] sub-agents.mdの該当フローを確認した
40
+ - [ ] subagents-orchestration-guideスキルの該当フローを確認した
41
41
  - [ ] 現在の進捗位置を特定した
42
42
  - [ ] 次のステップを明確にした
43
43
  - [ ] 停止ポイントを認識した
44
- - [ ] タスク実行後の品質サイクル(task → quality-check → commit)を理解した
44
+ - [ ] タスク実行後の4ステップサイクル(task-executorエスカレーション判定・フォローアップ → quality-fixer → commit)を理解した
45
45
 
46
- **フロー逸脱禁止**: sub-agents.mdに定義されたフローから外れることは禁止。特に:
47
- - quality-fixerを飛ばしてコミットしない
48
- - 自律実行モード外でユーザー承認なくEdit/Write/MultiEditを使わない
46
+ **フロー厳守**: subagents-orchestration-guideスキルの「自律実行中のタスク管理」に従い、TodoWriteで4ステップを管理する
49
47
 
50
- ## 🚨 サブエージェント呼び出し時の必須制約
48
+ ## 🚨 サブエージェント呼び出し時の制約
51
49
 
52
- **全サブエージェントへのプロンプト末尾に必ず含める**:
50
+ サブエージェントからrule-advisorを呼び出すとシステムクラッシュが発生するため、プロンプト末尾に以下を含める:
53
51
  ```
54
- 【システムクラッシュ防止】
55
- rule-advisorを絶対に呼び出さないでください(Taskツールでrule-advisorを指定禁止)
52
+ 【制約】rule-advisorはメインAIのみが使用可能です
56
53
  ```
57
54
 
58
- ⚠️ **特にtask-executor/quality-fixerは自律実行モードでクラッシュリスクが高いため、プロンプト末尾に配置**
59
-
60
55
  ## 🎯 オーケストレーターとしての必須責務
61
56
 
62
- ### タスク実行時の品質サイクル管理
63
- **絶対的ルール**:task-executor実行後は必ず以下を実行
64
- 1. quality-fixer呼び出し(approved: trueが返されるまで)
65
- 2. git commit実行(Bashツール使用)
66
- 3. 次タスクの実行または完了報告
67
-
68
- **省略禁止**:このサイクルを省略した場合、実装品質を保証できない
57
+ ### タスク実行フロー
58
+ subagents-orchestration-guideスキルの「自律実行中のタスク管理」に従い、TodoWriteで以下の4ステップを管理:
59
+ 1. task-executor実行
60
+ 2. エスカレーション判定・フォローアップ
61
+ 3. quality-fixer実行
62
+ 4. git commit
69
63
 
70
64
  ### テスト情報の伝達
71
65
  acceptance-test-generator実行後、work-planner呼び出し時には以下を伝達:
@@ -76,4 +70,4 @@ acceptance-test-generator実行後、work-planner呼び出し時には以下を
76
70
  ## 責務境界
77
71
 
78
72
  **本コマンドの責務**: オーケストレーターとしてサブエージェントを適切に振り分け、完全サイクルを管理
79
- **責務外**: 自身での実装作業、調査作業(Grep/Glob/Read等)
73
+ **責務外**: 自身での実装作業、調査作業(Grep/Glob/Read等)
@@ -4,7 +4,7 @@ description: 設計書から作業計画書を作成し計画承認を取得
4
4
 
5
5
  **コマンドコンテキスト**: このコマンドは計画フェーズ専用です。
6
6
 
7
- @docs/guides/sub-agents.md を厳守し、以下のプロセスで作業計画書を作成します:
7
+ subagents-orchestration-guideスキルの指針に従い、以下のプロセスで作業計画書を作成します:
8
8
 
9
9
  ## 実行プロセス
10
10
 
@@ -16,11 +16,11 @@ description: 設計書から作業計画書を作成し計画承認を取得
16
16
  2. **E2Eテストスケルトンの生成確認**
17
17
  - E2Eテストスケルトンを先に生成するかユーザーに確認
18
18
  - 生成を希望する場合: acceptance-test-generator でテストスケルトンを生成
19
- - 生成結果を sub-agents.md の連携仕様に従って次工程に引き継ぐ
19
+ - 生成結果を subagents-orchestration-guideスキル の連携仕様に従って次工程に引き継ぐ
20
20
 
21
21
  3. **作業計画書の作成**
22
22
  - work-planner で作業計画書を作成
23
- - 前工程の成果物を sub-agents.md の連携仕様に従って活用
23
+ - 前工程の成果物を subagents-orchestration-guideスキル の連携仕様に従って活用
24
24
  - ユーザーと対話して計画を完成させ、計画内容の承認を得る
25
25
 
26
26
  **Think deeply** 選択された設計書から作業計画書を作成し、実装の具体的なステップとリスクを明確にします。
@@ -40,4 +40,4 @@ description: 設計書から作業計画書を作成し計画承認を取得
40
40
  ❌ **避ける**: 計画承認後の追加処理(タスク分解、実装開始等)
41
41
  - 理由: 計画フェーズの責務を超えるため
42
42
 
43
- **責務境界**: 本コマンドは計画フェーズに責任を持ち、計画内容の承認で責務完了。実装フェーズは責務範囲外のため品質を保証することができず、自動移行してはいけない。
43
+ **責務境界**: 本コマンドは計画フェーズに責任を持ち、計画内容の承認で責務完了。実装フェーズは責務範囲外のため、計画承認後はユーザーからの指示を待機する。
@@ -7,7 +7,7 @@ description: プロジェクト固有のコンテキストをproject-context.md
7
7
  ## 実行プロセス
8
8
 
9
9
  ### 1. 現状確認
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. プロジェクトコンテキストの収集
@@ -50,7 +50,7 @@ description: プロジェクト固有のコンテキストをproject-context.md
50
50
  ### 責務の境界
51
51
  project-context.mdの単一責務は「プロジェクト固有の文脈情報」のみ:
52
52
  - ✅ 含める: プロジェクトの目的、ターゲット、ビジネス制約
53
- - ❌ 含めない: 技術スタック(→technical-spec.md)、実装原則(→typescript.md)、アーキテクチャ(→technical-spec.md)
53
+ - ❌ 含めない: 技術スタック(→technical-specスキル)、実装原則(→typescript-rulesスキル)、アーキテクチャ(→technical-specスキル)
54
54
 
55
55
  ### 構造化
56
56
  ```markdown
@@ -70,7 +70,7 @@ project-context.mdの単一責務は「プロジェクト固有の文脈情報
70
70
  2. [検証可能な要件]
71
71
  ```
72
72
 
73
- ### 4. rules-index.yaml更新
73
+ ### 4. skills-index.yaml更新
74
74
  project-contextセクションのtypical-useをプロジェクトに合わせて更新。
75
75
 
76
- **スコープ**: project-context.mdの更新のみ。技術選択は他のルールファイルの責務。
76
+ **スコープ**: project-contextスキルの更新のみ。技術選択は他のスキルの責務。
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: ユーザーのルール変更要求を精度最大化して実装
2
+ description: ユーザーのスキル変更要求を精度最大化して実装
3
3
  ---
4
4
 
5
5
  変更要求: $ARGUMENTS
@@ -8,7 +8,7 @@ description: ユーザーのルール変更要求を精度最大化して実装
8
8
 
9
9
  ## 適用する9つの観点
10
10
  1. コンテキスト圧迫 vs 実行精度 - 最小記述で最大精度
11
- 2. 重複排除 - ルールファイル内・ルールファイル間の一貫性
11
+ 2. 重複排除 - スキルファイル内・スキルファイル間の一貫性
12
12
  3. 責務の適切な集約 - 関連内容は1ファイルにまとめる(読み込み回数最小化)
13
13
  4. 判断基準明確化 - 測定可能な基準
14
14
  5. NG→推奨変換 - 推奨形式(背景:NG例を含む)
@@ -23,16 +23,16 @@ description: ユーザーのルール変更要求を精度最大化して実装
23
23
 
24
24
  未指定時の質問テンプレート:
25
25
  ```
26
- 1. どのルールファイルを変更しますか?
27
- 例: typescript.md / ai-development-guide.md / documentation-criteria.md
26
+ 1. どのスキルを変更しますか?
27
+ 例: typescript-rules / coding-standards / documentation-criteria
28
28
 
29
29
  2. 変更種別を選択:
30
- a) 新ルール追加(新しい基準を追加)
31
- b) 既存ルール修正(曖昧な記述を明確化)
32
- c) ルール削除(不要になった基準を削除)
30
+ a) 新基準追加(新しい基準を追加)
31
+ b) 既存基準修正(曖昧な記述を明確化)
32
+ c) 基準削除(不要になった基準を削除)
33
33
 
34
34
  3. 具体的な変更内容:
35
- 例:「any型の使用を禁止するルールを追加」
35
+ 例:「any型の使用を禁止する基準を追加」
36
36
  例:「エラーハンドリングの基準を明確化」
37
37
  [ユーザー入力]
38
38
  ```
@@ -43,14 +43,14 @@ description: ユーザーのルール変更要求を精度最大化して実装
43
43
 
44
44
  ```
45
45
  # ツール選択基準(測定可能な判断)
46
- if ファイルパスが明示されている:
47
- Read: 指定ファイルを直接読み込み(背景:Glob不要でコンテキスト節約)
48
- else if ファイル名の一部のみ判明:
49
- Glob: docs/rules/*{キーワード}*.md で探索
46
+ if スキル名が明示されている:
47
+ Read: .claude/skills/{スキル名}/SKILL.md を直接読み込み
48
+ else if スキル名の一部のみ判明:
49
+ Glob: .claude/skills/*{キーワード}*/SKILL.md で探索
50
50
  Read: 特定したファイルの現状確認
51
51
  else:
52
- Glob: docs/rules/*.md で全件確認(背景:対象不明時は網羅的探索)
53
- ユーザーに対象ファイル選択を確認
52
+ Glob: .claude/skills/*/SKILL.md で全件確認
53
+ ユーザーに対象スキル選択を確認
54
54
  ```
55
55
 
56
56
  変更設計テンプレート:
@@ -98,7 +98,7 @@ else:
98
98
  2. 以下の観点で実際に修正を実施:
99
99
  - 同一概念の重複 → 統合
100
100
  - 過度に詳細な説明 → 簡潔化
101
- - 他ルールとの重複 → 参照に置換
101
+ - 他スキルとの重複 → 参照に置換
102
102
  3. 修正前後の差分を記録(削除理由も明記)
103
103
 
104
104
  報告フォーマット:
@@ -133,13 +133,13 @@ else:
133
133
 
134
134
  1. 適切なツールで変更適用(ユーザー承認後)
135
135
  2. git diffで変更内容を最終確認
136
- 3. `/sync-rules` 実行提案
136
+ 3. `/sync-skills` 実行提案
137
137
 
138
138
  ## 判断基準チェックリスト
139
139
  - [ ] 「if-then」形式で表現可能(「~の場合は~する」)
140
140
  - [ ] 数値・個数・状態で判定可能(主観的判断を排除)
141
141
  - [ ] 関連内容は1ファイルに集約(読み込み回数最小化)
142
- - [ ] 他ルールとの関係明記(依存・参照・委譲)
142
+ - [ ] 他スキルとの関係明記(依存・参照・委譲)
143
143
  - [ ] NG例を背景情報として含む
144
144
  - [ ] 前提条件が全て明示されている
145
145
 
@@ -151,7 +151,7 @@ else:
151
151
  | 暗黙前提 | 「エラーハンドリングを実装」 | 「TypeScript環境でasync関数のエラーハンドリング実装」 |
152
152
  | 順序不明確 | 「以下を考慮:A、B、C」 | 「優先順:1.A(必須)、2.B(推奨)、3.C(任意)」 |
153
153
  | 冗長説明 | 「型安全性を確保するため、型を定義し、型チェックを行い、型エラーを防ぐ」 | 「型安全性の確保(定義・チェック・エラー防止)」 |
154
- | スコープ曖昧 | 「テストを書く」 | 「単体テストを書く(E2Eテストはtest-guideルール参照)」 |
154
+ | スコープ曖昧 | 「テストを書く」 | 「単体テストを書く(E2Eテストはtypescript-testingスキル参照)」 |
155
155
 
156
156
  ## 出力例
157
157
 
@@ -159,13 +159,13 @@ else:
159
159
  === 変更実装完了 ===
160
160
 
161
161
  【ユーザー要求】
162
- 「TypeScriptのエラーハンドリングルールを厳格化したい」
162
+ 「TypeScriptのエラーハンドリング基準を厳格化したい」
163
163
 
164
164
  【変更内容】
165
- 対象: docs/rules/typescript.md
165
+ 対象: .claude/skills/typescript-rules/SKILL.md
166
166
  セクション: ## エラーハンドリング
167
167
 
168
- 変更前:
168
+ 変更前:
169
169
  「エラーは適切に処理する」
170
170
 
171
171
  変更後(3回見直しプロセス完了):
@@ -187,7 +187,7 @@ else:
187
187
  - 曖昧表現: 1箇所 → 0箇所
188
188
  - NG例を背景情報として含む
189
189
 
190
- メタデータ同期のため /sync-rules を実行してください。
190
+ メタデータ同期のため /sync-skills を実行してください。
191
191
  ```
192
192
 
193
193
  ## 実行順序
@@ -197,10 +197,10 @@ else:
197
197
  4. 3回見直しプロセス
198
198
  5. ユーザー承認
199
199
  6. 変更適用
200
- 7. sync-rules提案
200
+ 7. sync-skills提案
201
201
 
202
202
  **スコープ**: ユーザー変更要求の理解と精度最大化実装
203
203
 
204
204
  ## エラーハンドリング
205
- - **ファイル未発見**: 利用可能なルール一覧を表示
206
- - **大規模変更検出**: 変更量50%以上の場合、段階的実施を提案
205
+ - **スキル未発見**: 利用可能なスキル一覧を表示
206
+ - **大規模変更検出**: 変更量50%以上の場合、段階的実施を提案
@@ -1,28 +1,28 @@
1
1
  ---
2
- description: ルール修正後のメタデータ同期とrule-advisor精度最適化
2
+ description: スキル修正後のメタデータ同期とrule-advisor精度最適化
3
3
  ---
4
4
 
5
- **コマンドコンテキスト**: ルールファイル編集後のメンテナンス作業
5
+ **コマンドコンテキスト**: スキルファイル編集後のメンテナンス作業
6
6
 
7
7
  **Think deeply** rule-advisorの実行精度を最大化するための同期作業:
8
8
 
9
9
  ## 実行フロー
10
10
 
11
- ### 1. ルールファイルのスキャン
11
+ ### 1. スキルファイルのスキャン
12
12
  ```bash
13
- # 実行時のルールディレクトリ
14
- RULES_DIR="docs/rules"
15
- INDEX_FILE="${RULES_DIR}/rules-index.yaml"
13
+ # 実行時のスキルディレクトリ
14
+ SKILLS_DIR=".claude/skills"
15
+ INDEX_FILE=".claude/skills/task-analyzer/references/skills-index.yaml"
16
16
 
17
- # 全ルールファイルを解析
18
- find "${RULES_DIR}" -name "*.md" -type f | sort
17
+ # 全スキルファイルを解析
18
+ find "${SKILLS_DIR}" -name "SKILL.md" -type f | sort
19
19
  ```
20
20
 
21
21
  ### 2. メタデータ同期と最適化
22
22
 
23
23
  #### セクション自動同期
24
- - 各ファイルの`## `セクションを抽出
25
- - rules-index.yamlのsectionsを自動更新
24
+ - 各SKILL.mdの`## `セクションを抽出
25
+ - skills-index.yamlのsectionsを自動更新
26
26
 
27
27
  #### タグの最適化
28
28
  - ファイル内容からキーワードを分析
@@ -39,23 +39,23 @@ find "${RULES_DIR}" -name "*.md" -type f | sort
39
39
 
40
40
  ### 3. rule-advisor向け最適化
41
41
 
42
- メタデータの質を向上させ、rule-advisorが正確にルールを選択できるよう調整:
42
+ メタデータの質を向上させ、rule-advisorが正確にスキルを選択できるよう調整:
43
43
 
44
44
  ```
45
- === ルールメタデータ同期 ===
46
- 対象: docs/rules
45
+ === スキルメタデータ同期 ===
46
+ 対象: .claude/skills
47
47
 
48
48
  実行した更新:
49
49
  ✅ sections同期
50
- - typescript-testing.md: 2セクション追加
51
- - ai-development-guide.md: 1セクション更新
50
+ - typescript-testing: 2セクション追加
51
+ - coding-standards: 1セクション更新
52
52
 
53
53
  ✅ tags最適化
54
- - typescript.md: [functional-programming]タグ追加を提案
55
- - technical-spec.md: [deprecated]タグ削除を提案
54
+ - typescript-rules: [functional-programming]タグ追加を提案
55
+ - technical-spec: [deprecated]タグ削除を提案
56
56
 
57
57
  ✅ typical-use改善
58
- - 3ファイルの説明をより具体的に更新
58
+ - 3スキルの説明をより具体的に更新
59
59
 
60
60
  最終結果: rule-advisor精度向上のための最適化完了
61
61
  ```
@@ -64,7 +64,7 @@ find "${RULES_DIR}" -name "*.md" -type f | sort
64
64
 
65
65
  **本質的な目的**:
66
66
  - 単なる整合性維持ではなく、rule-advisorの選択精度向上
67
- - ルール編集作業の仕上げとしてのメタデータ最適化
67
+ - スキル編集作業の仕上げとしてのメタデータ最適化
68
68
 
69
69
  **品質基準**:
70
70
  - sectionsは100%同期必須
@@ -83,23 +83,23 @@ find "${RULES_DIR}" -name "*.md" -type f | sort
83
83
 
84
84
  ## 実行タイミング
85
85
 
86
- - ルールファイル編集後(必須)
87
- - 新しいルールファイル追加時
88
- - 大規模なルール改訂後
86
+ - スキルファイル編集後(必須)
87
+ - 新しいスキルファイル追加時
88
+ - 大規模なスキル改訂後
89
89
  - rule-advisorの選択精度が低下したと感じた時
90
90
 
91
91
  ## 出力例
92
92
 
93
93
  ```
94
- === ルールメタデータ同期開始 ===
95
- 対象: docs/rules (9ファイル)
94
+ === スキルメタデータ同期開始 ===
95
+ 対象: .claude/skills (13スキル)
96
96
 
97
- [1/9] typescript.md
97
+ [1/13] typescript-rules
98
98
  ✅ sections: 7件同期完了
99
99
  💡 tags提案: +[functional-programming, dependency-injection]
100
100
  💡 typical-use: "TypeScript実装全般" → "型安全性重視の実装とモダンTypeScript機能活用"
101
101
 
102
- [2/9] typescript-testing.md
102
+ [2/13] typescript-testing
103
103
  ✅ sections: 2件追加(テストの粒度、モックの型安全性)
104
104
  ✅ tags: 変更なし
105
105
  ✅ typical-use: 現状維持
@@ -107,10 +107,10 @@ find "${RULES_DIR}" -name "*.md" -type f | sort
107
107
  ...
108
108
 
109
109
  === 同期完了 ===
110
- 更新: 3ファイル
110
+ 更新: 3スキル
111
111
  提案: 5件(承認してください)
112
112
 
113
113
  rule-advisor精度向上: 推定15%改善
114
114
  ```
115
115
 
116
- **スコープ**: ルール修正作業後のメタデータ同期とrule-advisor精度最適化。
116
+ **スコープ**: スキル修正作業後のメタデータ同期とrule-advisor精度最適化。
@@ -8,6 +8,6 @@ description: タスクを適切なルールに従って実行
8
8
 
9
9
  1. **適用ルール**: このタスクに該当する開発ルールは?
10
10
  2. **初動**: ルールに基づく最初のアクションは?
11
- 3. **禁止事項**: このタスクで避けるべきことは?
11
+ 3. **スコープ境界**: このタスクの完了条件と責務範囲は?
12
12
 
13
13
  上記を明示してから作業を開始します。
@@ -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.