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.
- package/.claude/agents-en/acceptance-test-generator.md +13 -13
- package/.claude/agents-en/code-reviewer.md +8 -10
- package/.claude/agents-en/design-sync.md +6 -5
- package/.claude/agents-en/document-reviewer.md +8 -7
- package/.claude/agents-en/integration-test-reviewer.md +5 -4
- package/.claude/agents-en/prd-creator.md +7 -6
- package/.claude/agents-en/quality-fixer-frontend.md +3 -14
- package/.claude/agents-en/quality-fixer.md +9 -20
- package/.claude/agents-en/requirement-analyzer.md +8 -7
- package/.claude/agents-en/rule-advisor.md +57 -128
- package/.claude/agents-en/task-decomposer.md +4 -10
- package/.claude/agents-en/task-executor-frontend.md +4 -16
- package/.claude/agents-en/task-executor.md +5 -16
- package/.claude/agents-en/technical-designer-frontend.md +17 -15
- package/.claude/agents-en/technical-designer.md +13 -15
- package/.claude/agents-en/work-planner.md +9 -14
- package/.claude/agents-ja/acceptance-test-generator.md +9 -15
- package/.claude/agents-ja/code-reviewer.md +3 -11
- package/.claude/agents-ja/design-sync.md +2 -6
- package/.claude/agents-ja/document-reviewer.md +4 -9
- package/.claude/agents-ja/integration-test-reviewer.md +2 -5
- package/.claude/agents-ja/prd-creator.md +3 -7
- package/.claude/agents-ja/quality-fixer-frontend.md +2 -13
- package/.claude/agents-ja/quality-fixer.md +7 -18
- package/.claude/agents-ja/requirement-analyzer.md +5 -8
- package/.claude/agents-ja/rule-advisor.md +57 -128
- package/.claude/agents-ja/task-decomposer.md +4 -10
- package/.claude/agents-ja/task-executor-frontend.md +3 -15
- package/.claude/agents-ja/task-executor.md +3 -17
- package/.claude/agents-ja/technical-designer-frontend.md +17 -15
- package/.claude/agents-ja/technical-designer.md +13 -15
- package/.claude/agents-ja/work-planner.md +9 -14
- package/.claude/commands-en/build.md +2 -2
- package/.claude/commands-en/design.md +1 -1
- package/.claude/commands-en/implement.md +8 -8
- package/.claude/commands-en/plan.md +3 -3
- package/.claude/commands-en/project-inject.md +4 -4
- package/.claude/commands-en/{refine-rule.md → refine-skill.md} +47 -48
- package/.claude/commands-en/{sync-rules.md → sync-skills.md} +29 -29
- package/.claude/commands-ja/build.md +2 -2
- package/.claude/commands-ja/design.md +1 -1
- package/.claude/commands-ja/implement.md +8 -8
- package/.claude/commands-ja/plan.md +3 -3
- package/.claude/commands-ja/project-inject.md +4 -4
- package/.claude/{commands/refine-rule.md → commands-ja/refine-skill.md} +25 -25
- package/.claude/{commands/sync-rules.md → commands-ja/sync-skills.md} +28 -28
- package/{docs/rules-en/coding-standards.md → .claude/skills-en/coding-standards/SKILL.md} +21 -108
- package/{docs/rules-en/documentation-criteria.md → .claude/skills-en/documentation-criteria/SKILL.md} +40 -42
- package/{docs/adr/template-en.md → .claude/skills-en/documentation-criteria/references/adr-template.md} +1 -1
- package/{docs/design/template-en.md → .claude/skills-en/documentation-criteria/references/design-template.md} +11 -31
- package/{docs/plans/template-en.md → .claude/skills-en/documentation-criteria/references/plan-template.md} +4 -4
- package/{docs/prd/template-en.md → .claude/skills-en/documentation-criteria/references/prd-template.md} +1 -1
- package/{docs/rules-en/frontend/technical-spec.md → .claude/skills-en/frontend/technical-spec/SKILL.md} +17 -13
- package/{docs/rules-en/frontend/typescript.md → .claude/skills-en/frontend/typescript-rules/SKILL.md} +17 -12
- package/{docs/rules-en/frontend/typescript-testing.md → .claude/skills-en/frontend/typescript-testing/SKILL.md} +11 -6
- package/{docs/rules-en/architecture/implementation-approach.md → .claude/skills-en/implementation-approach/SKILL.md} +7 -2
- package/{docs/rules-en/integration-e2e-testing.md → .claude/skills-en/integration-e2e-testing/SKILL.md} +15 -18
- package/{docs/rules-en/project-context.md → .claude/skills-en/project-context/SKILL.md} +7 -3
- package/.claude/skills-en/subagents-orchestration-guide/SKILL.md +224 -0
- package/.claude/skills-en/task-analyzer/SKILL.md +131 -0
- package/{docs/rules-en/rules-index.yaml → .claude/skills-en/task-analyzer/references/skills-index.yaml} +34 -20
- package/{docs/rules-en/technical-spec.md → .claude/skills-en/technical-spec/SKILL.md} +6 -6
- package/{docs/rules-en/typescript.md → .claude/skills-en/typescript-rules/SKILL.md} +15 -10
- package/{docs/rules-en/typescript-testing.md → .claude/skills-en/typescript-testing/SKILL.md} +10 -4
- package/{docs/rules-ja/coding-standards.md → .claude/skills-ja/coding-standards/SKILL.md} +12 -99
- package/{docs/rules-ja/documentation-criteria.md → .claude/skills-ja/documentation-criteria/SKILL.md} +18 -5
- package/.claude/skills-ja/documentation-criteria/references/adr-template.md +64 -0
- package/.claude/skills-ja/documentation-criteria/references/design-template.md +261 -0
- package/{docs/plans/template-ja.md → .claude/skills-ja/documentation-criteria/references/plan-template.md} +38 -38
- package/{docs/prd/template-ja.md → .claude/skills-ja/documentation-criteria/references/prd-template.md} +33 -33
- package/{docs/rules-ja/frontend/technical-spec.md → .claude/skills-ja/frontend/technical-spec/SKILL.md} +13 -9
- package/.claude/skills-ja/frontend/typescript-rules/SKILL.md +315 -0
- package/{docs/rules-ja/frontend/typescript-testing.md → .claude/skills-ja/frontend/typescript-testing/SKILL.md} +93 -5
- package/{docs/rules/architecture/implementation-approach.md → .claude/skills-ja/implementation-approach/SKILL.md} +10 -5
- package/{docs/rules-ja/integration-e2e-testing.md → .claude/skills-ja/integration-e2e-testing/SKILL.md} +5 -8
- package/{docs/rules-ja/project-context.md → .claude/skills-ja/project-context/SKILL.md} +7 -3
- package/.claude/skills-ja/subagents-orchestration-guide/SKILL.md +212 -0
- package/.claude/skills-ja/task-analyzer/SKILL.md +131 -0
- package/{docs/rules-ja/rules-index.yaml → .claude/skills-ja/task-analyzer/references/skills-index.yaml} +34 -19
- package/{docs/rules-ja/technical-spec.md → .claude/skills-ja/technical-spec/SKILL.md} +6 -6
- package/{docs/rules-ja/typescript.md → .claude/skills-ja/typescript-rules/SKILL.md} +16 -11
- package/{docs/rules-ja/typescript-testing.md → .claude/skills-ja/typescript-testing/SKILL.md} +11 -5
- package/CLAUDE.en.md +6 -6
- package/CLAUDE.ja.md +6 -6
- package/CLAUDE.md +19 -28
- package/README.ja.md +39 -10
- package/README.md +39 -10
- package/package.json +1 -1
- package/scripts/set-language.js +35 -53
- package/scripts/setup-project.js +4 -1
- package/.claude/agents/acceptance-test-generator.md +0 -316
- package/.claude/agents/code-reviewer.md +0 -193
- package/.claude/agents/document-reviewer.md +0 -182
- package/.claude/agents/prd-creator.md +0 -186
- package/.claude/agents/quality-fixer.md +0 -295
- package/.claude/agents/requirement-analyzer.md +0 -161
- package/.claude/agents/rule-advisor.md +0 -194
- package/.claude/agents/task-decomposer.md +0 -291
- package/.claude/agents/task-executor.md +0 -270
- package/.claude/agents/technical-designer.md +0 -343
- package/.claude/agents/work-planner.md +0 -181
- package/.claude/commands/build.md +0 -78
- package/.claude/commands/design.md +0 -27
- package/.claude/commands/implement.md +0 -79
- package/.claude/commands/plan.md +0 -43
- package/.claude/commands/project-inject.md +0 -76
- package/.claude/commands/review.md +0 -78
- package/.claude/commands/task.md +0 -13
- package/.claude/commands-ja/refine-rule.md +0 -206
- package/.claude/commands-ja/sync-rules.md +0 -116
- package/.claude/settings.local.json +0 -74
- package/docs/adr/template-ja.md +0 -64
- package/docs/design/template-ja.md +0 -285
- package/docs/guides/en/sub-agents.md +0 -343
- package/docs/guides/ja/sub-agents.md +0 -343
- package/docs/guides/sub-agents.md +0 -306
- package/docs/plans/20250123-integration-test-improvement.md +0 -993
- package/docs/rules/ai-development-guide.md +0 -260
- package/docs/rules/documentation-criteria.md +0 -180
- package/docs/rules/project-context.md +0 -38
- package/docs/rules/rules-index.yaml +0 -137
- package/docs/rules/technical-spec.md +0 -47
- package/docs/rules/typescript-testing.md +0 -188
- package/docs/rules/typescript.md +0 -166
- package/docs/rules-ja/architecture/implementation-approach.md +0 -136
- package/docs/rules-ja/frontend/typescript.md +0 -131
|
@@ -1,206 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: ユーザーのルール変更要求を精度最大化して実装
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
変更要求: $ARGUMENTS
|
|
6
|
-
|
|
7
|
-
**Think deeply** ユーザーの変更意図を汲み取り、LLMが迷わない形で実装:
|
|
8
|
-
|
|
9
|
-
## 適用する9つの観点
|
|
10
|
-
1. コンテキスト圧迫 vs 実行精度 - 最小記述で最大精度
|
|
11
|
-
2. 重複排除 - ルールファイル内・ルールファイル間の一貫性
|
|
12
|
-
3. 責務の適切な集約 - 関連内容は1ファイルにまとめる(読み込み回数最小化)
|
|
13
|
-
4. 判断基準明確化 - 測定可能な基準
|
|
14
|
-
5. NG→推奨変換 - 推奨形式(背景:NG例を含む)
|
|
15
|
-
6. 表記統一 - 一貫した表現
|
|
16
|
-
7. 前提条件の明示化 - 暗黙前提を言語化
|
|
17
|
-
8. 記述順序最適化 - 冒頭:最重要、末尾:例外
|
|
18
|
-
9. スコープ境界明示 - 扱う/扱わない範囲
|
|
19
|
-
|
|
20
|
-
## 実行フロー
|
|
21
|
-
|
|
22
|
-
### 1. 変更要求の理解
|
|
23
|
-
|
|
24
|
-
未指定時の質問テンプレート:
|
|
25
|
-
```
|
|
26
|
-
1. どのルールファイルを変更しますか?
|
|
27
|
-
例: typescript.md / ai-development-guide.md / documentation-criteria.md
|
|
28
|
-
|
|
29
|
-
2. 変更種別を選択:
|
|
30
|
-
a) 新ルール追加(新しい基準を追加)
|
|
31
|
-
b) 既存ルール修正(曖昧な記述を明確化)
|
|
32
|
-
c) ルール削除(不要になった基準を削除)
|
|
33
|
-
|
|
34
|
-
3. 具体的な変更内容:
|
|
35
|
-
例:「any型の使用を禁止するルールを追加」
|
|
36
|
-
例:「エラーハンドリングの基準を明確化」
|
|
37
|
-
[ユーザー入力]
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
### 2. 変更設計案の作成
|
|
41
|
-
|
|
42
|
-
対象ファイル特定と現状確認:
|
|
43
|
-
|
|
44
|
-
```
|
|
45
|
-
# ツール選択基準(測定可能な判断)
|
|
46
|
-
if ファイルパスが明示されている:
|
|
47
|
-
Read: 指定ファイルを直接読み込み(背景:Glob不要でコンテキスト節約)
|
|
48
|
-
else if ファイル名の一部のみ判明:
|
|
49
|
-
Glob: docs/rules/*{キーワード}*.md で探索
|
|
50
|
-
Read: 特定したファイルの現状確認
|
|
51
|
-
else:
|
|
52
|
-
Glob: docs/rules/*.md で全件確認(背景:対象不明時は網羅的探索)
|
|
53
|
-
ユーザーに対象ファイル選択を確認
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
変更設計テンプレート:
|
|
57
|
-
```
|
|
58
|
-
【現状】
|
|
59
|
-
「エラーは適切に処理する」(曖昧:「適切」の基準不明)
|
|
60
|
-
|
|
61
|
-
【ユーザー要求の理解】
|
|
62
|
-
「エラーハンドリングを厳格化したい」→ 測定可能な基準を設定
|
|
63
|
-
|
|
64
|
-
【変更案】
|
|
65
|
-
「エラーハンドリング実装基準:
|
|
66
|
-
1. try-catch必須条件:
|
|
67
|
-
- 外部API呼び出し(fetch, axios等)
|
|
68
|
-
- ファイルI/O操作(fs.readFile等)
|
|
69
|
-
- JSON.parse、parseInt等の変換処理
|
|
70
|
-
2. エラーログ必須項目:
|
|
71
|
-
- error.name(エラー種別)
|
|
72
|
-
- error.stack(発生箇所)
|
|
73
|
-
- タイムスタンプ(ISO 8601形式)
|
|
74
|
-
3. ユーザー通知基準:
|
|
75
|
-
- 技術詳細を含まない(NG例:スタックトレース表示)
|
|
76
|
-
- 対処法を明示(推奨:「再度お試しください」)」
|
|
77
|
-
|
|
78
|
-
この設計で進めますか? (y/n)
|
|
79
|
-
```
|
|
80
|
-
|
|
81
|
-
### 3. 3回見直しプロセス
|
|
82
|
-
|
|
83
|
-
#### 第1回: 実行精度最大化の観点で追記【追記専用モード】
|
|
84
|
-
開始宣言: 「第1回:追記モードで実行。削除は一切行わない」
|
|
85
|
-
- 曖昧表現→測定可能基準に変換
|
|
86
|
-
例:「大きい」→「100行以上」「5ファイル以上」
|
|
87
|
-
- 暗黙前提→明示的条件として記載
|
|
88
|
-
例:「TypeScript環境で」「async関数内で」
|
|
89
|
-
- 例外ケース・エッジケースの定義
|
|
90
|
-
例:「null/undefinedの場合」「空配列の場合」
|
|
91
|
-
報告: 追記項目数をカウント(最低5項目)
|
|
92
|
-
|
|
93
|
-
#### 第2回: 批判的修正で冗長性を削減【実修正モード】
|
|
94
|
-
開始宣言: 「第2回:批判的修正モードで実行。冗長と判断した箇所を実際に削除・統合」
|
|
95
|
-
|
|
96
|
-
修正作業:
|
|
97
|
-
1. 第1回の追記内容を批判的に検証
|
|
98
|
-
2. 以下の観点で実際に修正を実施:
|
|
99
|
-
- 同一概念の重複 → 統合
|
|
100
|
-
- 過度に詳細な説明 → 簡潔化
|
|
101
|
-
- 他ルールとの重複 → 参照に置換
|
|
102
|
-
3. 修正前後の差分を記録(削除理由も明記)
|
|
103
|
-
|
|
104
|
-
報告フォーマット:
|
|
105
|
-
```
|
|
106
|
-
修正箇所数: X件
|
|
107
|
-
削除・統合した内容:
|
|
108
|
-
- [削除前]: 「詳細な記述」
|
|
109
|
-
[削除後]: 「簡潔な記述」
|
|
110
|
-
[理由]: 冗長性の排除
|
|
111
|
-
```
|
|
112
|
-
|
|
113
|
-
#### 第3回: 差分評価による精度確保【復元判定モード】
|
|
114
|
-
開始宣言: 「第3回:差分評価モードで実行。第2回の修正を検証し、必要なら復元」
|
|
115
|
-
|
|
116
|
-
検証作業:
|
|
117
|
-
1. 第2回の各修正について評価:
|
|
118
|
-
- この削除で実装時に迷う可能性があるか?
|
|
119
|
-
- エッジケースの考慮が漏れていないか?
|
|
120
|
-
2. 精度低下リスクがある削除 → 復元
|
|
121
|
-
3. 妥当な削除 → 維持
|
|
122
|
-
|
|
123
|
-
最終確認質問(必須回答):
|
|
124
|
-
「ユーザーの変更要求を正確に実装するための必要十分条件が揃っているか?」
|
|
125
|
-
|
|
126
|
-
報告: 復元項目数と最終的な削減率
|
|
127
|
-
|
|
128
|
-
### 4. 承認取得
|
|
129
|
-
|
|
130
|
-
変更前後の比較を提示し、ユーザー承認を取得。
|
|
131
|
-
|
|
132
|
-
### 5. 実装
|
|
133
|
-
|
|
134
|
-
1. 適切なツールで変更適用(ユーザー承認後)
|
|
135
|
-
2. git diffで変更内容を最終確認
|
|
136
|
-
3. `/sync-rules` 実行提案
|
|
137
|
-
|
|
138
|
-
## 判断基準チェックリスト
|
|
139
|
-
- [ ] 「if-then」形式で表現可能(「~の場合は~する」)
|
|
140
|
-
- [ ] 数値・個数・状態で判定可能(主観的判断を排除)
|
|
141
|
-
- [ ] 関連内容は1ファイルに集約(読み込み回数最小化)
|
|
142
|
-
- [ ] 他ルールとの関係明記(依存・参照・委譲)
|
|
143
|
-
- [ ] NG例を背景情報として含む
|
|
144
|
-
- [ ] 前提条件が全て明示されている
|
|
145
|
-
|
|
146
|
-
## 削減パターン例
|
|
147
|
-
| パターン | 変換前 | 変換後 |
|
|
148
|
-
|---------|--------|--------|
|
|
149
|
-
| 感情的表現 | 「必ずすべき」 | 「以下の場合に実行(背景:実行しないとビルドエラー)」 |
|
|
150
|
-
| 時間表現 | 「すぐに実行」 | 「エラー検出後、最初に実行」 |
|
|
151
|
-
| 暗黙前提 | 「エラーハンドリングを実装」 | 「TypeScript環境でasync関数のエラーハンドリング実装」 |
|
|
152
|
-
| 順序不明確 | 「以下を考慮:A、B、C」 | 「優先順:1.A(必須)、2.B(推奨)、3.C(任意)」 |
|
|
153
|
-
| 冗長説明 | 「型安全性を確保するため、型を定義し、型チェックを行い、型エラーを防ぐ」 | 「型安全性の確保(定義・チェック・エラー防止)」 |
|
|
154
|
-
| スコープ曖昧 | 「テストを書く」 | 「単体テストを書く(E2Eテストはtest-guideルール参照)」 |
|
|
155
|
-
|
|
156
|
-
## 出力例
|
|
157
|
-
|
|
158
|
-
```
|
|
159
|
-
=== 変更実装完了 ===
|
|
160
|
-
|
|
161
|
-
【ユーザー要求】
|
|
162
|
-
「TypeScriptのエラーハンドリングルールを厳格化したい」
|
|
163
|
-
|
|
164
|
-
【変更内容】
|
|
165
|
-
対象: docs/rules/typescript.md
|
|
166
|
-
セクション: ## エラーハンドリング
|
|
167
|
-
|
|
168
|
-
変更前:
|
|
169
|
-
「エラーは適切に処理する」
|
|
170
|
-
|
|
171
|
-
変更後(3回見直しプロセス完了):
|
|
172
|
-
「エラーハンドリング実装基準:
|
|
173
|
-
1. try-catchブロック必須条件:
|
|
174
|
-
- 外部API呼び出し(fetch, axios等)
|
|
175
|
-
- ファイルI/O操作(fs.readFile, fs.writeFile等)
|
|
176
|
-
- JSON.parse、parseInt等の例外発生可能な処理
|
|
177
|
-
2. エラーログ必須項目:
|
|
178
|
-
- error.name(エラー種別)
|
|
179
|
-
- error.stack(発生箇所)
|
|
180
|
-
- new Date().toISOString()(タイムスタンプ)
|
|
181
|
-
3. ユーザー向けメッセージ:
|
|
182
|
-
- 技術詳細を含まない(NG例:スタックトレース表示)
|
|
183
|
-
- 具体的な対処法を明示(推奨:「再度お試しください」)」
|
|
184
|
-
|
|
185
|
-
【改善指標】
|
|
186
|
-
- 判断基準明確度: 0% → 100%(全て測定可能)
|
|
187
|
-
- 曖昧表現: 1箇所 → 0箇所
|
|
188
|
-
- NG例を背景情報として含む
|
|
189
|
-
|
|
190
|
-
メタデータ同期のため /sync-rules を実行してください。
|
|
191
|
-
```
|
|
192
|
-
|
|
193
|
-
## 実行順序
|
|
194
|
-
1. ユーザー要求理解
|
|
195
|
-
2. 現状分析
|
|
196
|
-
3. 9観点を適用した変更設計
|
|
197
|
-
4. 3回見直しプロセス
|
|
198
|
-
5. ユーザー承認
|
|
199
|
-
6. 変更適用
|
|
200
|
-
7. sync-rules提案
|
|
201
|
-
|
|
202
|
-
**スコープ**: ユーザー変更要求の理解と精度最大化実装
|
|
203
|
-
|
|
204
|
-
## エラーハンドリング
|
|
205
|
-
- **ファイル未発見**: 利用可能なルール一覧を表示
|
|
206
|
-
- **大規模変更検出**: 変更量50%以上の場合、段階的実施を提案
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: ルール修正後のメタデータ同期とrule-advisor精度最適化
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
**コマンドコンテキスト**: ルールファイル編集後のメンテナンス作業
|
|
6
|
-
|
|
7
|
-
**Think deeply** rule-advisorの実行精度を最大化するための同期作業:
|
|
8
|
-
|
|
9
|
-
## 実行フロー
|
|
10
|
-
|
|
11
|
-
### 1. ルールファイルのスキャン
|
|
12
|
-
```bash
|
|
13
|
-
# 実行時のルールディレクトリ
|
|
14
|
-
RULES_DIR="docs/rules"
|
|
15
|
-
INDEX_FILE="${RULES_DIR}/rules-index.yaml"
|
|
16
|
-
|
|
17
|
-
# 全ルールファイルを解析
|
|
18
|
-
find "${RULES_DIR}" -name "*.md" -type f | sort
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
### 2. メタデータ同期と最適化
|
|
22
|
-
|
|
23
|
-
#### セクション自動同期
|
|
24
|
-
- 各ファイルの`## `セクションを抽出
|
|
25
|
-
- rules-index.yamlのsectionsを自動更新
|
|
26
|
-
|
|
27
|
-
#### タグの最適化
|
|
28
|
-
- ファイル内容からキーワードを分析
|
|
29
|
-
- 適切なタグの追加提案
|
|
30
|
-
- 不要なタグの削除提案
|
|
31
|
-
|
|
32
|
-
#### typical-useの更新
|
|
33
|
-
- ファイルの変更内容から使用場面を推測
|
|
34
|
-
- より具体的な利用シーンの記述を提案
|
|
35
|
-
|
|
36
|
-
#### key-referencesの補完
|
|
37
|
-
- 新しく追加された概念や手法を検出
|
|
38
|
-
- 関連する参考文献の追加を提案
|
|
39
|
-
|
|
40
|
-
### 3. rule-advisor向け最適化
|
|
41
|
-
|
|
42
|
-
メタデータの質を向上させ、rule-advisorが正確にルールを選択できるよう調整:
|
|
43
|
-
|
|
44
|
-
```
|
|
45
|
-
=== ルールメタデータ同期 ===
|
|
46
|
-
対象: docs/rules
|
|
47
|
-
|
|
48
|
-
実行した更新:
|
|
49
|
-
✅ sections同期
|
|
50
|
-
- typescript-testing.md: 2セクション追加
|
|
51
|
-
- ai-development-guide.md: 1セクション更新
|
|
52
|
-
|
|
53
|
-
✅ tags最適化
|
|
54
|
-
- typescript.md: [functional-programming]タグ追加を提案
|
|
55
|
-
- technical-spec.md: [deprecated]タグ削除を提案
|
|
56
|
-
|
|
57
|
-
✅ typical-use改善
|
|
58
|
-
- 3ファイルの説明をより具体的に更新
|
|
59
|
-
|
|
60
|
-
最終結果: rule-advisor精度向上のための最適化完了
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
## 🧠 メタ認知ポイント
|
|
64
|
-
|
|
65
|
-
**本質的な目的**:
|
|
66
|
-
- 単なる整合性維持ではなく、rule-advisorの選択精度向上
|
|
67
|
-
- ルール編集作業の仕上げとしてのメタデータ最適化
|
|
68
|
-
|
|
69
|
-
**品質基準**:
|
|
70
|
-
- sectionsは100%同期必須
|
|
71
|
-
- tagsは内容を正確に反映
|
|
72
|
-
- typical-useは具体的な利用場面を明示
|
|
73
|
-
- key-referencesは最新の手法を網羅
|
|
74
|
-
|
|
75
|
-
## 変更要否の判断
|
|
76
|
-
|
|
77
|
-
以下の順序で評価:
|
|
78
|
-
- sectionsが100%同期済み → 「同期確認完了、更新不要」と報告して終了
|
|
79
|
-
- 内容とタグが適切に一致 → 更新不要と判断
|
|
80
|
-
- 改善の余地がある場合のみ → 具体的な修正提案を提示
|
|
81
|
-
|
|
82
|
-
**注意**: 毎回変更する必要はありません。変更不要な場合はその旨を明確に報告して終了してください。
|
|
83
|
-
|
|
84
|
-
## 実行タイミング
|
|
85
|
-
|
|
86
|
-
- ルールファイル編集後(必須)
|
|
87
|
-
- 新しいルールファイル追加時
|
|
88
|
-
- 大規模なルール改訂後
|
|
89
|
-
- rule-advisorの選択精度が低下したと感じた時
|
|
90
|
-
|
|
91
|
-
## 出力例
|
|
92
|
-
|
|
93
|
-
```
|
|
94
|
-
=== ルールメタデータ同期開始 ===
|
|
95
|
-
対象: docs/rules (9ファイル)
|
|
96
|
-
|
|
97
|
-
[1/9] typescript.md
|
|
98
|
-
✅ sections: 7件同期完了
|
|
99
|
-
💡 tags提案: +[functional-programming, dependency-injection]
|
|
100
|
-
💡 typical-use: "TypeScript実装全般" → "型安全性重視の実装とモダンTypeScript機能活用"
|
|
101
|
-
|
|
102
|
-
[2/9] typescript-testing.md
|
|
103
|
-
✅ sections: 2件追加(テストの粒度、モックの型安全性)
|
|
104
|
-
✅ tags: 変更なし
|
|
105
|
-
✅ typical-use: 現状維持
|
|
106
|
-
|
|
107
|
-
...
|
|
108
|
-
|
|
109
|
-
=== 同期完了 ===
|
|
110
|
-
更新: 3ファイル
|
|
111
|
-
提案: 5件(承認してください)
|
|
112
|
-
|
|
113
|
-
rule-advisor精度向上: 推定15%改善
|
|
114
|
-
```
|
|
115
|
-
|
|
116
|
-
**スコープ**: ルール修正作業後のメタデータ同期とrule-advisor精度最適化。
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json.schemastore.org/claude-code-settings.json",
|
|
3
|
-
"permissions": {
|
|
4
|
-
"allow": [
|
|
5
|
-
"Bash(npm run check:unused:*)",
|
|
6
|
-
"Read(/Users/kagawashinsuke/Documents/tacoms-ai-bot/scripts/**)",
|
|
7
|
-
"WebSearch",
|
|
8
|
-
"Bash(npx ts-prune:*)",
|
|
9
|
-
"Bash(git checkout:*)",
|
|
10
|
-
"Bash(git pull:*)",
|
|
11
|
-
"Bash(chmod:*)",
|
|
12
|
-
"Bash(git add:*)",
|
|
13
|
-
"Bash(git commit:*)",
|
|
14
|
-
"Bash(gh api:*)",
|
|
15
|
-
"Bash(git branch:*)",
|
|
16
|
-
"WebFetch(domain:github.com)",
|
|
17
|
-
"Bash(npm install:*)",
|
|
18
|
-
"Bash(git reset:*)",
|
|
19
|
-
"WebFetch(domain:qiita.com)",
|
|
20
|
-
"Bash(cat:*)",
|
|
21
|
-
"Bash(git push:*)",
|
|
22
|
-
"WebFetch(domain:mermaid.js.org)",
|
|
23
|
-
"Bash(gh pr view:*)",
|
|
24
|
-
"Bash(gh pr diff:*)",
|
|
25
|
-
"Read(//tmp/**)",
|
|
26
|
-
"Bash(gh repo clone:*)",
|
|
27
|
-
"Bash(git stash:*)",
|
|
28
|
-
"Bash(npm run lang:ja:*)",
|
|
29
|
-
"Bash(find:*)",
|
|
30
|
-
"Bash(awk:*)",
|
|
31
|
-
"Bash(grep:*)",
|
|
32
|
-
"Bash(xargs basename:*)",
|
|
33
|
-
"WebFetch(domain:dev.to)",
|
|
34
|
-
"Bash(gh pr checks:*)",
|
|
35
|
-
"WebFetch(domain:www.anthropic.com)",
|
|
36
|
-
"Read(//Users/kagawashinsuke/Documents/agentic-code/**)",
|
|
37
|
-
"Read(//Users/kagawashinsuke/Documents/claude-code-workflows/**)",
|
|
38
|
-
"Bash(git -C /Users/kagawashinsuke/Documents/claude-code-workflows diff agents/acceptance-test-generator.md)",
|
|
39
|
-
"Read(//Users/kagawashinsuke/Documents/project-qb/**)",
|
|
40
|
-
"Bash(git rm:*)",
|
|
41
|
-
"Bash(git ls-tree:*)",
|
|
42
|
-
"Bash(node bin/create-project.js:*)",
|
|
43
|
-
"Bash(node:*)",
|
|
44
|
-
"WebFetch(domain:martinfowler.com)",
|
|
45
|
-
"Bash(test:*)",
|
|
46
|
-
"WebFetch(domain:www.agileconnection.com)",
|
|
47
|
-
"Bash(git log:*)",
|
|
48
|
-
"Bash(git mv:*)",
|
|
49
|
-
"Bash(gh pr create:*)",
|
|
50
|
-
"Bash(xargs git branch -D)",
|
|
51
|
-
"Bash(ls:*)",
|
|
52
|
-
"Bash(git clone:*)",
|
|
53
|
-
"WebFetch(domain:support.atlassian.com)",
|
|
54
|
-
"WebFetch(domain:community.atlassian.com)",
|
|
55
|
-
"WebFetch(domain:www.velir.com)",
|
|
56
|
-
"WebFetch(domain:scottspence.com)",
|
|
57
|
-
"WebFetch(domain:arxiv.org)",
|
|
58
|
-
"WebFetch(domain:dl.acm.org)",
|
|
59
|
-
"Bash(gh issue create:*)",
|
|
60
|
-
"Bash(git fetch:*)",
|
|
61
|
-
"Bash(git diff:*)",
|
|
62
|
-
"Bash(fi)",
|
|
63
|
-
"Bash(done)",
|
|
64
|
-
"WebFetch(domain:www.npmjs.com)",
|
|
65
|
-
"Bash(npm pack:*)",
|
|
66
|
-
"Bash(npm view:*)",
|
|
67
|
-
"Bash(npx:*)",
|
|
68
|
-
"Bash(=20\" for compatibility\n\n🤖 Generated with [Claude Code](https://claude.com/claude-code)\n\nCo-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>\nEOF\n)\")"
|
|
69
|
-
],
|
|
70
|
-
"deny": [],
|
|
71
|
-
"ask": [],
|
|
72
|
-
"defaultMode": "acceptEdits"
|
|
73
|
-
}
|
|
74
|
-
}
|
package/docs/adr/template-ja.md
DELETED
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
# [ADR番号] [タイトル]
|
|
2
|
-
|
|
3
|
-
## ステータス
|
|
4
|
-
|
|
5
|
-
[Proposed | Accepted | Deprecated | Superseded]
|
|
6
|
-
|
|
7
|
-
## コンテキスト
|
|
8
|
-
|
|
9
|
-
[決定が必要になった背景や理由を記述。問題の本質、現状の課題、制約事項などを含める]
|
|
10
|
-
|
|
11
|
-
## 決定事項
|
|
12
|
-
|
|
13
|
-
[実際に決定した内容を記述。具体的で明確な記述を心がける]
|
|
14
|
-
|
|
15
|
-
### 決定の詳細
|
|
16
|
-
|
|
17
|
-
| 項目 | 内容 |
|
|
18
|
-
|------|------|
|
|
19
|
-
| **Decision** | [一文での決定内容] |
|
|
20
|
-
| **Why now** | [なぜ今これをやるのか(タイミングの理由)] |
|
|
21
|
-
| **Why this** | [他案ではなくこれを選ぶ理由(1〜3行)] |
|
|
22
|
-
| **Known unknowns** | [現時点で不確実な点を最低1つ] |
|
|
23
|
-
| **Kill criteria** | [この決定を撤回すべきシグナルを1つ] |
|
|
24
|
-
|
|
25
|
-
## 根拠
|
|
26
|
-
|
|
27
|
-
[なぜこの決定を下したのか、他の選択肢と比較してなぜこれが最良なのかを説明]
|
|
28
|
-
|
|
29
|
-
### 検討した選択肢
|
|
30
|
-
|
|
31
|
-
1. **選択肢1**: [説明]
|
|
32
|
-
- 利点: [利点を列挙]
|
|
33
|
-
- 欠点: [欠点を列挙]
|
|
34
|
-
|
|
35
|
-
2. **選択肢2**: [説明]
|
|
36
|
-
- 利点: [利点を列挙]
|
|
37
|
-
- 欠点: [欠点を列挙]
|
|
38
|
-
|
|
39
|
-
3. **選択肢3(採用)**: [説明]
|
|
40
|
-
- 利点: [利点を列挙]
|
|
41
|
-
- 欠点: [欠点を列挙]
|
|
42
|
-
|
|
43
|
-
## 影響
|
|
44
|
-
|
|
45
|
-
### ポジティブな影響
|
|
46
|
-
|
|
47
|
-
- [プロジェクトやシステムへの良い影響を列挙]
|
|
48
|
-
|
|
49
|
-
### ネガティブな影響
|
|
50
|
-
|
|
51
|
-
- [プロジェクトやシステムへの悪い影響や、受け入れる必要のあるトレードオフを列挙]
|
|
52
|
-
|
|
53
|
-
### 中立的な影響
|
|
54
|
-
|
|
55
|
-
- [良くも悪くもない、単に変化する事項を列挙]
|
|
56
|
-
|
|
57
|
-
## 実装への指針
|
|
58
|
-
|
|
59
|
-
[原則的な方向性のみ。実装手順はDesign Docへ]
|
|
60
|
-
例:「依存性注入を使用」○、「Phase 1で実装」×
|
|
61
|
-
|
|
62
|
-
## 関連情報
|
|
63
|
-
|
|
64
|
-
- [関連するADR、ドキュメント、issue、PRなどへのリンク]
|