create-ai-project 1.20.2 → 1.20.3
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 +3 -2
- package/.claude/agents-en/code-reviewer.md +133 -25
- package/.claude/agents-en/design-sync.md +5 -6
- package/.claude/agents-en/integration-test-reviewer.md +2 -2
- package/.claude/agents-en/prd-creator.md +2 -4
- package/.claude/agents-en/quality-fixer-frontend.md +1 -1
- package/.claude/agents-en/quality-fixer.md +1 -1
- package/.claude/agents-en/requirement-analyzer.md +7 -7
- package/.claude/agents-en/scope-discoverer.md +2 -2
- package/.claude/agents-en/solver.md +1 -2
- package/.claude/agents-en/task-decomposer.md +2 -2
- package/.claude/agents-en/task-executor-frontend.md +1 -1
- package/.claude/agents-en/task-executor.md +1 -1
- package/.claude/agents-en/technical-designer-frontend.md +5 -5
- package/.claude/agents-en/technical-designer.md +2 -2
- package/.claude/agents-en/ui-spec-designer.md +1 -1
- package/.claude/agents-en/work-planner.md +1 -1
- package/.claude/agents-ja/acceptance-test-generator.md +3 -2
- package/.claude/agents-ja/code-reviewer.md +133 -25
- package/.claude/agents-ja/design-sync.md +5 -5
- package/.claude/agents-ja/integration-test-reviewer.md +2 -2
- package/.claude/agents-ja/prd-creator.md +2 -4
- package/.claude/agents-ja/quality-fixer-frontend.md +1 -1
- package/.claude/agents-ja/quality-fixer.md +1 -1
- package/.claude/agents-ja/requirement-analyzer.md +7 -7
- package/.claude/agents-ja/scope-discoverer.md +2 -2
- package/.claude/agents-ja/solver.md +1 -2
- package/.claude/agents-ja/task-decomposer.md +2 -2
- package/.claude/agents-ja/task-executor-frontend.md +1 -1
- package/.claude/agents-ja/task-executor.md +1 -1
- package/.claude/agents-ja/technical-designer-frontend.md +5 -5
- package/.claude/agents-ja/technical-designer.md +2 -2
- package/.claude/agents-ja/ui-spec-designer.md +1 -1
- package/.claude/agents-ja/work-planner.md +1 -1
- package/.claude/commands-en/build.md +17 -8
- package/.claude/commands-en/front-build.md +25 -41
- package/.claude/commands-en/front-design.md +49 -17
- package/.claude/commands-en/front-plan.md +17 -10
- package/.claude/commands-en/front-review.md +37 -33
- package/.claude/commands-en/review.md +10 -5
- package/.claude/commands-ja/build.md +17 -8
- package/.claude/commands-ja/front-build.md +25 -41
- package/.claude/commands-ja/front-design.md +48 -18
- package/.claude/commands-ja/front-plan.md +22 -15
- package/.claude/commands-ja/front-review.md +37 -33
- package/.claude/commands-ja/review.md +10 -5
- package/.claude/skills-en/coding-standards/references/security-checks.md +4 -2
- package/.claude/skills-en/documentation-criteria/SKILL.md +8 -28
- package/.claude/skills-en/documentation-criteria/references/adr-template.md +5 -1
- package/.claude/skills-en/documentation-criteria/references/design-template.md +7 -8
- package/.claude/skills-en/documentation-criteria/references/plan-template.md +11 -6
- package/.claude/skills-en/documentation-criteria/references/prd-template.md +32 -10
- package/.claude/skills-en/documentation-criteria/references/task-template.md +2 -2
- package/.claude/skills-en/subagents-orchestration-guide/SKILL.md +20 -37
- package/.claude/skills-en/task-analyzer/references/skills-index.yaml +0 -2
- package/.claude/skills-ja/coding-standards/references/security-checks.md +4 -2
- package/.claude/skills-ja/documentation-criteria/SKILL.md +8 -29
- package/.claude/skills-ja/documentation-criteria/references/adr-template.md +5 -1
- package/.claude/skills-ja/documentation-criteria/references/design-template.md +7 -2
- package/.claude/skills-ja/documentation-criteria/references/plan-template.md +11 -6
- package/.claude/skills-ja/documentation-criteria/references/prd-template.md +32 -10
- package/.claude/skills-ja/documentation-criteria/references/task-template.md +2 -2
- package/.claude/skills-ja/subagents-orchestration-guide/SKILL.md +20 -35
- package/.claude/skills-ja/task-analyzer/references/skills-index.yaml +0 -2
- package/CHANGELOG.md +40 -0
- package/README.ja.md +51 -30
- package/README.md +58 -34
- package/docs/guides/en/skills-editing-guide.md +10 -0
- package/docs/guides/ja/skills-editing-guide.md +12 -2
- package/package.json +1 -1
package/README.ja.md
CHANGED
|
@@ -19,15 +19,16 @@
|
|
|
19
19
|
1. [クイックスタート(3ステップ)](#-クイックスタート3ステップ)
|
|
20
20
|
2. [既存プロジェクトの更新](#-既存プロジェクトの更新)
|
|
21
21
|
3. [Vibe Codingの先へ:なぜサブエージェント?](#-vibe-codingの先へなぜサブエージェント)
|
|
22
|
-
4. [
|
|
23
|
-
5. [
|
|
24
|
-
6. [
|
|
25
|
-
7. [
|
|
26
|
-
8. [
|
|
27
|
-
9. [
|
|
28
|
-
10. [
|
|
29
|
-
11. [
|
|
30
|
-
12. [
|
|
22
|
+
4. [スラッシュコマンド](#-スラッシュコマンド)
|
|
23
|
+
5. [スキルのカスタマイズ](#-スキルのカスタマイズ)
|
|
24
|
+
6. [スキルシステム](#-スキルシステム)
|
|
25
|
+
7. [このボイラープレートで作られたプロジェクト](#-このボイラープレートで作られたプロジェクト)
|
|
26
|
+
8. [ドキュメント&ガイド](#-ドキュメントガイド)
|
|
27
|
+
9. [開発ワークフロー](#-claude-code-ワークフロー)
|
|
28
|
+
10. [プロジェクト構成](#-プロジェクト構成)
|
|
29
|
+
11. [パッケージマネージャーの設定](#-パッケージマネージャーの設定)
|
|
30
|
+
12. [多言語対応](#-多言語対応)
|
|
31
|
+
13. [よくある質問](#-よくある質問)
|
|
31
32
|
|
|
32
33
|
## ⚡ クイックスタート(3ステップ)
|
|
33
34
|
|
|
@@ -102,7 +103,7 @@ ignoreされたファイルは更新時に保護されます。ただし、ignor
|
|
|
102
103
|
|
|
103
104
|
## 🚀 Vibe Codingの先へ:なぜサブエージェント?
|
|
104
105
|
|
|
105
|
-
Vibe Codingの先へ — **Agentic Coding**(構造化されたワークフローを専門AI
|
|
106
|
+
Vibe Codingの先へ — **Agentic Coding**(構造化されたワークフローを専門AIエージェントに委任するアプローチ)が実践的な開発手法として広がりつつあります。このボイラープレートはClaude Codeのサブエージェントでそれを実現します。
|
|
106
107
|
|
|
107
108
|
**従来のAIコーディングの問題**
|
|
108
109
|
- ❌ 長時間のセッションでコンテキストを失う
|
|
@@ -112,7 +113,7 @@ Vibe Codingの先へ — **Agentic Coding**(構造化されたワークフロ
|
|
|
112
113
|
**サブエージェントによるContext Engineering**
|
|
113
114
|
- ✅ 専門的な単一の役割に分割(設計、実装、レビュー)
|
|
114
115
|
- ✅ 各エージェントが新鮮で集中したコンテキストを持つ — 枯渇なし
|
|
115
|
-
- ✅
|
|
116
|
+
- ✅ 大規模なプロジェクトでも品質低下なしに処理
|
|
116
117
|
|
|
117
118
|
これはClaude Codeのサブエージェント機構が、各エージェントを独立したコンテキストウィンドウで実行する仕組みに基づいています。親セッションがタスクを委任し、各サブエージェントはクリーンで集中したコンテキストで処理を開始します。品質チェック(lint、型チェック、テスト、ビルド)はCIではなくコミット前にローカルで実行されるため、フィードバックループが速く、pushする時点でコードは検証済みです。
|
|
118
119
|
|
|
@@ -124,6 +125,45 @@ Vibe Codingの先へ — **Agentic Coding**(構造化されたワークフロ
|
|
|
124
125
|
|
|
125
126
|
*サブエージェントが連携してTypeScriptプロジェクトを構築する様子*
|
|
126
127
|
|
|
128
|
+
## 📝 スラッシュコマンド
|
|
129
|
+
|
|
130
|
+
Claude Codeで利用できる主要なコマンド
|
|
131
|
+
|
|
132
|
+
| コマンド | 目的 | 使用場面 |
|
|
133
|
+
|---------|------|----------|
|
|
134
|
+
| `/implement` | 要件から実装までの一貫した開発 | 新機能開発 |
|
|
135
|
+
| `/task` | スキルに基づいた単一タスクの実行 | バグ修正、小規模な変更 |
|
|
136
|
+
| `/design` | 設計書の作成 | アーキテクチャの計画時 |
|
|
137
|
+
| `/plan` | 設計書から作業計画書を作成 | 設計承認後 |
|
|
138
|
+
| `/build` | 既存の計画から実行 | 作業の再開時 |
|
|
139
|
+
| `/review` | コードの準拠性確認 | 実装完了後 |
|
|
140
|
+
| `/diagnose` | 根本原因分析ワークフロー | デバッグ、トラブルシューティング |
|
|
141
|
+
| `/reverse-engineer` | コードからPRD/Design Docを生成 | 既存システムのドキュメント化 |
|
|
142
|
+
| `/create-skill` | 対話形式で新しいスキルを作成 | プロジェクト固有のルールを追加 |
|
|
143
|
+
| `/refine-skill` | 品質レビュー付きでスキルを修正 | スキルの精度改善 |
|
|
144
|
+
|
|
145
|
+
フロントエンド用(`/front-design`(UI Spec + Design Doc), `/front-build`, `/front-review`, `/front-plan`)やユーティリティコマンド(`/add-integration-tests`, `/update-doc`)も利用できます。
|
|
146
|
+
|
|
147
|
+
[コマンドの詳細はこちら →](docs/guides/ja/use-cases.md)
|
|
148
|
+
|
|
149
|
+
## 🌱 スキルのカスタマイズ
|
|
150
|
+
|
|
151
|
+
このボイラープレートには汎用的なスキルが同梱されており、すぐに使い始められます。ただし、スキルが本領を発揮するのは、プロジェクト固有のコーディング規約やドメイン制約、チームの意思決定を反映させたときです。
|
|
152
|
+
|
|
153
|
+
同梱されているスキルはベースラインです。次のステップは、それをあなたのプロジェクトに合わせて育てていくことです。
|
|
154
|
+
|
|
155
|
+
- **`/project-inject`** — プロジェクトの前提情報を設定(初回実行、毎セッション参照)
|
|
156
|
+
- **`/create-skill`** — 対話形式で新しいスキルを作成
|
|
157
|
+
- **`/refine-skill`** — 既存スキルを品質レビュー付きで改善
|
|
158
|
+
|
|
159
|
+
スキル作成の原則やベストプラクティスは[スキル編集ガイド](docs/guides/ja/skills-editing-guide.md)を参照してください。
|
|
160
|
+
|
|
161
|
+
### スキルの効果検証
|
|
162
|
+
|
|
163
|
+
スキルを作ることと、それが実際にエージェントの挙動を改善しているかを知ることは別の問題です。スキルは互いに影響し合い、プロジェクトのコンテキストとも相互作用するため、確実に効果を知るには実際に動かして比較するしかありません。
|
|
164
|
+
|
|
165
|
+
[rashomon](https://github.com/shinpr/rashomon)はこのためのClaude Codeプラグインです。スキル変更が本当に改善につながったのか、感覚ではなくエビデンスで確認したいときに使えます。
|
|
166
|
+
|
|
127
167
|
## 🎨 スキルシステム
|
|
128
168
|
|
|
129
169
|
このボイラープレートでは、自律的(Agentic)な実装ワークフローで用いられている原理原則を、日常のタスクにおいても必要に応じて参照できるようスキルとして提供しています。
|
|
@@ -171,25 +211,6 @@ Vibe Codingの先へ — **Agentic Coding**(構造化されたワークフロ
|
|
|
171
211
|
- **[スキル編集ガイド](docs/guides/ja/skills-editing-guide.md)** - ライブラリドキュメント、チームルール、プロジェクト固有の知識をAIに追加
|
|
172
212
|
- **[設計思想](https://qiita.com/shinpr/items/98771c2b8d2e15cafcd5)** - このアプローチがなぜ有効か
|
|
173
213
|
|
|
174
|
-
## 📝 スラッシュコマンド
|
|
175
|
-
|
|
176
|
-
Claude Codeで利用できる主要なコマンド
|
|
177
|
-
|
|
178
|
-
| コマンド | 目的 | 使用場面 |
|
|
179
|
-
|---------|------|----------|
|
|
180
|
-
| `/implement` | 要件から実装までの一貫した開発 | 新機能開発 |
|
|
181
|
-
| `/task` | スキルに基づいた単一タスクの実行 | バグ修正、小規模な変更 |
|
|
182
|
-
| `/design` | 設計書の作成 | アーキテクチャの計画時 |
|
|
183
|
-
| `/plan` | 設計書から作業計画書を作成 | 設計承認後 |
|
|
184
|
-
| `/build` | 既存の計画から実行 | 作業の再開時 |
|
|
185
|
-
| `/review` | コードの準拠性確認 | 実装完了後 |
|
|
186
|
-
| `/diagnose` | 根本原因分析ワークフロー | デバッグ、トラブルシューティング |
|
|
187
|
-
| `/reverse-engineer` | コードからPRD/Design Docを生成 | 既存システムのドキュメント化 |
|
|
188
|
-
|
|
189
|
-
フロントエンド用(`/front-design`(UI Spec + Design Doc), `/front-build`, `/front-review`, `/front-plan`)やユーティリティコマンド(`/add-integration-tests`, `/update-doc`)も利用できます。
|
|
190
|
-
|
|
191
|
-
[コマンドの詳細はこちら →](docs/guides/ja/use-cases.md)
|
|
192
|
-
|
|
193
214
|
## 🤖 Claude Code ワークフロー
|
|
194
215
|
|
|
195
216
|
```mermaid
|
package/README.md
CHANGED
|
@@ -19,15 +19,16 @@
|
|
|
19
19
|
1. [Quick Start (3 Steps)](#-quick-start-3-steps)
|
|
20
20
|
2. [Updating Existing Projects](#-updating-existing-projects)
|
|
21
21
|
3. [Beyond Vibe Coding: Why Sub Agents?](#-beyond-vibe-coding-why-sub-agents)
|
|
22
|
-
4. [
|
|
23
|
-
5. [
|
|
24
|
-
6. [
|
|
25
|
-
7. [
|
|
26
|
-
8. [
|
|
27
|
-
9. [
|
|
28
|
-
10. [
|
|
29
|
-
11. [
|
|
30
|
-
12. [
|
|
22
|
+
4. [Slash Commands](#-slash-commands)
|
|
23
|
+
5. [Customizing Skills](#-customizing-skills)
|
|
24
|
+
6. [Skills System](#-skills-system)
|
|
25
|
+
7. [Built with This Boilerplate](#-built-with-this-boilerplate)
|
|
26
|
+
8. [Documentation & Guides](#-documentation--guides)
|
|
27
|
+
9. [Development Workflow](#-claude-code-workflow)
|
|
28
|
+
10. [Project Structure](#-project-structure)
|
|
29
|
+
11. [Package Manager Configuration](#-package-manager-configuration)
|
|
30
|
+
12. [Multilingual Support](#-multilingual-support)
|
|
31
|
+
13. [FAQ](#-faq)
|
|
31
32
|
|
|
32
33
|
## ⚡ Quick Start (3 Steps)
|
|
33
34
|
|
|
@@ -102,7 +103,7 @@ If your project was created before the update feature, just run `npx create-ai-p
|
|
|
102
103
|
|
|
103
104
|
## 🚀 Beyond Vibe Coding: Why Sub Agents?
|
|
104
105
|
|
|
105
|
-
As teams move beyond vibe coding, **agentic coding** — delegating structured workflows to specialized AI agents — is
|
|
106
|
+
As teams move beyond vibe coding, **agentic coding** — delegating structured workflows to specialized AI agents — is gaining traction as a practical approach. This boilerplate implements that approach with Claude Code sub-agents:
|
|
106
107
|
|
|
107
108
|
**Traditional AI coding struggles with:**
|
|
108
109
|
- ❌ Losing context in long sessions
|
|
@@ -124,6 +125,45 @@ This works because Claude Code's sub-agent mechanism runs each agent in its own
|
|
|
124
125
|
|
|
125
126
|
*Sub agents working together on a TypeScript project*
|
|
126
127
|
|
|
128
|
+
## 📝 Slash Commands
|
|
129
|
+
|
|
130
|
+
Essential commands for Claude Code:
|
|
131
|
+
|
|
132
|
+
| Command | Purpose | When to Use |
|
|
133
|
+
|---------|---------|-------------|
|
|
134
|
+
| `/implement` | End-to-end feature development | New features |
|
|
135
|
+
| `/task` | Single task with skill-based precision | Bug fixes, small changes |
|
|
136
|
+
| `/design` | Create design docs only | Architecture planning |
|
|
137
|
+
| `/plan` | Create work plan from design | After design approval |
|
|
138
|
+
| `/build` | Execute from existing plan | Resume work |
|
|
139
|
+
| `/review` | Check code compliance | Post-implementation |
|
|
140
|
+
| `/diagnose` | Root cause analysis workflow | Debugging, troubleshooting |
|
|
141
|
+
| `/reverse-engineer` | Generate PRD/Design Docs from code | Legacy system documentation |
|
|
142
|
+
| `/create-skill` | Create a new skill through interactive dialog | Adding project-specific rules |
|
|
143
|
+
| `/refine-skill` | Modify an existing skill with quality review | Improving skill accuracy |
|
|
144
|
+
|
|
145
|
+
Frontend equivalents (`/front-design` for UI Spec + Design Doc, `/front-build`, `/front-review`, `/front-plan`) and utility commands (`/add-integration-tests`, `/update-doc`) are also available.
|
|
146
|
+
|
|
147
|
+
[Full command reference →](docs/guides/en/use-cases.md)
|
|
148
|
+
|
|
149
|
+
## 🌱 Customizing Skills
|
|
150
|
+
|
|
151
|
+
This boilerplate ships with general-purpose skills that work out of the box. But skills reach their full potential when you tailor them to your project — your coding conventions, domain constraints, and team decisions.
|
|
152
|
+
|
|
153
|
+
Think of the included skills as a baseline. The next step is making them yours:
|
|
154
|
+
|
|
155
|
+
- **`/project-inject`** — Capture project-specific prerequisites (run once, referenced every session)
|
|
156
|
+
- **`/create-skill`** — Create a new skill through interactive dialog
|
|
157
|
+
- **`/refine-skill`** — Improve an existing skill with optimization review
|
|
158
|
+
|
|
159
|
+
For principles and best practices on writing effective skills, see the [Skills Editing Guide](docs/guides/en/skills-editing-guide.md).
|
|
160
|
+
|
|
161
|
+
### Validating Skill Effectiveness
|
|
162
|
+
|
|
163
|
+
Creating a skill is one thing — knowing whether it actually improves agent behavior is another. Skills interact with each other and with project context, so the only reliable way to know is to run with and without the skill and compare results.
|
|
164
|
+
|
|
165
|
+
[rashomon](https://github.com/shinpr/rashomon) is a Claude Code plugin for this. Use it when you want evidence, not intuition, that a skill change made things better.
|
|
166
|
+
|
|
127
167
|
## 🎨 Skills System
|
|
128
168
|
|
|
129
169
|
This boilerplate provides the principles used in agentic implementation workflows as skills, making them available for reference in everyday tasks as needed.
|
|
@@ -171,25 +211,6 @@ Both were built using the default `/implement` workflow — no manual agent orch
|
|
|
171
211
|
- **[Skills Editing Guide](docs/guides/en/skills-editing-guide.md)** - Add library docs, team rules, and project-specific knowledge for AI
|
|
172
212
|
- **[Design Philosophy](https://dev.to/shinpr/zero-context-exhaustion-building-production-ready-ai-coding-teams-with-claude-code-sub-agents-31b)** - Why this approach works
|
|
173
213
|
|
|
174
|
-
## 📝 Slash Commands
|
|
175
|
-
|
|
176
|
-
Essential commands for Claude Code:
|
|
177
|
-
|
|
178
|
-
| Command | Purpose | When to Use |
|
|
179
|
-
|---------|---------|-------------|
|
|
180
|
-
| `/implement` | End-to-end feature development | New features |
|
|
181
|
-
| `/task` | Single task with skill-based precision | Bug fixes, small changes |
|
|
182
|
-
| `/design` | Create design docs only | Architecture planning |
|
|
183
|
-
| `/plan` | Create work plan from design | After design approval |
|
|
184
|
-
| `/build` | Execute from existing plan | Resume work |
|
|
185
|
-
| `/review` | Check code compliance | Post-implementation |
|
|
186
|
-
| `/diagnose` | Root cause analysis workflow | Debugging, troubleshooting |
|
|
187
|
-
| `/reverse-engineer` | Generate PRD/Design Docs from code | Legacy system documentation |
|
|
188
|
-
|
|
189
|
-
Frontend equivalents (`/front-design` for UI Spec + Design Doc, `/front-build`, `/front-review`, `/front-plan`) and utility commands (`/add-integration-tests`, `/update-doc`) are also available.
|
|
190
|
-
|
|
191
|
-
[Full command reference →](docs/guides/en/use-cases.md)
|
|
192
|
-
|
|
193
214
|
## 🤖 Claude Code Workflow
|
|
194
215
|
|
|
195
216
|
```mermaid
|
|
@@ -211,19 +232,22 @@ Generate PRD and Design Docs from existing code:
|
|
|
211
232
|
```mermaid
|
|
212
233
|
graph TB
|
|
213
234
|
subgraph Phase1[Phase 1: PRD Generation]
|
|
214
|
-
|
|
215
|
-
SD --> PRD[prd-creator]
|
|
235
|
+
SD[scope-discoverer] --> PRD[prd-creator]
|
|
216
236
|
PRD --> CV1[code-verifier]
|
|
217
237
|
CV1 --> DR1[document-reviewer]
|
|
238
|
+
DR1 -->|Revision needed| PRD
|
|
239
|
+
DR1 -->|Approved| NEXT1[Next unit]
|
|
218
240
|
end
|
|
219
241
|
|
|
220
242
|
subgraph Phase2[Phase 2: Design Doc Generation]
|
|
221
243
|
TD[technical-designer] --> CV2[code-verifier]
|
|
222
244
|
CV2 --> DR2[document-reviewer]
|
|
223
|
-
DR2
|
|
245
|
+
DR2 -->|Revision needed| TD
|
|
246
|
+
DR2 -->|Approved| NEXT2[Next unit]
|
|
224
247
|
end
|
|
225
248
|
|
|
226
|
-
|
|
249
|
+
NEXT1 -->|"All PRDs Approved (reuse scope)"| TD
|
|
250
|
+
NEXT2 --> REPORT[Final report]
|
|
227
251
|
```
|
|
228
252
|
|
|
229
253
|
### How It Works
|
|
@@ -321,7 +345,7 @@ A: Yes — create a custom skill under `.claude/skills/` with the relevant URLs.
|
|
|
321
345
|
A: `/project-inject` (once) → `/implement` (features) → auto quality checks → commit
|
|
322
346
|
|
|
323
347
|
**Q: How is this different from Copilot/Cursor?**
|
|
324
|
-
A: Those
|
|
348
|
+
A: Those tools focus on code writing assistance. This boilerplate provides a structured development lifecycle managed by specialized agents.
|
|
325
349
|
|
|
326
350
|
**Q: What is agentic coding and how does this boilerplate support it?**
|
|
327
351
|
A: Agentic coding delegates structured workflows to specialized AI agents instead of relying on conversational prompting. This boilerplate provides pre-configured sub-agents, CLAUDE.md rules, and quality checks so you can adopt that approach without building the scaffolding yourself.
|
|
@@ -195,6 +195,8 @@ Standard error format: { success: false, error: string, code: number }
|
|
|
195
195
|
Check for duplication between files and eliminate contradictions and redundancy.
|
|
196
196
|
Eliminating duplication also reduces maintenance costs by preventing notation inconsistencies from update omissions.
|
|
197
197
|
|
|
198
|
+
Note: there is a tradeoff between DRY and skill self-containment. If a skill requires context from another skill to be understood, the reader (both human and LLM) has to chase references. When a piece of information is central to a skill's decision-making, it may be worth repeating rather than forcing a cross-reference. Use judgment — eliminate *accidental* duplication, but don't sacrifice clarity for purity.
|
|
199
|
+
|
|
198
200
|
### 4. Appropriately Aggregate Responsibilities
|
|
199
201
|
|
|
200
202
|
Consolidating related content in one skill maintains single responsibility and prevents unnecessary context mixing in tasks.
|
|
@@ -355,6 +357,14 @@ All 9 principles are practiced across these skills, serving as practical referen
|
|
|
355
357
|
3. Add one specific example
|
|
356
358
|
4. Convert negative form to positive form
|
|
357
359
|
|
|
360
|
+
## Validating Skill Effectiveness
|
|
361
|
+
|
|
362
|
+
The 9 principles and `/create-skill` / `/refine-skill` help you write better skills, but writing and validating are different problems. Skills interact with each other and with project context, so the only reliable way to know whether a change actually improved agent behavior is to run the task with and without the skill and compare results.
|
|
363
|
+
|
|
364
|
+
[rashomon](https://github.com/shinpr/rashomon) is a Claude Code plugin for evidence-based skill validation. Its `/recipe-eval-skill` command runs your task in isolated environments and compares results to classify whether the difference is a real improvement or just variance.
|
|
365
|
+
|
|
366
|
+
Use `/create-skill` and `/refine-skill` for quick iteration, and rashomon when you want proof that a skill change made things better.
|
|
367
|
+
|
|
358
368
|
## Summary
|
|
359
369
|
|
|
360
370
|
Well-written skills stabilize LLM output. By following the 9 principles and continuously refining your skills, you can maximize LLM capabilities. Build the optimal skill set for your project through regular implementation review and improvement.
|
|
@@ -144,12 +144,12 @@ See [examples.md](examples.md) for usage patterns
|
|
|
144
144
|
## LLMの実行精度を最大化する9つの原則
|
|
145
145
|
|
|
146
146
|
スキル作成の原則を9つ紹介します。
|
|
147
|
-
スキル新規作成には`/create-skill`、既存スキルの品質レビュー付き修正には`/refine-skill`コマンドを提供しています。ただしLLM
|
|
147
|
+
スキル新規作成には`/create-skill`、既存スキルの品質レビュー付き修正には`/refine-skill`コマンドを提供しています。ただしLLMは「生成後に出力と考え方を突き合わせなければ課題に到達しづらい」傾向があるため、ツールで生成した後は対話的にスキルを修正することを推奨します。
|
|
148
148
|
|
|
149
149
|
### 1. 最小記述で最大精度を実現する(コンテキスト圧迫 vs 実行精度)
|
|
150
150
|
|
|
151
151
|
コンテキストは貴重なリソースです。冗長な説明を避け、本質的な情報のみを記述します。
|
|
152
|
-
|
|
152
|
+
一方で、ただ短くすればいいという訳ではなく、判断に迷わない最小限の記述である必要があります。
|
|
153
153
|
|
|
154
154
|
```markdown
|
|
155
155
|
❌ 冗長な記述(24文字)
|
|
@@ -195,6 +195,8 @@ See [examples.md](examples.md) for usage patterns
|
|
|
195
195
|
ファイル間の重複もチェックし、矛盾や冗長性を排除します。
|
|
196
196
|
更新漏れによる表記揺れのリスクもあるため、重複の排除はメンテナンスコストの低下にもつながります。
|
|
197
197
|
|
|
198
|
+
ただし、DRYとスキルの自己完結性にはトレードオフがあります。あるスキルの判断に必要な情報が別のスキルにしかない場合、読み手(人間もLLMも)は参照を追いかける必要が生じます。スキルの意思決定に不可欠な情報であれば、相互参照を強いるより繰り返す方が適切な場合もあります。排除すべきは*意図せず生じた*重複であり、明確さを犠牲にしてまで原則への忠実さを追求する必要はありません。
|
|
199
|
+
|
|
198
200
|
### 4. 責務を適切に集約する
|
|
199
201
|
|
|
200
202
|
関連する内容は1つのスキルにまとめることで単一責務を維持でき、タスクに不要なコンテキストの混入を防げます。
|
|
@@ -355,6 +357,14 @@ LLMは冒頭の情報により注意を払います。最重要事項を先頭
|
|
|
355
357
|
3. 具体例を1つ追加
|
|
356
358
|
4. 否定形を肯定形に変換
|
|
357
359
|
|
|
360
|
+
## スキルの効果検証
|
|
361
|
+
|
|
362
|
+
9つの原則と`/create-skill`・`/refine-skill`はスキルの作成・改善を支援しますが、作ることと効果を確認することは別の問題です。スキルは互いに影響し合い、プロジェクトのコンテキストとも相互作用するため、変更が本当に挙動を改善したかは実際に動かして比較するしかありません。
|
|
363
|
+
|
|
364
|
+
[rashomon](https://github.com/shinpr/rashomon)はエビデンスに基づくスキル検証のためのClaude Codeプラグインです。`/recipe-eval-skill`コマンドが隔離された環境でタスクを実行し、結果を比較することで、差異が実質的な改善なのか単なるバラつきなのかを分類します。
|
|
365
|
+
|
|
366
|
+
`/create-skill`と`/refine-skill`は手軽な反復に、rashomonはスキル変更が本当に改善につながったか証拠が欲しいときに使い分けてください。
|
|
367
|
+
|
|
358
368
|
## まとめ
|
|
359
369
|
|
|
360
370
|
効果的なスキルはLLMの生成を安定させます。9つの原則を意識し、継続的に最適化することでLLMの能力を最大限に引き出すことができます。定期的な実装結果の振り返りと改善を繰り返し、プロジェクトに最適なスキルセットを構築していきましょう。
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-ai-project",
|
|
3
|
-
"version": "1.20.
|
|
3
|
+
"version": "1.20.3",
|
|
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": [
|