@tekyzinc/gsd-t 2.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.
Files changed (46) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +276 -0
  3. package/bin/gsd-t.js +641 -0
  4. package/commands/Claude-md.md +8 -0
  5. package/commands/branch.md +11 -0
  6. package/commands/checkin.md +15 -0
  7. package/commands/gsd-t-brainstorm.md +171 -0
  8. package/commands/gsd-t-complete-milestone.md +171 -0
  9. package/commands/gsd-t-debug.md +88 -0
  10. package/commands/gsd-t-discuss.md +100 -0
  11. package/commands/gsd-t-execute.md +121 -0
  12. package/commands/gsd-t-feature.md +203 -0
  13. package/commands/gsd-t-help.md +249 -0
  14. package/commands/gsd-t-impact.md +216 -0
  15. package/commands/gsd-t-init.md +119 -0
  16. package/commands/gsd-t-integrate.md +126 -0
  17. package/commands/gsd-t-milestone.md +60 -0
  18. package/commands/gsd-t-partition.md +167 -0
  19. package/commands/gsd-t-plan.md +116 -0
  20. package/commands/gsd-t-populate.md +44 -0
  21. package/commands/gsd-t-project.md +182 -0
  22. package/commands/gsd-t-promote-debt.md +88 -0
  23. package/commands/gsd-t-prompt.md +133 -0
  24. package/commands/gsd-t-quick.md +54 -0
  25. package/commands/gsd-t-resume.md +53 -0
  26. package/commands/gsd-t-scan.md +341 -0
  27. package/commands/gsd-t-status.md +34 -0
  28. package/commands/gsd-t-test-sync.md +256 -0
  29. package/commands/gsd-t-verify.md +135 -0
  30. package/commands/gsd-t-wave.md +188 -0
  31. package/docs/GSD-T-README.md +268 -0
  32. package/docs/methodology.md +85 -0
  33. package/examples/.gsd-t/contracts/api-contract.md +22 -0
  34. package/examples/.gsd-t/contracts/integration-points.md +28 -0
  35. package/examples/.gsd-t/contracts/schema-contract.md +14 -0
  36. package/examples/.gsd-t/domains/example-domain/constraints.md +17 -0
  37. package/examples/.gsd-t/domains/example-domain/scope.md +15 -0
  38. package/examples/settings.json +17 -0
  39. package/package.json +33 -0
  40. package/templates/CLAUDE-global.md +188 -0
  41. package/templates/CLAUDE-project.md +44 -0
  42. package/templates/architecture.md +40 -0
  43. package/templates/infrastructure.md +116 -0
  44. package/templates/progress.md +37 -0
  45. package/templates/requirements.md +27 -0
  46. package/templates/workflows.md +43 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Tekyz, Inc.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,276 @@
1
+ # GSD-T: Contract-Driven Development for Claude Code
2
+
3
+ A methodology for reliable, parallelizable development using Claude Code with optional Agent Teams support.
4
+
5
+ **Solves context rot** — the quality degradation that happens as Claude fills its context window.
6
+ **Enables parallel execution** — contract-driven domains can be worked on simultaneously.
7
+ **Maintains test coverage** — automatically keeps tests aligned with code changes.
8
+ **Catches downstream effects** — analyzes impact before changes break things.
9
+
10
+ ---
11
+
12
+ ## Quick Start
13
+
14
+ ### Install with npm
15
+
16
+ ```bash
17
+ npx @tekyzinc/gsd-t install
18
+ ```
19
+
20
+ This installs 22 GSD-T commands + 3 utility commands to `~/.claude/commands/` and the global CLAUDE.md to `~/.claude/CLAUDE.md`. Works on Windows, Mac, and Linux.
21
+
22
+ ### Start Using It
23
+
24
+ ```bash
25
+ # 1. Start Claude Code in your project
26
+ cd my-project
27
+ claude
28
+
29
+ # 2. Need help articulating your idea?
30
+ /user:gsd-t-prompt
31
+
32
+ # 3. Initialize GSD-T
33
+ /user:gsd-t-init my-project
34
+
35
+ # 4. Define what you're building
36
+ /user:gsd-t-milestone "User Authentication System"
37
+
38
+ # 5. Let it rip (auto-advances through all phases)
39
+ /user:gsd-t-wave
40
+
41
+ # Or go phase by phase for more control:
42
+ /user:gsd-t-partition
43
+ /user:gsd-t-discuss
44
+ /user:gsd-t-plan
45
+ /user:gsd-t-impact
46
+ /user:gsd-t-execute
47
+ /user:gsd-t-test-sync
48
+ /user:gsd-t-integrate
49
+ /user:gsd-t-verify
50
+ /user:gsd-t-complete-milestone
51
+ ```
52
+
53
+ ### Resuming After a Break
54
+
55
+ ```bash
56
+ claude
57
+ /user:gsd-t-resume
58
+ ```
59
+
60
+ GSD-T reads all state files and tells you exactly where you left off.
61
+
62
+ ---
63
+
64
+ ## CLI Commands
65
+
66
+ ```bash
67
+ npx @tekyzinc/gsd-t install # Install commands + global CLAUDE.md
68
+ npx @tekyzinc/gsd-t update # Update to latest (backs up customizations)
69
+ npx @tekyzinc/gsd-t init [name] # Scaffold GSD-T project in current directory
70
+ npx @tekyzinc/gsd-t status # Check installation + version
71
+ npx @tekyzinc/gsd-t doctor # Diagnose common issues
72
+ npx @tekyzinc/gsd-t uninstall # Remove commands (keeps project files)
73
+ ```
74
+
75
+ ### Updating
76
+
77
+ When a new version is published:
78
+ ```bash
79
+ npx @tekyzinc/gsd-t@latest update
80
+ ```
81
+
82
+ This will replace changed command files, back up your CLAUDE.md if customized, and track the installed version.
83
+
84
+ ---
85
+
86
+ ## Commands Reference
87
+
88
+ ### Help & Onboarding
89
+
90
+ | Command | Purpose |
91
+ |---------|---------|
92
+ | `/user:gsd-t-help` | List all commands with descriptions |
93
+ | `/user:gsd-t-help {cmd}` | Detailed help for specific command |
94
+ | `/user:gsd-t-prompt` | Help formulate your idea before committing |
95
+
96
+ ### Project Initialization
97
+
98
+ | Command | Purpose |
99
+ |---------|---------|
100
+ | `/user:gsd-t-init` | Initialize GSD-T structure in project |
101
+ | `/user:gsd-t-project` | Full project → milestone roadmap |
102
+ | `/user:gsd-t-feature` | Major feature → impact analysis + milestones |
103
+ | `/user:gsd-t-scan` | Deep codebase analysis → techdebt.md |
104
+ | `/user:gsd-t-promote-debt` | Convert techdebt items to milestones |
105
+
106
+ ### Milestone Workflow
107
+
108
+ | Command | Purpose | Auto-Invoked |
109
+ |---------|---------|--------------|
110
+ | `/user:gsd-t-milestone` | Define new milestone | No |
111
+ | `/user:gsd-t-partition` | Decompose into domains + contracts | In wave |
112
+ | `/user:gsd-t-discuss` | Multi-perspective design exploration | In wave |
113
+ | `/user:gsd-t-plan` | Create atomic task lists per domain | In wave |
114
+ | `/user:gsd-t-impact` | Analyze downstream effects | In wave (plan→execute) |
115
+ | `/user:gsd-t-execute` | Run tasks (solo or team) | In wave |
116
+ | `/user:gsd-t-test-sync` | Sync tests with code changes | In wave (during execute + verify) |
117
+ | `/user:gsd-t-integrate` | Wire domains together | In wave |
118
+ | `/user:gsd-t-verify` | Run quality gates | In wave |
119
+ | `/user:gsd-t-complete-milestone` | Archive + git tag | In wave (after verify) |
120
+
121
+ ### Automation & Utilities
122
+
123
+ | Command | Purpose |
124
+ |---------|---------|
125
+ | `/user:gsd-t-wave` | Full cycle, auto-advances all phases |
126
+ | `/user:gsd-t-status` | Cross-domain progress view |
127
+ | `/user:gsd-t-resume` | Restore context, continue |
128
+ | `/user:gsd-t-quick` | Fast task with GSD-T guarantees |
129
+ | `/user:gsd-t-debug` | Systematic debugging with state |
130
+
131
+ ### Git Helpers
132
+
133
+ | Command | Purpose |
134
+ |---------|---------|
135
+ | `/user:branch` | Create and switch to a new git branch |
136
+ | `/user:checkin` | Stage, commit, and push all changes |
137
+ | `/user:Claude-md` | Reload CLAUDE.md directives mid-session |
138
+
139
+ ---
140
+
141
+ ## Workflow Phases
142
+
143
+ | Phase | Purpose | Solo/Team |
144
+ |-------|---------|-----------|
145
+ | **Prompt** | Formulate idea (pre-workflow) | Solo |
146
+ | **Project/Feature/Scan** | Initialize work | Solo (team for large scans) |
147
+ | **Milestone** | Define deliverable | Solo |
148
+ | **Partition** | Decompose into domains + contracts | Solo |
149
+ | **Discuss** | Explore design decisions | Both |
150
+ | **Plan** | Create atomic task lists | Solo (always) |
151
+ | **Impact** | Downstream effect analysis | Solo |
152
+ | **Execute** | Build it | Both |
153
+ | **Test-Sync** | Maintain test coverage | Solo |
154
+ | **Integrate** | Wire domains together | Solo (always) |
155
+ | **Verify** | Quality gates | Both |
156
+ | **Complete** | Archive + tag | Solo |
157
+
158
+ ---
159
+
160
+ ## Entry Points
161
+
162
+ - **"I have an idea"** → `gsd-t-project` → milestone roadmap → partition → execute
163
+ - **"I have a codebase and need to add something"** → `gsd-t-feature` → impact analysis → milestones
164
+ - **"I have a codebase and need to understand/fix it"** → `gsd-t-scan` → techdebt.md → promote to milestones
165
+
166
+ ---
167
+
168
+ ## Project Structure (What GSD-T Creates)
169
+
170
+ ```
171
+ your-project/
172
+ ├── CLAUDE.md
173
+ ├── docs/
174
+ │ ├── requirements.md
175
+ │ ├── architecture.md
176
+ │ └── ...
177
+ ├── .gsd-t/
178
+ │ ├── progress.md # Master state file
179
+ │ ├── roadmap.md # Milestone roadmap
180
+ │ ├── techdebt.md # Technical debt register
181
+ │ ├── verify-report.md # Latest verification results
182
+ │ ├── impact-report.md # Downstream effect analysis
183
+ │ ├── test-coverage.md # Test sync report
184
+ │ ├── contracts/
185
+ │ │ ├── api-contract.md
186
+ │ │ ├── schema-contract.md
187
+ │ │ ├── component-contract.md
188
+ │ │ └── integration-points.md
189
+ │ ├── domains/
190
+ │ │ └── {domain-name}/
191
+ │ │ ├── scope.md
192
+ │ │ ├── tasks.md
193
+ │ │ └── constraints.md
194
+ │ ├── milestones/ # Archived completed milestones
195
+ │ │ └── {milestone-name}-{date}/
196
+ │ └── scan/ # Codebase analysis outputs
197
+ └── src/
198
+ ```
199
+
200
+ ---
201
+
202
+ ## Key Principles
203
+
204
+ 1. **Contracts are the source of truth.** Code implements contracts, not the other way around.
205
+ 2. **Domains own files exclusively.** No two domains should modify the same file.
206
+ 3. **Impact before execution.** Always analyze downstream effects before making changes.
207
+ 4. **Tests stay synced.** Every code change triggers test analysis.
208
+ 5. **State survives sessions.** Everything is in `.gsd-t/`.
209
+ 6. **Plan is single-brain, execute is multi-brain.** Planning and integration always solo; execution and verification can parallelize.
210
+ 7. **Every decision is logged.** The Decision Log captures why, not just what.
211
+
212
+ ---
213
+
214
+ ## Enabling Agent Teams
215
+
216
+ ```json
217
+ {
218
+ "env": {
219
+ "CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1"
220
+ }
221
+ }
222
+ ```
223
+
224
+ Teams are optional — all commands work in solo mode.
225
+
226
+ ---
227
+
228
+ ## Manual Installation (without npm)
229
+
230
+ ```bash
231
+ # Windows
232
+ copy commands\*.md %USERPROFILE%\.claude\commands\
233
+
234
+ # Mac/Linux
235
+ cp commands/*.md ~/.claude/commands/
236
+ ```
237
+
238
+ Verify with: `/user:gsd-t-help`
239
+
240
+ ---
241
+
242
+ ## Repo Contents
243
+
244
+ ```
245
+ get-stuff-done-teams/
246
+ ├── README.md
247
+ ├── package.json
248
+ ├── LICENSE
249
+ ├── bin/
250
+ │ └── gsd-t.js # CLI installer
251
+ ├── commands/ # 25 slash commands
252
+ │ ├── gsd-t-*.md # 22 GSD-T workflow commands
253
+ │ ├── branch.md # Git branch helper
254
+ │ ├── checkin.md # Git commit/push helper
255
+ │ └── Claude-md.md # Reload CLAUDE.md directives
256
+ ├── templates/ # Document templates
257
+ │ ├── CLAUDE-global.md
258
+ │ ├── CLAUDE-project.md
259
+ │ ├── requirements.md
260
+ │ ├── architecture.md
261
+ │ ├── workflows.md
262
+ │ ├── infrastructure.md
263
+ │ └── progress.md
264
+ ├── examples/
265
+ │ ├── settings.json
266
+ │ └── .gsd-t/
267
+ ├── docs/
268
+ │ └── methodology.md
269
+ └── GSD-T-README.md
270
+ ```
271
+
272
+ ---
273
+
274
+ ## License
275
+
276
+ MIT