gsd-code-first 1.0.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.
- package/LICENSE +21 -0
- package/README.ja-JP.md +834 -0
- package/README.ko-KR.md +823 -0
- package/README.md +937 -0
- package/README.pt-BR.md +452 -0
- package/README.zh-CN.md +800 -0
- package/agents/gsd-advisor-researcher.md +104 -0
- package/agents/gsd-annotator.md +148 -0
- package/agents/gsd-arc-executor.md +537 -0
- package/agents/gsd-arc-planner.md +374 -0
- package/agents/gsd-assumptions-analyzer.md +105 -0
- package/agents/gsd-code-planner.md +155 -0
- package/agents/gsd-codebase-mapper.md +770 -0
- package/agents/gsd-debugger.md +1373 -0
- package/agents/gsd-executor.md +509 -0
- package/agents/gsd-integration-checker.md +443 -0
- package/agents/gsd-nyquist-auditor.md +176 -0
- package/agents/gsd-phase-researcher.md +698 -0
- package/agents/gsd-plan-checker.md +773 -0
- package/agents/gsd-planner.md +1354 -0
- package/agents/gsd-project-researcher.md +654 -0
- package/agents/gsd-prototyper.md +161 -0
- package/agents/gsd-research-synthesizer.md +247 -0
- package/agents/gsd-roadmapper.md +679 -0
- package/agents/gsd-ui-auditor.md +439 -0
- package/agents/gsd-ui-checker.md +300 -0
- package/agents/gsd-ui-researcher.md +357 -0
- package/agents/gsd-user-profiler.md +171 -0
- package/agents/gsd-verifier.md +700 -0
- package/bin/install.js +5009 -0
- package/commands/gsd/add-backlog.md +76 -0
- package/commands/gsd/add-phase.md +43 -0
- package/commands/gsd/add-tests.md +41 -0
- package/commands/gsd/add-todo.md +47 -0
- package/commands/gsd/annotate.md +54 -0
- package/commands/gsd/audit-milestone.md +36 -0
- package/commands/gsd/audit-uat.md +24 -0
- package/commands/gsd/autonomous.md +41 -0
- package/commands/gsd/check-todos.md +45 -0
- package/commands/gsd/cleanup.md +18 -0
- package/commands/gsd/complete-milestone.md +136 -0
- package/commands/gsd/debug.md +173 -0
- package/commands/gsd/deep-plan.md +52 -0
- package/commands/gsd/discuss-phase.md +64 -0
- package/commands/gsd/do.md +30 -0
- package/commands/gsd/execute-phase.md +59 -0
- package/commands/gsd/extract-plan.md +35 -0
- package/commands/gsd/fast.md +30 -0
- package/commands/gsd/forensics.md +56 -0
- package/commands/gsd/health.md +22 -0
- package/commands/gsd/help.md +22 -0
- package/commands/gsd/insert-phase.md +32 -0
- package/commands/gsd/iterate.md +124 -0
- package/commands/gsd/join-discord.md +18 -0
- package/commands/gsd/list-phase-assumptions.md +46 -0
- package/commands/gsd/list-workspaces.md +19 -0
- package/commands/gsd/manager.md +39 -0
- package/commands/gsd/map-codebase.md +71 -0
- package/commands/gsd/milestone-summary.md +51 -0
- package/commands/gsd/new-milestone.md +44 -0
- package/commands/gsd/new-project.md +42 -0
- package/commands/gsd/new-workspace.md +44 -0
- package/commands/gsd/next.md +24 -0
- package/commands/gsd/note.md +34 -0
- package/commands/gsd/pause-work.md +38 -0
- package/commands/gsd/plan-milestone-gaps.md +34 -0
- package/commands/gsd/plan-phase.md +47 -0
- package/commands/gsd/plant-seed.md +28 -0
- package/commands/gsd/pr-branch.md +25 -0
- package/commands/gsd/profile-user.md +46 -0
- package/commands/gsd/progress.md +24 -0
- package/commands/gsd/prototype.md +56 -0
- package/commands/gsd/quick.md +47 -0
- package/commands/gsd/reapply-patches.md +123 -0
- package/commands/gsd/remove-phase.md +31 -0
- package/commands/gsd/remove-workspace.md +26 -0
- package/commands/gsd/research-phase.md +195 -0
- package/commands/gsd/resume-work.md +40 -0
- package/commands/gsd/review-backlog.md +61 -0
- package/commands/gsd/review.md +37 -0
- package/commands/gsd/session-report.md +19 -0
- package/commands/gsd/set-mode.md +41 -0
- package/commands/gsd/set-profile.md +12 -0
- package/commands/gsd/settings.md +36 -0
- package/commands/gsd/ship.md +23 -0
- package/commands/gsd/stats.md +18 -0
- package/commands/gsd/thread.md +127 -0
- package/commands/gsd/ui-phase.md +34 -0
- package/commands/gsd/ui-review.md +32 -0
- package/commands/gsd/update.md +37 -0
- package/commands/gsd/validate-phase.md +35 -0
- package/commands/gsd/verify-work.md +38 -0
- package/commands/gsd/workstreams.md +63 -0
- package/get-shit-done/bin/gsd-tools.cjs +946 -0
- package/get-shit-done/bin/lib/arc-scanner.cjs +341 -0
- package/get-shit-done/bin/lib/commands.cjs +959 -0
- package/get-shit-done/bin/lib/config.cjs +466 -0
- package/get-shit-done/bin/lib/core.cjs +1230 -0
- package/get-shit-done/bin/lib/frontmatter.cjs +336 -0
- package/get-shit-done/bin/lib/init.cjs +1442 -0
- package/get-shit-done/bin/lib/milestone.cjs +252 -0
- package/get-shit-done/bin/lib/model-profiles.cjs +68 -0
- package/get-shit-done/bin/lib/phase.cjs +888 -0
- package/get-shit-done/bin/lib/profile-output.cjs +952 -0
- package/get-shit-done/bin/lib/profile-pipeline.cjs +539 -0
- package/get-shit-done/bin/lib/roadmap.cjs +329 -0
- package/get-shit-done/bin/lib/security.cjs +382 -0
- package/get-shit-done/bin/lib/state.cjs +1031 -0
- package/get-shit-done/bin/lib/template.cjs +222 -0
- package/get-shit-done/bin/lib/uat.cjs +282 -0
- package/get-shit-done/bin/lib/verify.cjs +888 -0
- package/get-shit-done/bin/lib/workstream.cjs +491 -0
- package/get-shit-done/commands/gsd/workstreams.md +63 -0
- package/get-shit-done/references/arc-standard.md +315 -0
- package/get-shit-done/references/checkpoints.md +778 -0
- package/get-shit-done/references/continuation-format.md +249 -0
- package/get-shit-done/references/decimal-phase-calculation.md +64 -0
- package/get-shit-done/references/git-integration.md +295 -0
- package/get-shit-done/references/git-planning-commit.md +38 -0
- package/get-shit-done/references/model-profile-resolution.md +36 -0
- package/get-shit-done/references/model-profiles.md +139 -0
- package/get-shit-done/references/phase-argument-parsing.md +61 -0
- package/get-shit-done/references/planning-config.md +202 -0
- package/get-shit-done/references/questioning.md +162 -0
- package/get-shit-done/references/tdd.md +263 -0
- package/get-shit-done/references/ui-brand.md +160 -0
- package/get-shit-done/references/user-profiling.md +681 -0
- package/get-shit-done/references/verification-patterns.md +612 -0
- package/get-shit-done/references/workstream-flag.md +58 -0
- package/get-shit-done/templates/DEBUG.md +164 -0
- package/get-shit-done/templates/UAT.md +265 -0
- package/get-shit-done/templates/UI-SPEC.md +100 -0
- package/get-shit-done/templates/VALIDATION.md +76 -0
- package/get-shit-done/templates/claude-md.md +122 -0
- package/get-shit-done/templates/codebase/architecture.md +255 -0
- package/get-shit-done/templates/codebase/concerns.md +310 -0
- package/get-shit-done/templates/codebase/conventions.md +307 -0
- package/get-shit-done/templates/codebase/integrations.md +280 -0
- package/get-shit-done/templates/codebase/stack.md +186 -0
- package/get-shit-done/templates/codebase/structure.md +285 -0
- package/get-shit-done/templates/codebase/testing.md +480 -0
- package/get-shit-done/templates/config.json +44 -0
- package/get-shit-done/templates/context.md +352 -0
- package/get-shit-done/templates/continue-here.md +78 -0
- package/get-shit-done/templates/copilot-instructions.md +7 -0
- package/get-shit-done/templates/debug-subagent-prompt.md +91 -0
- package/get-shit-done/templates/dev-preferences.md +21 -0
- package/get-shit-done/templates/discovery.md +146 -0
- package/get-shit-done/templates/discussion-log.md +63 -0
- package/get-shit-done/templates/milestone-archive.md +123 -0
- package/get-shit-done/templates/milestone.md +115 -0
- package/get-shit-done/templates/phase-prompt.md +610 -0
- package/get-shit-done/templates/planner-subagent-prompt.md +117 -0
- package/get-shit-done/templates/project.md +186 -0
- package/get-shit-done/templates/requirements.md +231 -0
- package/get-shit-done/templates/research-project/ARCHITECTURE.md +204 -0
- package/get-shit-done/templates/research-project/FEATURES.md +147 -0
- package/get-shit-done/templates/research-project/PITFALLS.md +200 -0
- package/get-shit-done/templates/research-project/STACK.md +120 -0
- package/get-shit-done/templates/research-project/SUMMARY.md +170 -0
- package/get-shit-done/templates/research.md +552 -0
- package/get-shit-done/templates/retrospective.md +54 -0
- package/get-shit-done/templates/roadmap.md +202 -0
- package/get-shit-done/templates/state.md +176 -0
- package/get-shit-done/templates/summary-complex.md +59 -0
- package/get-shit-done/templates/summary-minimal.md +41 -0
- package/get-shit-done/templates/summary-standard.md +48 -0
- package/get-shit-done/templates/summary.md +248 -0
- package/get-shit-done/templates/user-profile.md +146 -0
- package/get-shit-done/templates/user-setup.md +311 -0
- package/get-shit-done/templates/verification-report.md +322 -0
- package/get-shit-done/workflows/add-phase.md +112 -0
- package/get-shit-done/workflows/add-tests.md +351 -0
- package/get-shit-done/workflows/add-todo.md +158 -0
- package/get-shit-done/workflows/audit-milestone.md +340 -0
- package/get-shit-done/workflows/audit-uat.md +109 -0
- package/get-shit-done/workflows/autonomous.md +891 -0
- package/get-shit-done/workflows/check-todos.md +177 -0
- package/get-shit-done/workflows/cleanup.md +152 -0
- package/get-shit-done/workflows/complete-milestone.md +767 -0
- package/get-shit-done/workflows/diagnose-issues.md +231 -0
- package/get-shit-done/workflows/discovery-phase.md +289 -0
- package/get-shit-done/workflows/discuss-phase-assumptions.md +653 -0
- package/get-shit-done/workflows/discuss-phase.md +1049 -0
- package/get-shit-done/workflows/do.md +104 -0
- package/get-shit-done/workflows/execute-phase.md +846 -0
- package/get-shit-done/workflows/execute-plan.md +514 -0
- package/get-shit-done/workflows/fast.md +105 -0
- package/get-shit-done/workflows/forensics.md +265 -0
- package/get-shit-done/workflows/health.md +181 -0
- package/get-shit-done/workflows/help.md +634 -0
- package/get-shit-done/workflows/insert-phase.md +130 -0
- package/get-shit-done/workflows/list-phase-assumptions.md +178 -0
- package/get-shit-done/workflows/list-workspaces.md +56 -0
- package/get-shit-done/workflows/manager.md +362 -0
- package/get-shit-done/workflows/map-codebase.md +377 -0
- package/get-shit-done/workflows/milestone-summary.md +223 -0
- package/get-shit-done/workflows/new-milestone.md +486 -0
- package/get-shit-done/workflows/new-project.md +1250 -0
- package/get-shit-done/workflows/new-workspace.md +237 -0
- package/get-shit-done/workflows/next.md +97 -0
- package/get-shit-done/workflows/node-repair.md +92 -0
- package/get-shit-done/workflows/note.md +156 -0
- package/get-shit-done/workflows/pause-work.md +176 -0
- package/get-shit-done/workflows/plan-milestone-gaps.md +273 -0
- package/get-shit-done/workflows/plan-phase.md +859 -0
- package/get-shit-done/workflows/plant-seed.md +169 -0
- package/get-shit-done/workflows/pr-branch.md +129 -0
- package/get-shit-done/workflows/profile-user.md +450 -0
- package/get-shit-done/workflows/progress.md +507 -0
- package/get-shit-done/workflows/quick.md +757 -0
- package/get-shit-done/workflows/remove-phase.md +155 -0
- package/get-shit-done/workflows/remove-workspace.md +90 -0
- package/get-shit-done/workflows/research-phase.md +82 -0
- package/get-shit-done/workflows/resume-project.md +326 -0
- package/get-shit-done/workflows/review.md +228 -0
- package/get-shit-done/workflows/session-report.md +146 -0
- package/get-shit-done/workflows/settings.md +283 -0
- package/get-shit-done/workflows/ship.md +228 -0
- package/get-shit-done/workflows/stats.md +60 -0
- package/get-shit-done/workflows/transition.md +671 -0
- package/get-shit-done/workflows/ui-phase.md +302 -0
- package/get-shit-done/workflows/ui-review.md +165 -0
- package/get-shit-done/workflows/update.md +323 -0
- package/get-shit-done/workflows/validate-phase.md +174 -0
- package/get-shit-done/workflows/verify-phase.md +254 -0
- package/get-shit-done/workflows/verify-work.md +637 -0
- package/hooks/dist/gsd-check-update.js +114 -0
- package/hooks/dist/gsd-context-monitor.js +156 -0
- package/hooks/dist/gsd-prompt-guard.js +96 -0
- package/hooks/dist/gsd-statusline.js +119 -0
- package/hooks/dist/gsd-workflow-guard.js +94 -0
- package/package.json +52 -0
- package/scripts/base64-scan.sh +262 -0
- package/scripts/build-hooks.js +82 -0
- package/scripts/prompt-injection-scan.sh +198 -0
- package/scripts/run-tests.cjs +29 -0
- package/scripts/secret-scan.sh +227 -0
package/README.ja-JP.md
ADDED
|
@@ -0,0 +1,834 @@
|
|
|
1
|
+
<div align="center">
|
|
2
|
+
|
|
3
|
+
# GET SHIT DONE
|
|
4
|
+
|
|
5
|
+
[English](README.md) · [Português](README.pt-BR.md) · [简体中文](README.zh-CN.md) · **日本語**
|
|
6
|
+
|
|
7
|
+
**Claude Code、OpenCode、Gemini CLI、Codex、Copilot、Antigravity向けの軽量かつ強力なメタプロンプティング、コンテキストエンジニアリング、仕様駆動開発システム。**
|
|
8
|
+
|
|
9
|
+
**コンテキストロット(Claudeがコンテキストウィンドウを消費するにつれ品質が劣化する現象)を解決します。**
|
|
10
|
+
|
|
11
|
+
[**English**](README.md) | [**Português**](README.pt-BR.md) | [**简体中文**](docs/zh-CN/README.md) | [**日本語**](docs/ja-JP/README.md)
|
|
12
|
+
|
|
13
|
+
[](https://www.npmjs.com/package/get-shit-done-cc)
|
|
14
|
+
[](https://www.npmjs.com/package/get-shit-done-cc)
|
|
15
|
+
[](https://github.com/gsd-build/get-shit-done/actions/workflows/test.yml)
|
|
16
|
+
[](https://discord.gg/gsd)
|
|
17
|
+
[](https://x.com/gsd_foundation)
|
|
18
|
+
[](https://dexscreener.com/solana/dwudwjvan7bzkw9zwlbyv6kspdlvhwzrqy6ebk8xzxkv)
|
|
19
|
+
[](https://github.com/gsd-build/get-shit-done)
|
|
20
|
+
[](LICENSE)
|
|
21
|
+
|
|
22
|
+
<br>
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
npx get-shit-done-cc@latest
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
**Mac、Windows、Linuxで動作します。**
|
|
29
|
+
|
|
30
|
+
<br>
|
|
31
|
+
|
|
32
|
+

|
|
33
|
+
|
|
34
|
+
<br>
|
|
35
|
+
|
|
36
|
+
*「自分が何を作りたいか明確に分かっていれば、これが確実に作ってくれる。嘘じゃない。」*
|
|
37
|
+
|
|
38
|
+
*「SpecKit、OpenSpec、Taskmasterを試してきたが、これが一番良い結果を出してくれた。」*
|
|
39
|
+
|
|
40
|
+
*「Claude Codeへの最強の追加ツール。過剰な設計は一切なし。文字通り、やるべきことをやってくれる。」*
|
|
41
|
+
|
|
42
|
+
<br>
|
|
43
|
+
|
|
44
|
+
**Amazon、Google、Shopify、Webflowのエンジニアに信頼されています。**
|
|
45
|
+
|
|
46
|
+
[なぜ作ったのか](#なぜ作ったのか) · [仕組み](#仕組み) · [コマンド](#コマンド) · [なぜ効果的なのか](#なぜ効果的なのか) · [ユーザーガイド](docs/ja-JP/USER-GUIDE.md)
|
|
47
|
+
|
|
48
|
+
</div>
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
## なぜ作ったのか
|
|
53
|
+
|
|
54
|
+
私はソロ開発者です。コードは自分で書きません — Claude Codeが書きます。
|
|
55
|
+
|
|
56
|
+
仕様駆動開発ツールは他にもあります。BMAD、Spekkitなど。しかしどれも必要以上に複雑にしているように見えます(スプリントセレモニー、ストーリーポイント、ステークホルダーとの同期、振り返り、Jiraワークフローなど)。あるいは、何を作ろうとしているのかの全体像を本当には理解していません。私は50人規模のソフトウェア会社ではありません。エンタープライズごっこをしたいわけではありません。ただ、うまく動く素晴らしいものを作りたいクリエイティブな人間です。
|
|
57
|
+
|
|
58
|
+
だからGSDを作りました。複雑さはシステムの中にあり、ワークフローの中にはありません。裏側では、コンテキストエンジニアリング、XMLプロンプトフォーマッティング、サブエージェントのオーケストレーション、状態管理が動いています。あなたが目にするのは、ただ動くいくつかのコマンドだけです。
|
|
59
|
+
|
|
60
|
+
このシステムは、Claudeが仕事をし、*かつ*検証するために必要なすべてを提供します。私はこのワークフローを信頼しています。ちゃんといい仕事をしてくれます。
|
|
61
|
+
|
|
62
|
+
これがGSDです。エンタープライズごっこは一切なし。Claude Codeを使って一貫してクールなものを作るための、非常に効果的なシステムです。
|
|
63
|
+
|
|
64
|
+
— **TÂCHES**
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
バイブコーディングは評判が悪い。やりたいことを説明し、AIがコードを生成し、スケールすると崩壊する一貫性のないゴミが出来上がる。
|
|
69
|
+
|
|
70
|
+
GSDはそれを解決します。Claude Codeを信頼性の高いものにするコンテキストエンジニアリングレイヤーです。アイデアを説明し、システムに必要なすべてを抽出させ、Claude Codeに仕事をさせましょう。
|
|
71
|
+
|
|
72
|
+
---
|
|
73
|
+
|
|
74
|
+
## こんな人のために
|
|
75
|
+
|
|
76
|
+
やりたいことを説明するだけで正しく構築してほしい人 — 50人のエンジニア組織を運営しているふりをせずに。
|
|
77
|
+
|
|
78
|
+
---
|
|
79
|
+
|
|
80
|
+
## はじめに
|
|
81
|
+
|
|
82
|
+
```bash
|
|
83
|
+
npx get-shit-done-cc@latest
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
インストーラーが以下の選択を求めます:
|
|
87
|
+
1. **ランタイム** — Claude Code、OpenCode、Gemini、Codex、Copilot、Cursor、Antigravity、またはすべて(インタラクティブ複数選択 — 1回のインストールセッションで複数のランタイムを選択可能)
|
|
88
|
+
2. **インストール先** — グローバル(全プロジェクト)またはローカル(現在のプロジェクトのみ)
|
|
89
|
+
|
|
90
|
+
確認方法:
|
|
91
|
+
- Claude Code / Gemini: `/gsd:help`
|
|
92
|
+
- OpenCode: `/gsd-help`
|
|
93
|
+
- Codex: `$gsd-help`
|
|
94
|
+
- Copilot: `/gsd:help`
|
|
95
|
+
- Antigravity: `/gsd:help`
|
|
96
|
+
|
|
97
|
+
> [!NOTE]
|
|
98
|
+
> Codexのインストールでは、カスタムプロンプトではなくスキル(`skills/gsd-*/SKILL.md`)を使用します。
|
|
99
|
+
|
|
100
|
+
### 最新の状態を保つ
|
|
101
|
+
|
|
102
|
+
GSDは急速に進化しています。定期的にアップデートしてください:
|
|
103
|
+
|
|
104
|
+
```bash
|
|
105
|
+
npx get-shit-done-cc@latest
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
<details>
|
|
109
|
+
<summary><strong>非インタラクティブインストール(Docker、CI、スクリプト)</strong></summary>
|
|
110
|
+
|
|
111
|
+
```bash
|
|
112
|
+
# Claude Code
|
|
113
|
+
npx get-shit-done-cc --claude --global # ~/.claude/ にインストール
|
|
114
|
+
npx get-shit-done-cc --claude --local # ./.claude/ にインストール
|
|
115
|
+
|
|
116
|
+
# OpenCode(オープンソース、無料モデル)
|
|
117
|
+
npx get-shit-done-cc --opencode --global # ~/.config/opencode/ にインストール
|
|
118
|
+
|
|
119
|
+
# Gemini CLI
|
|
120
|
+
npx get-shit-done-cc --gemini --global # ~/.gemini/ にインストール
|
|
121
|
+
|
|
122
|
+
# Codex(スキルファースト)
|
|
123
|
+
npx get-shit-done-cc --codex --global # ~/.codex/ にインストール
|
|
124
|
+
npx get-shit-done-cc --codex --local # ./.codex/ にインストール
|
|
125
|
+
|
|
126
|
+
# Copilot(GitHub Copilot CLI)
|
|
127
|
+
npx get-shit-done-cc --copilot --global # ~/.github/ にインストール
|
|
128
|
+
npx get-shit-done-cc --copilot --local # ./.github/ にインストール
|
|
129
|
+
|
|
130
|
+
# Cursor CLI
|
|
131
|
+
npx get-shit-done-cc --cursor --global # ~/.cursor/ にインストール
|
|
132
|
+
npx get-shit-done-cc --cursor --local # ./.cursor/ にインストール
|
|
133
|
+
|
|
134
|
+
# Antigravity(Google、スキルファースト、Geminiベース)
|
|
135
|
+
npx get-shit-done-cc --antigravity --global # ~/.gemini/antigravity/ にインストール
|
|
136
|
+
npx get-shit-done-cc --antigravity --local # ./.agent/ にインストール
|
|
137
|
+
|
|
138
|
+
# 全ランタイム
|
|
139
|
+
npx get-shit-done-cc --all --global # すべてのディレクトリにインストール
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
`--global`(`-g`)または `--local`(`-l`)でインストール先の質問をスキップできます。
|
|
143
|
+
`--claude`、`--opencode`、`--gemini`、`--codex`、`--copilot`、`--cursor`、`--antigravity`、または `--all` でランタイムの質問をスキップできます。
|
|
144
|
+
|
|
145
|
+
</details>
|
|
146
|
+
|
|
147
|
+
<details>
|
|
148
|
+
<summary><strong>開発用インストール</strong></summary>
|
|
149
|
+
|
|
150
|
+
リポジトリをクローンしてインストーラーをローカルで実行します:
|
|
151
|
+
|
|
152
|
+
```bash
|
|
153
|
+
git clone https://github.com/gsd-build/get-shit-done.git
|
|
154
|
+
cd get-shit-done
|
|
155
|
+
node bin/install.js --claude --local
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
コントリビュートする前に変更をテストするため、`./.claude/` にインストールされます。
|
|
159
|
+
|
|
160
|
+
</details>
|
|
161
|
+
|
|
162
|
+
### 推奨:パーミッションスキップモード
|
|
163
|
+
|
|
164
|
+
GSDは摩擦のない自動化のために設計されています。Claude Codeを以下のように実行してください:
|
|
165
|
+
|
|
166
|
+
```bash
|
|
167
|
+
claude --dangerously-skip-permissions
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
> [!TIP]
|
|
171
|
+
> これがGSDの意図された使い方です — `date` や `git commit` を50回も承認するために止まっていては目的が台無しです。
|
|
172
|
+
|
|
173
|
+
<details>
|
|
174
|
+
<summary><strong>代替案:詳細なパーミッション設定</strong></summary>
|
|
175
|
+
|
|
176
|
+
このフラグを使いたくない場合は、プロジェクトの `.claude/settings.json` に以下を追加してください:
|
|
177
|
+
|
|
178
|
+
```json
|
|
179
|
+
{
|
|
180
|
+
"permissions": {
|
|
181
|
+
"allow": [
|
|
182
|
+
"Bash(date:*)",
|
|
183
|
+
"Bash(echo:*)",
|
|
184
|
+
"Bash(cat:*)",
|
|
185
|
+
"Bash(ls:*)",
|
|
186
|
+
"Bash(mkdir:*)",
|
|
187
|
+
"Bash(wc:*)",
|
|
188
|
+
"Bash(head:*)",
|
|
189
|
+
"Bash(tail:*)",
|
|
190
|
+
"Bash(sort:*)",
|
|
191
|
+
"Bash(grep:*)",
|
|
192
|
+
"Bash(tr:*)",
|
|
193
|
+
"Bash(git add:*)",
|
|
194
|
+
"Bash(git commit:*)",
|
|
195
|
+
"Bash(git status:*)",
|
|
196
|
+
"Bash(git log:*)",
|
|
197
|
+
"Bash(git diff:*)",
|
|
198
|
+
"Bash(git tag:*)"
|
|
199
|
+
]
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
</details>
|
|
205
|
+
|
|
206
|
+
---
|
|
207
|
+
|
|
208
|
+
## 仕組み
|
|
209
|
+
|
|
210
|
+
> **既存のコードがある場合は?** まず `/gsd:map-codebase` を実行してください。並列エージェントが起動し、スタック、アーキテクチャ、規約、懸念点を分析します。その後 `/gsd:new-project` がコードベースを把握した状態で動作し、質問は追加する内容に焦点を当て、計画時にはパターンが自動的に読み込まれます。
|
|
211
|
+
|
|
212
|
+
### 1. プロジェクトの初期化
|
|
213
|
+
|
|
214
|
+
```
|
|
215
|
+
/gsd:new-project
|
|
216
|
+
```
|
|
217
|
+
|
|
218
|
+
1つのコマンド、1つのフロー。システムが以下を行います:
|
|
219
|
+
|
|
220
|
+
1. **質問** — アイデアを完全に理解するまで質問します(目標、制約、技術的な好み、エッジケース)
|
|
221
|
+
2. **リサーチ** — 並列エージェントが起動しドメインを調査します(オプションですが推奨)
|
|
222
|
+
3. **要件定義** — v1、v2、スコープ外を抽出します
|
|
223
|
+
4. **ロードマップ** — 要件に紐づくフェーズを作成します
|
|
224
|
+
|
|
225
|
+
ロードマップを承認します。これでビルドの準備が整いました。
|
|
226
|
+
|
|
227
|
+
**作成されるファイル:** `PROJECT.md`、`REQUIREMENTS.md`、`ROADMAP.md`、`STATE.md`、`.planning/research/`
|
|
228
|
+
|
|
229
|
+
---
|
|
230
|
+
|
|
231
|
+
### 2. フェーズの議論
|
|
232
|
+
|
|
233
|
+
```
|
|
234
|
+
/gsd:discuss-phase 1
|
|
235
|
+
```
|
|
236
|
+
|
|
237
|
+
**ここで実装の方向性を決めます。**
|
|
238
|
+
|
|
239
|
+
ロードマップには各フェーズにつき1〜2文しかありません。あなたが*想像する*通りに構築するには十分なコンテキストではありません。このステップでは、リサーチや計画の前にあなたの好みを記録します。
|
|
240
|
+
|
|
241
|
+
システムがフェーズを分析し、構築内容に基づいてグレーゾーンを特定します:
|
|
242
|
+
|
|
243
|
+
- **ビジュアル機能** → レイアウト、密度、インタラクション、空状態
|
|
244
|
+
- **API/CLI** → レスポンス形式、フラグ、エラーハンドリング、詳細度
|
|
245
|
+
- **コンテンツシステム** → 構造、トーン、深さ、フロー
|
|
246
|
+
- **整理タスク** → グルーピング基準、命名、重複、例外
|
|
247
|
+
|
|
248
|
+
選択した各領域について、あなたが満足するまで質問します。出力される `CONTEXT.md` は、次の2つのステップに直接反映されます:
|
|
249
|
+
|
|
250
|
+
1. **リサーチャーが読む** — どんなパターンを調査すべきかを把握(「ユーザーはカードレイアウトを希望」→ カードコンポーネントライブラリを調査)
|
|
251
|
+
2. **プランナーが読む** — どの決定が確定済みかを把握(「無限スクロールに決定」→ スクロール処理を計画に含める)
|
|
252
|
+
|
|
253
|
+
ここで深く掘り下げるほど、システムはあなたが本当に望むものを構築します。スキップすれば妥当なデフォルトが使われます。活用すれば*あなたのビジョン*が反映されます。
|
|
254
|
+
|
|
255
|
+
**作成されるファイル:** `{phase_num}-CONTEXT.md`
|
|
256
|
+
|
|
257
|
+
> **前提モード:** 質問よりもコードベース分析を優先したい場合は、`/gsd:settings` で `workflow.discuss_mode` を `assumptions` に設定してください。システムがコードを読み、何をなぜそうするかを提示し、間違っている部分だけ修正を求めます。詳しくは[ディスカスモード](docs/ja-JP/workflow-discuss-mode.md)をご覧ください。
|
|
258
|
+
|
|
259
|
+
---
|
|
260
|
+
|
|
261
|
+
### 3. フェーズの計画
|
|
262
|
+
|
|
263
|
+
```
|
|
264
|
+
/gsd:plan-phase 1
|
|
265
|
+
```
|
|
266
|
+
|
|
267
|
+
システムが以下を行います:
|
|
268
|
+
|
|
269
|
+
1. **リサーチ** — CONTEXT.mdの決定事項をもとに、このフェーズの実装方法を調査します
|
|
270
|
+
2. **計画** — XML構造で2〜3個のアトミックなタスクプランを作成します
|
|
271
|
+
3. **検証** — プランを要件と照合し、合格するまでループします
|
|
272
|
+
|
|
273
|
+
各プランは新しいコンテキストウィンドウで実行できるほど小さくなっています。品質の劣化も「もっと簡潔にしますね」もありません。
|
|
274
|
+
|
|
275
|
+
**作成されるファイル:** `{phase_num}-RESEARCH.md`、`{phase_num}-{N}-PLAN.md`
|
|
276
|
+
|
|
277
|
+
---
|
|
278
|
+
|
|
279
|
+
### 4. フェーズの実行
|
|
280
|
+
|
|
281
|
+
```
|
|
282
|
+
/gsd:execute-phase 1
|
|
283
|
+
```
|
|
284
|
+
|
|
285
|
+
システムが以下を行います:
|
|
286
|
+
|
|
287
|
+
1. **ウェーブでプランを実行** — 可能な限り並列、依存関係がある場合は逐次
|
|
288
|
+
2. **プランごとにフレッシュなコンテキスト** — 実装に200kトークンをフル活用、蓄積されたゴミはゼロ
|
|
289
|
+
3. **タスクごとにコミット** — 各タスクが独自のアトミックコミットを取得
|
|
290
|
+
4. **目標に対して検証** — コードベースがフェーズの約束を果たしているか確認
|
|
291
|
+
|
|
292
|
+
席を離れて、戻ってきたらクリーンなgit履歴とともに完了した作業が待っています。
|
|
293
|
+
|
|
294
|
+
**ウェーブ実行の仕組み:**
|
|
295
|
+
|
|
296
|
+
プランは依存関係に基づいて「ウェーブ」にグループ化されます。各ウェーブ内のプランは並列実行されます。ウェーブは逐次実行されます。
|
|
297
|
+
|
|
298
|
+
```
|
|
299
|
+
┌────────────────────────────────────────────────────────────────────┐
|
|
300
|
+
│ PHASE EXECUTION │
|
|
301
|
+
├────────────────────────────────────────────────────────────────────┤
|
|
302
|
+
│ │
|
|
303
|
+
│ WAVE 1 (parallel) WAVE 2 (parallel) WAVE 3 │
|
|
304
|
+
│ ┌─────────┐ ┌─────────┐ ┌─────────┐ ┌─────────┐ ┌─────────┐ │
|
|
305
|
+
│ │ Plan 01 │ │ Plan 02 │ → │ Plan 03 │ │ Plan 04 │ → │ Plan 05 │ │
|
|
306
|
+
│ │ │ │ │ │ │ │ │ │ │ │
|
|
307
|
+
│ │ User │ │ Product │ │ Orders │ │ Cart │ │ Checkout│ │
|
|
308
|
+
│ │ Model │ │ Model │ │ API │ │ API │ │ UI │ │
|
|
309
|
+
│ └─────────┘ └─────────┘ └─────────┘ └─────────┘ └─────────┘ │
|
|
310
|
+
│ │ │ ↑ ↑ ↑ │
|
|
311
|
+
│ └───────────┴──────────────┴───────────┘ │ │
|
|
312
|
+
│ Dependencies: Plan 03 needs Plan 01 │ │
|
|
313
|
+
│ Plan 04 needs Plan 02 │ │
|
|
314
|
+
│ Plan 05 needs Plans 03 + 04 │ │
|
|
315
|
+
│ │
|
|
316
|
+
└────────────────────────────────────────────────────────────────────┘
|
|
317
|
+
```
|
|
318
|
+
|
|
319
|
+
**ウェーブが重要な理由:**
|
|
320
|
+
- 独立したプラン → 同じウェーブ → 並列実行
|
|
321
|
+
- 依存するプラン → 後のウェーブ → 依存関係を待つ
|
|
322
|
+
- ファイル競合 → 逐次プランまたは同一プラン内
|
|
323
|
+
|
|
324
|
+
これが「バーティカルスライス」(Plan 01: ユーザー機能をエンドツーエンド)が「ホリゾンタルレイヤー」(Plan 01: 全モデル、Plan 02: 全API)より並列化に適している理由です。
|
|
325
|
+
|
|
326
|
+
**作成されるファイル:** `{phase_num}-{N}-SUMMARY.md`、`{phase_num}-VERIFICATION.md`
|
|
327
|
+
|
|
328
|
+
---
|
|
329
|
+
|
|
330
|
+
### 5. 作業の検証
|
|
331
|
+
|
|
332
|
+
```
|
|
333
|
+
/gsd:verify-work 1
|
|
334
|
+
```
|
|
335
|
+
|
|
336
|
+
**ここで実際に動作するか確認します。**
|
|
337
|
+
|
|
338
|
+
自動検証はコードの存在とテストの合格を確認します。しかし、その機能は*期待通りに*動作していますか?ここはあなたが実際に使ってみる場です。
|
|
339
|
+
|
|
340
|
+
システムが以下を行います:
|
|
341
|
+
|
|
342
|
+
1. **テスト可能な成果物を抽出** — 今できるようになっているはずのこと
|
|
343
|
+
2. **1つずつ案内** — 「メールでログインできますか?」はい/いいえ、または何が問題かを説明
|
|
344
|
+
3. **障害を自動診断** — デバッグエージェントが起動し根本原因を特定
|
|
345
|
+
4. **検証済みの修正プランを作成** — 即座に再実行可能
|
|
346
|
+
|
|
347
|
+
すべてパスすれば次に進みます。何か壊れていれば、手動でデバッグする必要はありません — 作成された修正プランで `/gsd:execute-phase` を再度実行するだけです。
|
|
348
|
+
|
|
349
|
+
**作成されるファイル:** `{phase_num}-UAT.md`、問題が見つかった場合は修正プラン
|
|
350
|
+
|
|
351
|
+
---
|
|
352
|
+
|
|
353
|
+
### 6. 繰り返し → シップ → 完了 → 次のマイルストーン
|
|
354
|
+
|
|
355
|
+
```
|
|
356
|
+
/gsd:discuss-phase 2
|
|
357
|
+
/gsd:plan-phase 2
|
|
358
|
+
/gsd:execute-phase 2
|
|
359
|
+
/gsd:verify-work 2
|
|
360
|
+
/gsd:ship 2 # 検証済みの作業からPRを作成
|
|
361
|
+
...
|
|
362
|
+
/gsd:complete-milestone
|
|
363
|
+
/gsd:new-milestone
|
|
364
|
+
```
|
|
365
|
+
|
|
366
|
+
またはGSDに次のステップを自動判定させます:
|
|
367
|
+
|
|
368
|
+
```
|
|
369
|
+
/gsd:next # 次のステップを自動検出して実行
|
|
370
|
+
```
|
|
371
|
+
|
|
372
|
+
**discuss → plan → execute → verify → ship** のループをマイルストーン完了まで繰り返します。
|
|
373
|
+
|
|
374
|
+
ディスカッション中のインプットを速くしたい場合は、`/gsd:discuss-phase <n> --batch` で1つずつではなく小さなグループにまとめた質問に一括で回答できます。
|
|
375
|
+
|
|
376
|
+
各フェーズであなたのインプット(discuss)、適切なリサーチ(plan)、クリーンな実行(execute)、人間による検証(verify)が行われます。コンテキストは常にフレッシュ。品質は常に高い。
|
|
377
|
+
|
|
378
|
+
すべてのフェーズが完了したら、`/gsd:complete-milestone` でマイルストーンをアーカイブしリリースをタグ付けします。
|
|
379
|
+
|
|
380
|
+
次に `/gsd:new-milestone` で次のバージョンを開始します — `new-project` と同じフローですが既存のコードベース向けです。次に構築したいものを説明し、システムがドメインを調査し、要件をスコーピングし、新しいロードマップを作成します。各マイルストーンはクリーンなサイクルです:定義 → 構築 → シップ。
|
|
381
|
+
|
|
382
|
+
---
|
|
383
|
+
|
|
384
|
+
### クイックモード
|
|
385
|
+
|
|
386
|
+
```
|
|
387
|
+
/gsd:quick
|
|
388
|
+
```
|
|
389
|
+
|
|
390
|
+
**フル計画が不要なアドホックタスク向け。**
|
|
391
|
+
|
|
392
|
+
クイックモードはGSDの保証(アトミックコミット、状態トラッキング)をより速いパスで提供します:
|
|
393
|
+
|
|
394
|
+
- **同じエージェント** — プランナー + エグゼキューター、同じ品質
|
|
395
|
+
- **オプションステップをスキップ** — デフォルトではリサーチ、プランチェッカー、ベリファイアなし
|
|
396
|
+
- **別トラッキング** — `.planning/quick/` に保存、フェーズとは別管理
|
|
397
|
+
|
|
398
|
+
**`--discuss` フラグ:** 計画前にグレーゾーンを洗い出す軽量ディスカッション。
|
|
399
|
+
|
|
400
|
+
**`--research` フラグ:** 計画前にフォーカスされたリサーチャーを起動。実装アプローチ、ライブラリの選択肢、落とし穴を調査します。タスクへのアプローチが不明な場合に使用してください。
|
|
401
|
+
|
|
402
|
+
**`--full` フラグ:** プランチェック(最大2回のイテレーション)と実行後の検証を有効にします。
|
|
403
|
+
|
|
404
|
+
フラグは組み合わせ可能:`--discuss --research --full` でディスカッション + リサーチ + プランチェック + 検証が行われます。
|
|
405
|
+
|
|
406
|
+
```
|
|
407
|
+
/gsd:quick
|
|
408
|
+
> What do you want to do? "Add dark mode toggle to settings"
|
|
409
|
+
```
|
|
410
|
+
|
|
411
|
+
**作成されるファイル:** `.planning/quick/001-add-dark-mode-toggle/PLAN.md`、`SUMMARY.md`
|
|
412
|
+
|
|
413
|
+
---
|
|
414
|
+
|
|
415
|
+
## なぜ効果的なのか
|
|
416
|
+
|
|
417
|
+
### コンテキストエンジニアリング
|
|
418
|
+
|
|
419
|
+
Claude Codeは必要なコンテキストを与えれば非常に強力です。ほとんどの人はそれをしていません。
|
|
420
|
+
|
|
421
|
+
GSDがそれを代わりに処理します:
|
|
422
|
+
|
|
423
|
+
| ファイル | 役割 |
|
|
424
|
+
|------|--------------|
|
|
425
|
+
| `PROJECT.md` | プロジェクトビジョン、常に読み込まれる |
|
|
426
|
+
| `research/` | エコシステムの知識(スタック、機能、アーキテクチャ、落とし穴) |
|
|
427
|
+
| `REQUIREMENTS.md` | フェーズとのトレーサビリティを持つスコープ済みv1/v2要件 |
|
|
428
|
+
| `ROADMAP.md` | 進む方向、完了済みの作業 |
|
|
429
|
+
| `STATE.md` | 決定事項、ブロッカー、現在地 — セッション間のメモリ |
|
|
430
|
+
| `PLAN.md` | XML構造のアトミックタスク、検証ステップ付き |
|
|
431
|
+
| `SUMMARY.md` | 何が起きたか、何が変わったか、履歴にコミット |
|
|
432
|
+
| `todos/` | 後で取り組むアイデアやタスクのキャプチャ |
|
|
433
|
+
| `threads/` | セッションをまたぐ作業のための永続コンテキストスレッド |
|
|
434
|
+
| `seeds/` | 適切なマイルストーンで浮上する将来志向のアイデア |
|
|
435
|
+
|
|
436
|
+
サイズ制限はClaudeの品質が劣化するポイントに基づいています。制限内に収まれば、一貫した高品質が得られます。
|
|
437
|
+
|
|
438
|
+
### XMLプロンプトフォーマッティング
|
|
439
|
+
|
|
440
|
+
すべてのプランはClaude向けに最適化された構造化XMLです:
|
|
441
|
+
|
|
442
|
+
```xml
|
|
443
|
+
<task type="auto">
|
|
444
|
+
<name>Create login endpoint</name>
|
|
445
|
+
<files>src/app/api/auth/login/route.ts</files>
|
|
446
|
+
<action>
|
|
447
|
+
<!-- CommonJSの問題があるため、jsonwebtokenではなくjoseをJWTに使用。 -->
|
|
448
|
+
<!-- usersテーブルに対して認証情報を検証。 -->
|
|
449
|
+
<!-- 成功時にhttpOnly cookieを返す。 -->
|
|
450
|
+
Use jose for JWT (not jsonwebtoken - CommonJS issues).
|
|
451
|
+
Validate credentials against users table.
|
|
452
|
+
Return httpOnly cookie on success.
|
|
453
|
+
</action>
|
|
454
|
+
<verify>curl -X POST localhost:3000/api/auth/login returns 200 + Set-Cookie</verify>
|
|
455
|
+
<done>Valid credentials return cookie, invalid return 401</done>
|
|
456
|
+
</task>
|
|
457
|
+
```
|
|
458
|
+
|
|
459
|
+
正確な指示。推測なし。検証が組み込み済み。
|
|
460
|
+
|
|
461
|
+
### マルチエージェントオーケストレーション
|
|
462
|
+
|
|
463
|
+
すべてのステージで同じパターンを使用します:薄いオーケストレーターが専門エージェントを起動し、結果を収集し、次のステップにルーティングします。
|
|
464
|
+
|
|
465
|
+
| ステージ | オーケストレーターの役割 | エージェントの役割 |
|
|
466
|
+
|-------|------------------|-----------|
|
|
467
|
+
| リサーチ | 調整し、発見事項を提示 | 4つの並列リサーチャーがスタック、機能、アーキテクチャ、落とし穴を調査 |
|
|
468
|
+
| プランニング | 検証し、イテレーションを管理 | プランナーがプランを作成、チェッカーが検証、合格するまでループ |
|
|
469
|
+
| 実行 | ウェーブにグループ化し、進捗を追跡 | エグゼキューターがフレッシュな200kコンテキストで並列実装 |
|
|
470
|
+
| 検証 | 結果を提示し、次にルーティング | ベリファイアがコードベースを目標と照合、デバッガーが障害を診断 |
|
|
471
|
+
|
|
472
|
+
オーケストレーターは重い処理を行いません。エージェントを起動し、待機し、結果を統合します。
|
|
473
|
+
|
|
474
|
+
**結果:** フェーズ全体を実行できます — 深いリサーチ、複数のプランの作成と検証、並列エグゼキューターによる数千行のコード記述、目標に対する自動検証 — そしてメインのコンテキストウィンドウは30〜40%に留まります。処理はフレッシュなサブエージェントコンテキストで行われます。セッションは高速でレスポンシブなままです。
|
|
475
|
+
|
|
476
|
+
### アトミックGitコミット
|
|
477
|
+
|
|
478
|
+
各タスクは完了直後に独自のコミットを取得します:
|
|
479
|
+
|
|
480
|
+
```bash
|
|
481
|
+
abc123f docs(08-02): complete user registration plan
|
|
482
|
+
def456g feat(08-02): add email confirmation flow
|
|
483
|
+
hij789k feat(08-02): implement password hashing
|
|
484
|
+
lmn012o feat(08-02): create registration endpoint
|
|
485
|
+
```
|
|
486
|
+
|
|
487
|
+
> [!NOTE]
|
|
488
|
+
> **メリット:** git bisectで問題のある正確なタスクを特定可能。各タスクを個別にリバート可能。将来のセッションでClaudeに明確な履歴を提供。AI自動化ワークフローにおけるオブザーバビリティの向上。
|
|
489
|
+
|
|
490
|
+
すべてのコミットは的確で、追跡可能で、意味があります。
|
|
491
|
+
|
|
492
|
+
### モジュラー設計
|
|
493
|
+
|
|
494
|
+
- 現在のマイルストーンにフェーズを追加
|
|
495
|
+
- フェーズ間に緊急作業を挿入
|
|
496
|
+
- マイルストーンを完了して新しく開始
|
|
497
|
+
- すべてを再構築せずにプランを調整
|
|
498
|
+
|
|
499
|
+
ロックインされることはありません。システムが適応します。
|
|
500
|
+
|
|
501
|
+
---
|
|
502
|
+
|
|
503
|
+
## コマンド
|
|
504
|
+
|
|
505
|
+
### コアワークフロー
|
|
506
|
+
|
|
507
|
+
| コマンド | 説明 |
|
|
508
|
+
|---------|--------------|
|
|
509
|
+
| `/gsd:new-project [--auto]` | フル初期化:質問 → リサーチ → 要件定義 → ロードマップ |
|
|
510
|
+
| `/gsd:discuss-phase [N] [--auto] [--analyze]` | 計画前に実装の決定事項をキャプチャ(`--analyze` でトレードオフ分析を追加) |
|
|
511
|
+
| `/gsd:plan-phase [N] [--auto] [--reviews]` | フェーズのリサーチ + プラン + 検証(`--reviews` でコードベースレビューの発見事項を読み込み) |
|
|
512
|
+
| `/gsd:execute-phase <N>` | 全プランを並列ウェーブで実行し、完了時に検証 |
|
|
513
|
+
| `/gsd:verify-work [N]` | 手動ユーザー受入テスト ¹ |
|
|
514
|
+
| `/gsd:ship [N] [--draft]` | 検証済みのフェーズ作業から自動生成された本文付きのPRを作成 |
|
|
515
|
+
| `/gsd:next` | 次の論理的なワークフローステップに自動的に進む |
|
|
516
|
+
| `/gsd:fast <text>` | インラインの軽微タスク — 計画を完全にスキップし即座に実行 |
|
|
517
|
+
| `/gsd:audit-milestone` | マイルストーンが完了の定義を達成したか検証 |
|
|
518
|
+
| `/gsd:complete-milestone` | マイルストーンをアーカイブし、リリースをタグ付け |
|
|
519
|
+
| `/gsd:new-milestone [name]` | 次のバージョンを開始:質問 → リサーチ → 要件定義 → ロードマップ |
|
|
520
|
+
| `/gsd:forensics [desc]` | 失敗したワークフロー実行の事後分析(停止ループ、欠落成果物、git異常の診断) |
|
|
521
|
+
| `/gsd:milestone-summary [version]` | チームオンボーディングとレビュー向けの包括的なプロジェクトサマリーを生成 |
|
|
522
|
+
|
|
523
|
+
### ワークストリーム
|
|
524
|
+
|
|
525
|
+
| コマンド | 説明 |
|
|
526
|
+
|---------|--------------|
|
|
527
|
+
| `/gsd:workstreams list` | 全ワークストリームとそのステータスを表示 |
|
|
528
|
+
| `/gsd:workstreams create <name>` | 並列マイルストーン作業用の名前空間付きワークストリームを作成 |
|
|
529
|
+
| `/gsd:workstreams switch <name>` | アクティブなワークストリームを切り替え |
|
|
530
|
+
| `/gsd:workstreams complete <name>` | ワークストリームを完了しマージ |
|
|
531
|
+
|
|
532
|
+
### マルチプロジェクトワークスペース
|
|
533
|
+
|
|
534
|
+
| コマンド | 説明 |
|
|
535
|
+
|---------|--------------|
|
|
536
|
+
| `/gsd:new-workspace` | リポジトリのコピー(worktreeまたはクローン)で隔離されたワークスペースを作成 |
|
|
537
|
+
| `/gsd:list-workspaces` | すべてのGSDワークスペースとそのステータスを表示 |
|
|
538
|
+
| `/gsd:remove-workspace` | ワークスペースを削除しworktreeをクリーンアップ |
|
|
539
|
+
|
|
540
|
+
### UIデザイン
|
|
541
|
+
|
|
542
|
+
| コマンド | 説明 |
|
|
543
|
+
|---------|--------------|
|
|
544
|
+
| `/gsd:ui-phase [N]` | フロントエンドフェーズ用のUIデザイン契約(UI-SPEC.md)を生成 |
|
|
545
|
+
| `/gsd:ui-review [N]` | 実装済みフロントエンドコードの6つの柱によるビジュアル監査(遡及的) |
|
|
546
|
+
|
|
547
|
+
### ナビゲーション
|
|
548
|
+
|
|
549
|
+
| コマンド | 説明 |
|
|
550
|
+
|---------|--------------|
|
|
551
|
+
| `/gsd:progress` | 今どこにいる?次は何? |
|
|
552
|
+
| `/gsd:next` | 状態を自動検出し次のステップを実行 |
|
|
553
|
+
| `/gsd:help` | 全コマンドと使い方ガイドを表示 |
|
|
554
|
+
| `/gsd:update` | チェンジログプレビュー付きでGSDをアップデート |
|
|
555
|
+
| `/gsd:join-discord` | GSD Discordコミュニティに参加 |
|
|
556
|
+
| `/gsd:manager` | 複数フェーズ管理用のインタラクティブコマンドセンター |
|
|
557
|
+
|
|
558
|
+
### ブラウンフィールド
|
|
559
|
+
|
|
560
|
+
| コマンド | 説明 |
|
|
561
|
+
|---------|--------------|
|
|
562
|
+
| `/gsd:map-codebase [area]` | new-project前に既存のコードベースを分析 |
|
|
563
|
+
|
|
564
|
+
### フェーズ管理
|
|
565
|
+
|
|
566
|
+
| コマンド | 説明 |
|
|
567
|
+
|---------|--------------|
|
|
568
|
+
| `/gsd:add-phase` | ロードマップにフェーズを追加 |
|
|
569
|
+
| `/gsd:insert-phase [N]` | フェーズ間に緊急作業を挿入 |
|
|
570
|
+
| `/gsd:remove-phase [N]` | 将来のフェーズを削除し番号を振り直し |
|
|
571
|
+
| `/gsd:list-phase-assumptions [N]` | 計画前にClaudeの意図するアプローチを確認 |
|
|
572
|
+
| `/gsd:plan-milestone-gaps` | 監査で見つかったギャップを埋めるフェーズを作成 |
|
|
573
|
+
|
|
574
|
+
### セッション
|
|
575
|
+
|
|
576
|
+
| コマンド | 説明 |
|
|
577
|
+
|---------|--------------|
|
|
578
|
+
| `/gsd:pause-work` | フェーズ途中で停止する際の引き継ぎを作成(HANDOFF.jsonを書き込み) |
|
|
579
|
+
| `/gsd:resume-work` | 前回のセッションから復元 |
|
|
580
|
+
| `/gsd:session-report` | 実行した作業と結果のセッションサマリーを生成 |
|
|
581
|
+
|
|
582
|
+
### ワークストリーム
|
|
583
|
+
|
|
584
|
+
| コマンド | 説明 |
|
|
585
|
+
|---------|--------------|
|
|
586
|
+
| `/gsd:workstreams` | 並列ワークストリームを管理(list、create、switch、status、progress、complete) |
|
|
587
|
+
|
|
588
|
+
### コード品質
|
|
589
|
+
|
|
590
|
+
| コマンド | 説明 |
|
|
591
|
+
|---------|--------------|
|
|
592
|
+
| `/gsd:review` | 現在のフェーズまたはブランチのクロスAIピアレビュー |
|
|
593
|
+
| `/gsd:pr-branch` | `.planning/` コミットをフィルタリングしたクリーンなPRブランチを作成 |
|
|
594
|
+
| `/gsd:audit-uat` | 検証負債を監査 — UATが未実施のフェーズを検出 |
|
|
595
|
+
|
|
596
|
+
### バックログ & スレッド
|
|
597
|
+
|
|
598
|
+
| コマンド | 説明 |
|
|
599
|
+
|---------|--------------|
|
|
600
|
+
| `/gsd:plant-seed <idea>` | トリガー条件付きの将来志向のアイデアをキャプチャ — 適切なマイルストーンで浮上 |
|
|
601
|
+
| `/gsd:add-backlog <desc>` | バックログのパーキングロットにアイデアを追加(999.xナンバリング、アクティブシーケンス外) |
|
|
602
|
+
| `/gsd:review-backlog` | バックログ項目をレビューし、アクティブマイルストーンに昇格またはstaleエントリを削除 |
|
|
603
|
+
| `/gsd:thread [name]` | 永続コンテキストスレッド — 複数セッションにまたがる作業用の軽量クロスセッション知識 |
|
|
604
|
+
|
|
605
|
+
### ユーティリティ
|
|
606
|
+
|
|
607
|
+
| コマンド | 説明 |
|
|
608
|
+
|---------|--------------|
|
|
609
|
+
| `/gsd:settings` | モデルプロファイルとワークフローエージェントを設定 |
|
|
610
|
+
| `/gsd:set-profile <profile>` | モデルプロファイルを切り替え(quality/balanced/budget/inherit) |
|
|
611
|
+
| `/gsd:add-todo [desc]` | 後で取り組むアイデアをキャプチャ |
|
|
612
|
+
| `/gsd:check-todos` | 保留中のtodoを一覧表示 |
|
|
613
|
+
| `/gsd:debug [desc]` | 永続状態を持つ体系的デバッグ |
|
|
614
|
+
| `/gsd:do <text>` | フリーフォームテキストを適切なGSDコマンドに自動ルーティング |
|
|
615
|
+
| `/gsd:note <text>` | ゼロフリクションのアイデアキャプチャ — ノートの追加、一覧、todoへの昇格 |
|
|
616
|
+
| `/gsd:quick [--full] [--discuss] [--research]` | GSDの保証付きでアドホックタスクを実行(`--full` でプランチェックと検証を追加、`--discuss` で事前にコンテキストを収集、`--research` で計画前にアプローチを調査) |
|
|
617
|
+
| `/gsd:health [--repair]` | `.planning/` ディレクトリの整合性を検証、`--repair` で自動修復 |
|
|
618
|
+
| `/gsd:stats` | プロジェクト統計を表示 — フェーズ、プラン、要件、gitメトリクス |
|
|
619
|
+
| `/gsd:profile-user [--questionnaire] [--refresh]` | セッション分析から開発者行動プロファイルを生成し、パーソナライズされた応答を提供 |
|
|
620
|
+
|
|
621
|
+
<sup>¹ Redditユーザー OracleGreyBeard による貢献</sup>
|
|
622
|
+
|
|
623
|
+
---
|
|
624
|
+
|
|
625
|
+
## 設定
|
|
626
|
+
|
|
627
|
+
GSDはプロジェクト設定を `.planning/config.json` に保存します。`/gsd:new-project` 実行時に設定するか、後から `/gsd:settings` で更新できます。完全な設定スキーマ、ワークフロートグル、gitブランチオプション、エージェントごとのモデル内訳については、[ユーザーガイド](docs/ja-JP/USER-GUIDE.md#configuration-reference)をご覧ください。
|
|
628
|
+
|
|
629
|
+
### コア設定
|
|
630
|
+
|
|
631
|
+
| 設定 | オプション | デフォルト | 制御内容 |
|
|
632
|
+
|---------|---------|---------|------------------|
|
|
633
|
+
| `mode` | `yolo`, `interactive` | `interactive` | 自動承認 vs 各ステップで確認 |
|
|
634
|
+
| `granularity` | `coarse`, `standard`, `fine` | `standard` | フェーズの粒度 — スコープをどれだけ細かく分割するか(フェーズ × プラン) |
|
|
635
|
+
|
|
636
|
+
### モデルプロファイル
|
|
637
|
+
|
|
638
|
+
各エージェントが使用するClaudeモデルを制御します。品質とトークン消費のバランスを取ります。
|
|
639
|
+
|
|
640
|
+
| プロファイル | プランニング | 実行 | 検証 |
|
|
641
|
+
|---------|----------|-----------|--------------|
|
|
642
|
+
| `quality` | Opus | Opus | Sonnet |
|
|
643
|
+
| `balanced`(デフォルト) | Opus | Sonnet | Sonnet |
|
|
644
|
+
| `budget` | Sonnet | Sonnet | Haiku |
|
|
645
|
+
| `inherit` | Inherit | Inherit | Inherit |
|
|
646
|
+
|
|
647
|
+
プロファイルの切り替え:
|
|
648
|
+
```
|
|
649
|
+
/gsd:set-profile budget
|
|
650
|
+
```
|
|
651
|
+
|
|
652
|
+
非Anthropicプロバイダー(OpenRouter、ローカルモデル)を使用する場合や、現在のランタイムのモデル選択に従う場合(例:OpenCode `/model`)は `inherit` を使用してください。
|
|
653
|
+
|
|
654
|
+
または `/gsd:settings` で設定できます。
|
|
655
|
+
|
|
656
|
+
### ワークフローエージェント
|
|
657
|
+
|
|
658
|
+
プランニング/実行時に追加のエージェントを起動します。品質は向上しますが、トークンと時間が追加されます。
|
|
659
|
+
|
|
660
|
+
| 設定 | デフォルト | 説明 |
|
|
661
|
+
|---------|---------|--------------|
|
|
662
|
+
| `workflow.research` | `true` | 各フェーズの計画前にドメインを調査 |
|
|
663
|
+
| `workflow.plan_check` | `true` | 実行前にプランがフェーズ目標を達成しているか検証 |
|
|
664
|
+
| `workflow.verifier` | `true` | 実行後に必須項目が提供されたか確認 |
|
|
665
|
+
| `workflow.auto_advance` | `false` | discuss → plan → execute を停止せずに自動チェーン |
|
|
666
|
+
| `workflow.research_before_questions` | `false` | ディスカッション質問の後ではなく前にリサーチを実行 |
|
|
667
|
+
| `workflow.discuss_mode` | `'discuss'` | ディスカッションモード:`discuss`(インタビュー)、`assumptions`(コードベースファースト) |
|
|
668
|
+
| `workflow.skip_discuss` | `false` | 自律モードでdiscuss-phaseをスキップ |
|
|
669
|
+
| `workflow.text_mode` | `false` | リモートセッション用のテキスト専用モード(TUIメニューなし) |
|
|
670
|
+
|
|
671
|
+
これらのトグルには `/gsd:settings` を使用するか、呼び出し時にオーバーライドできます:
|
|
672
|
+
- `/gsd:plan-phase --skip-research`
|
|
673
|
+
- `/gsd:plan-phase --skip-verify`
|
|
674
|
+
|
|
675
|
+
### 実行
|
|
676
|
+
|
|
677
|
+
| 設定 | デフォルト | 制御内容 |
|
|
678
|
+
|---------|---------|------------------|
|
|
679
|
+
| `parallelization.enabled` | `true` | 独立したプランを同時に実行 |
|
|
680
|
+
| `planning.commit_docs` | `true` | `.planning/` をgitで追跡 |
|
|
681
|
+
| `hooks.context_warnings` | `true` | コンテキストウィンドウの使用量警告を表示 |
|
|
682
|
+
|
|
683
|
+
### Gitブランチ
|
|
684
|
+
|
|
685
|
+
GSDが実行中にブランチをどう扱うかを制御します。
|
|
686
|
+
|
|
687
|
+
| 設定 | オプション | デフォルト | 説明 |
|
|
688
|
+
|---------|---------|---------|--------------|
|
|
689
|
+
| `git.branching_strategy` | `none`, `phase`, `milestone` | `none` | ブランチ作成戦略 |
|
|
690
|
+
| `git.phase_branch_template` | string | `gsd/phase-{phase}-{slug}` | フェーズブランチのテンプレート |
|
|
691
|
+
| `git.milestone_branch_template` | string | `gsd/{milestone}-{slug}` | マイルストーンブランチのテンプレート |
|
|
692
|
+
|
|
693
|
+
**戦略:**
|
|
694
|
+
- **`none`** — 現在のブランチにコミット(デフォルトのGSD動作)
|
|
695
|
+
- **`phase`** — フェーズごとにブランチを作成し、フェーズ完了時にマージ
|
|
696
|
+
- **`milestone`** — マイルストーン全体で1つのブランチを作成し、完了時にマージ
|
|
697
|
+
|
|
698
|
+
マイルストーン完了時、GSDはスカッシュマージ(推奨)または履歴付きマージを提案します。
|
|
699
|
+
|
|
700
|
+
---
|
|
701
|
+
|
|
702
|
+
## セキュリティ
|
|
703
|
+
|
|
704
|
+
### 組み込みセキュリティハードニング
|
|
705
|
+
|
|
706
|
+
GSDはv1.27以降、多層防御セキュリティを備えています:
|
|
707
|
+
|
|
708
|
+
- **パストラバーサル防止** — ユーザー提供のすべてのファイルパス(`--text-file`、`--prd`)がプロジェクトディレクトリ内に解決されるか検証
|
|
709
|
+
- **プロンプトインジェクション検出** — 集中型 `security.cjs` モジュールが計画成果物に入る前にユーザー提供テキストのインジェクションパターンをスキャン
|
|
710
|
+
- **PreToolUseプロンプトガードフック** — `gsd-prompt-guard` が `.planning/` への書き込みに埋め込まれたインジェクションベクトルをスキャン(アドバイザリー、ブロッキングではない)
|
|
711
|
+
- **安全なJSON解析** — 不正な `--fields` 引数が状態を破損する前にキャッチ
|
|
712
|
+
- **シェル引数バリデーション** — シェル補間前にユーザーテキストをサニタイズ
|
|
713
|
+
- **CI対応インジェクションスキャナー** — `prompt-injection-scan.test.cjs` が全エージェント/ワークフロー/コマンドファイルの埋め込みインジェクションベクトルをスキャン
|
|
714
|
+
|
|
715
|
+
> [!NOTE]
|
|
716
|
+
> GSDはLLMシステムプロンプトとなるマークダウンファイルを生成するため、計画成果物に流入するユーザー制御テキストは潜在的な間接プロンプトインジェクションベクトルとなります。これらの保護は、そのようなベクトルを複数のレイヤーで捕捉するように設計されています。
|
|
717
|
+
|
|
718
|
+
### 機密ファイルの保護
|
|
719
|
+
|
|
720
|
+
GSDのコードベースマッピングおよび分析コマンドは、プロジェクトを理解するためにファイルを読み取ります。**シークレットを含むファイルを保護する**には、Claude Codeの拒否リストに追加してください:
|
|
721
|
+
|
|
722
|
+
1. Claude Code設定(`.claude/settings.json` またはグローバル)を開きます
|
|
723
|
+
2. 機密ファイルパターンを拒否リストに追加します:
|
|
724
|
+
|
|
725
|
+
```json
|
|
726
|
+
{
|
|
727
|
+
"permissions": {
|
|
728
|
+
"deny": [
|
|
729
|
+
"Read(.env)",
|
|
730
|
+
"Read(.env.*)",
|
|
731
|
+
"Read(**/secrets/*)",
|
|
732
|
+
"Read(**/*credential*)",
|
|
733
|
+
"Read(**/*.pem)",
|
|
734
|
+
"Read(**/*.key)"
|
|
735
|
+
]
|
|
736
|
+
}
|
|
737
|
+
}
|
|
738
|
+
```
|
|
739
|
+
|
|
740
|
+
これにより、どのコマンドを実行しても、Claudeがこれらのファイルを完全に読み取ることを防ぎます。
|
|
741
|
+
|
|
742
|
+
> [!IMPORTANT]
|
|
743
|
+
> GSDにはシークレットのコミットに対する組み込み保護がありますが、多層防御がベストプラクティスです。防御の第一線として、機密ファイルへの読み取りアクセスを拒否してください。
|
|
744
|
+
|
|
745
|
+
---
|
|
746
|
+
|
|
747
|
+
## トラブルシューティング
|
|
748
|
+
|
|
749
|
+
**インストール後にコマンドが見つからない?**
|
|
750
|
+
- ランタイムを再起動してコマンド/スキルを再読み込みしてください
|
|
751
|
+
- `~/.claude/commands/gsd/`(グローバル)または `./.claude/commands/gsd/`(ローカル)にファイルが存在するか確認してください
|
|
752
|
+
- Codexの場合、`~/.codex/skills/gsd-*/SKILL.md`(グローバル)または `./.codex/skills/gsd-*/SKILL.md`(ローカル)にスキルが存在するか確認してください
|
|
753
|
+
|
|
754
|
+
**コマンドが期待通りに動作しない?**
|
|
755
|
+
- `/gsd:help` を実行してインストールを確認してください
|
|
756
|
+
- `npx get-shit-done-cc` を再実行して再インストールしてください
|
|
757
|
+
|
|
758
|
+
**最新バージョンへのアップデート?**
|
|
759
|
+
```bash
|
|
760
|
+
npx get-shit-done-cc@latest
|
|
761
|
+
```
|
|
762
|
+
|
|
763
|
+
**Dockerまたはコンテナ化環境を使用している?**
|
|
764
|
+
|
|
765
|
+
チルダパス(`~/.claude/...`)でファイル読み取りが失敗する場合、インストール前に `CLAUDE_CONFIG_DIR` を設定してください:
|
|
766
|
+
```bash
|
|
767
|
+
CLAUDE_CONFIG_DIR=/home/youruser/.claude npx get-shit-done-cc --global
|
|
768
|
+
```
|
|
769
|
+
これにより、コンテナ内で正しく展開されない可能性がある `~` の代わりに絶対パスが使用されます。
|
|
770
|
+
|
|
771
|
+
### アンインストール
|
|
772
|
+
|
|
773
|
+
GSDを完全に削除するには:
|
|
774
|
+
|
|
775
|
+
```bash
|
|
776
|
+
# グローバルインストール
|
|
777
|
+
npx get-shit-done-cc --claude --global --uninstall
|
|
778
|
+
npx get-shit-done-cc --opencode --global --uninstall
|
|
779
|
+
npx get-shit-done-cc --gemini --global --uninstall
|
|
780
|
+
npx get-shit-done-cc --codex --global --uninstall
|
|
781
|
+
npx get-shit-done-cc --copilot --global --uninstall
|
|
782
|
+
npx get-shit-done-cc --cursor --global --uninstall
|
|
783
|
+
npx get-shit-done-cc --antigravity --global --uninstall
|
|
784
|
+
|
|
785
|
+
# ローカルインストール(現在のプロジェクト)
|
|
786
|
+
npx get-shit-done-cc --claude --local --uninstall
|
|
787
|
+
npx get-shit-done-cc --opencode --local --uninstall
|
|
788
|
+
npx get-shit-done-cc --gemini --local --uninstall
|
|
789
|
+
npx get-shit-done-cc --codex --local --uninstall
|
|
790
|
+
npx get-shit-done-cc --copilot --local --uninstall
|
|
791
|
+
npx get-shit-done-cc --cursor --local --uninstall
|
|
792
|
+
npx get-shit-done-cc --antigravity --local --uninstall
|
|
793
|
+
```
|
|
794
|
+
|
|
795
|
+
これにより、他の設定を保持しながら、すべてのGSDコマンド、エージェント、フック、設定が削除されます。
|
|
796
|
+
|
|
797
|
+
---
|
|
798
|
+
|
|
799
|
+
## コミュニティポート
|
|
800
|
+
|
|
801
|
+
OpenCode、Gemini CLI、Codexは `npx get-shit-done-cc` でネイティブサポートされています。
|
|
802
|
+
|
|
803
|
+
以下のコミュニティポートがマルチランタイムサポートの先駆けとなりました:
|
|
804
|
+
|
|
805
|
+
| プロジェクト | プラットフォーム | 説明 |
|
|
806
|
+
|---------|----------|-------------|
|
|
807
|
+
| [gsd-opencode](https://github.com/rokicool/gsd-opencode) | OpenCode | オリジナルのOpenCode対応版 |
|
|
808
|
+
| gsd-gemini(アーカイブ済み) | Gemini CLI | uberfuzzyによるオリジナルのGemini対応版 |
|
|
809
|
+
|
|
810
|
+
---
|
|
811
|
+
|
|
812
|
+
## スター履歴
|
|
813
|
+
|
|
814
|
+
<a href="https://star-history.com/#gsd-build/get-shit-done&Date">
|
|
815
|
+
<picture>
|
|
816
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=gsd-build/get-shit-done&type=Date&theme=dark" />
|
|
817
|
+
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=gsd-build/get-shit-done&type=Date" />
|
|
818
|
+
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=gsd-build/get-shit-done&type=Date" />
|
|
819
|
+
</picture>
|
|
820
|
+
</a>
|
|
821
|
+
|
|
822
|
+
---
|
|
823
|
+
|
|
824
|
+
## ライセンス
|
|
825
|
+
|
|
826
|
+
MITライセンス。詳細は [LICENSE](LICENSE) をご覧ください。
|
|
827
|
+
|
|
828
|
+
---
|
|
829
|
+
|
|
830
|
+
<div align="center">
|
|
831
|
+
|
|
832
|
+
**Claude Codeは強力です。GSDはそれを信頼性の高いものにします。**
|
|
833
|
+
|
|
834
|
+
</div>
|