@tekyzinc/gsd-t 2.0.2 → 2.1.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/README.md +9 -7
- package/commands/gsd-t-complete-milestone.md +46 -14
- package/commands/gsd-t-help.md +7 -0
- package/commands/gsd-t-init.md +13 -2
- package/commands/gsd-t-scan.md +10 -0
- package/docs/GSD-T-README.md +5 -3
- package/package.json +1 -1
- package/templates/CLAUDE-global.md +18 -1
- package/templates/progress.md +1 -0
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@ A methodology for reliable, parallelizable development using Claude Code with op
|
|
|
17
17
|
npx @tekyzinc/gsd-t install
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
-
This installs
|
|
20
|
+
This installs 24 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
21
|
|
|
22
22
|
### Start Using It
|
|
23
23
|
|
|
@@ -103,6 +103,7 @@ This will replace changed command files, back up your CLAUDE.md if customized, a
|
|
|
103
103
|
| `/user:gsd-t-feature` | Major feature → impact analysis + milestones |
|
|
104
104
|
| `/user:gsd-t-scan` | Deep codebase analysis → techdebt.md |
|
|
105
105
|
| `/user:gsd-t-promote-debt` | Convert techdebt items to milestones |
|
|
106
|
+
| `/user:gsd-t-populate` | Auto-populate docs from existing codebase |
|
|
106
107
|
|
|
107
108
|
### Milestone Workflow
|
|
108
109
|
|
|
@@ -172,9 +173,10 @@ This will replace changed command files, back up your CLAUDE.md if customized, a
|
|
|
172
173
|
your-project/
|
|
173
174
|
├── CLAUDE.md
|
|
174
175
|
├── docs/
|
|
175
|
-
│ ├── requirements.md
|
|
176
|
-
│ ├── architecture.md
|
|
177
|
-
│
|
|
176
|
+
│ ├── requirements.md # Functional + technical requirements
|
|
177
|
+
│ ├── architecture.md # System design, components, data flow
|
|
178
|
+
│ ├── workflows.md # User journeys, technical processes
|
|
179
|
+
│ └── infrastructure.md # Dev setup, DB, cloud, deployment
|
|
178
180
|
├── .gsd-t/
|
|
179
181
|
│ ├── progress.md # Master state file
|
|
180
182
|
│ ├── roadmap.md # Milestone roadmap
|
|
@@ -249,8 +251,8 @@ get-stuff-done-teams/
|
|
|
249
251
|
├── LICENSE
|
|
250
252
|
├── bin/
|
|
251
253
|
│ └── gsd-t.js # CLI installer
|
|
252
|
-
├── commands/ #
|
|
253
|
-
│ ├── gsd-t-*.md #
|
|
254
|
+
├── commands/ # 27 slash commands
|
|
255
|
+
│ ├── gsd-t-*.md # 24 GSD-T workflow commands
|
|
254
256
|
│ ├── branch.md # Git branch helper
|
|
255
257
|
│ ├── checkin.md # Git commit/push helper
|
|
256
258
|
│ └── Claude-md.md # Reload CLAUDE.md directives
|
|
@@ -266,8 +268,8 @@ get-stuff-done-teams/
|
|
|
266
268
|
│ ├── settings.json
|
|
267
269
|
│ └── .gsd-t/
|
|
268
270
|
├── docs/
|
|
271
|
+
│ ├── GSD-T-README.md # Detailed methodology + usage guide
|
|
269
272
|
│ └── methodology.md
|
|
270
|
-
└── GSD-T-README.md
|
|
271
273
|
```
|
|
272
274
|
|
|
273
275
|
---
|
|
@@ -84,7 +84,26 @@ Create `summary.md`:
|
|
|
84
84
|
{Summary of files created/modified/deleted}
|
|
85
85
|
```
|
|
86
86
|
|
|
87
|
-
## Step 5:
|
|
87
|
+
## Step 5: Bump Version
|
|
88
|
+
|
|
89
|
+
GSD-T tracks project version in `.gsd-t/progress.md` using semantic versioning: `Major.Minor.Patch`
|
|
90
|
+
|
|
91
|
+
- **Major** (X.0.0): Breaking changes, major rework, v1 launch
|
|
92
|
+
- **Minor** (0.X.0): New features, completed feature milestones
|
|
93
|
+
- **Patch** (0.0.X): Bug fixes, minor improvements, cleanup milestones
|
|
94
|
+
|
|
95
|
+
Determine the version bump based on the milestone:
|
|
96
|
+
1. Read current version from `.gsd-t/progress.md`
|
|
97
|
+
2. Assess milestone scope:
|
|
98
|
+
- Was this a major/breaking milestone? → bump **major**, reset minor and patch to 0
|
|
99
|
+
- Was this a feature milestone? → bump **minor**, reset patch to 0
|
|
100
|
+
- Was this a bugfix/cleanup/debt milestone? → bump **patch**
|
|
101
|
+
3. Update version in `.gsd-t/progress.md`
|
|
102
|
+
4. If a package manifest exists (`package.json`, `pyproject.toml`, `Cargo.toml`, etc.), update its version to match
|
|
103
|
+
5. Update `README.md` version badge or version reference if present
|
|
104
|
+
6. Include version in the milestone summary and git tag
|
|
105
|
+
|
|
106
|
+
## Step 6: Clean Working State
|
|
88
107
|
|
|
89
108
|
Reset `.gsd-t/` for next milestone:
|
|
90
109
|
|
|
@@ -97,30 +116,42 @@ Reset `.gsd-t/` for next milestone:
|
|
|
97
116
|
```markdown
|
|
98
117
|
# GSD-T Progress
|
|
99
118
|
|
|
119
|
+
## Version: {new version}
|
|
100
120
|
## Current Milestone
|
|
101
121
|
None — ready for next milestone
|
|
102
122
|
|
|
103
123
|
## Completed Milestones
|
|
104
|
-
| Milestone | Completed | Tag |
|
|
105
|
-
|
|
106
|
-
| {name} | {date} | {
|
|
107
|
-
| {previous} | {date} | {
|
|
124
|
+
| Milestone | Version | Completed | Tag |
|
|
125
|
+
|-----------|---------|-----------|-----|
|
|
126
|
+
| {name} | {version} | {date} | v{version} |
|
|
127
|
+
| {previous} | {version} | {date} | v{version} |
|
|
108
128
|
|
|
109
129
|
## Decision Log
|
|
110
130
|
{Keep the decision log — it's valuable context}
|
|
111
131
|
```
|
|
112
132
|
|
|
113
|
-
## Step
|
|
133
|
+
## Step 7: Update README.md
|
|
134
|
+
|
|
135
|
+
If `README.md` exists, update it to reflect the completed milestone:
|
|
136
|
+
- Add or update a **Features** / **What's Included** section with capabilities delivered
|
|
137
|
+
- Update version number if displayed in README
|
|
138
|
+
- Update setup instructions if infrastructure changed
|
|
139
|
+
- Update tech stack if new dependencies were added
|
|
140
|
+
- Keep existing user content — merge, don't overwrite
|
|
141
|
+
|
|
142
|
+
If `README.md` doesn't exist, create one with project name, description, version, tech stack, setup instructions, and link to `docs/`.
|
|
143
|
+
|
|
144
|
+
## Step 8: Create Git Tag
|
|
114
145
|
|
|
115
146
|
```bash
|
|
116
147
|
# Stage any remaining .gsd-t changes
|
|
117
148
|
git add .gsd-t/
|
|
118
149
|
|
|
119
150
|
# Commit the archive
|
|
120
|
-
git commit -m "milestone({milestone-name}): complete and archive"
|
|
151
|
+
git commit -m "milestone({milestone-name}): complete and archive v{version}"
|
|
121
152
|
|
|
122
|
-
# Create annotated tag
|
|
123
|
-
git tag -a "
|
|
153
|
+
# Create annotated tag with version
|
|
154
|
+
git tag -a "v{version}" -m "v{version} — Milestone: {name}
|
|
124
155
|
|
|
125
156
|
{Brief description from summary}
|
|
126
157
|
|
|
@@ -128,27 +159,28 @@ Domains: {list}
|
|
|
128
159
|
Verified: {date}"
|
|
129
160
|
```
|
|
130
161
|
|
|
131
|
-
## Step
|
|
162
|
+
## Step 9: Report Completion
|
|
132
163
|
|
|
133
164
|
```
|
|
134
|
-
✅ Milestone "{name}" completed
|
|
165
|
+
✅ Milestone "{name}" completed — v{version}
|
|
135
166
|
|
|
136
167
|
📁 Archived to: .gsd-t/milestones/{name}-{date}/
|
|
137
|
-
🏷️ Tagged as:
|
|
168
|
+
🏷️ Tagged as: v{version}
|
|
138
169
|
|
|
139
170
|
Summary:
|
|
171
|
+
- Version: {previous version} → {new version}
|
|
140
172
|
- Domains completed: {N}
|
|
141
173
|
- Tasks completed: {N}
|
|
142
174
|
- Contracts: {N} defined/updated
|
|
143
175
|
- Tests: {N} added/updated
|
|
144
176
|
|
|
145
177
|
Next steps:
|
|
146
|
-
- Push tags: git push origin
|
|
178
|
+
- Push tags: git push origin v{version}
|
|
147
179
|
- Start next milestone: /user:gsd-t-milestone "{next name}"
|
|
148
180
|
- Or view roadmap: /user:gsd-t-status
|
|
149
181
|
```
|
|
150
182
|
|
|
151
|
-
## Step
|
|
183
|
+
## Step 10: Update Roadmap (if exists)
|
|
152
184
|
|
|
153
185
|
If `.gsd-t/roadmap.md` exists:
|
|
154
186
|
- Mark this milestone as complete
|
package/commands/gsd-t-help.md
CHANGED
|
@@ -44,6 +44,7 @@ UTILITIES
|
|
|
44
44
|
quick Fast task with GSD-T guarantees
|
|
45
45
|
debug Systematic debugging with state
|
|
46
46
|
promote-debt Convert techdebt items to milestones
|
|
47
|
+
populate Auto-populate docs from existing codebase
|
|
47
48
|
|
|
48
49
|
───────────────────────────────────────────────────────────────────────────────
|
|
49
50
|
Type /user:gsd-t-help {command} for detailed help on any command.
|
|
@@ -240,6 +241,12 @@ Use these when user asks for help on a specific command:
|
|
|
240
241
|
- **Updates**: `.gsd-t/roadmap.md`, `.gsd-t/techdebt.md`
|
|
241
242
|
- **Use when**: Ready to address technical debt items
|
|
242
243
|
|
|
244
|
+
### populate
|
|
245
|
+
- **Summary**: Auto-populate all living docs from existing codebase analysis
|
|
246
|
+
- **Auto-invoked**: No
|
|
247
|
+
- **Updates**: `docs/requirements.md`, `docs/architecture.md`, `docs/workflows.md`, `docs/infrastructure.md`, `.gsd-t/progress.md`
|
|
248
|
+
- **Use when**: You have an existing codebase and want to fill docs with real findings instead of placeholders
|
|
249
|
+
|
|
243
250
|
## Unknown Command
|
|
244
251
|
|
|
245
252
|
If user asks for help on unrecognized command:
|
package/commands/gsd-t-init.md
CHANGED
|
@@ -37,6 +37,7 @@ Create `.gsd-t/progress.md`:
|
|
|
37
37
|
# GSD-T Progress
|
|
38
38
|
|
|
39
39
|
## Project: {name from CLAUDE.md or $ARGUMENTS}
|
|
40
|
+
## Version: 0.1.0
|
|
40
41
|
## Status: INITIALIZED
|
|
41
42
|
## Date: {today}
|
|
42
43
|
|
|
@@ -105,7 +106,17 @@ docs/
|
|
|
105
106
|
|
|
106
107
|
These are the living documents that persist across milestones and keep institutional knowledge alive. The `infrastructure.md` is especially important — it captures the exact commands for provisioning cloud resources, setting up databases, managing secrets, and deploying, so this knowledge doesn't get lost between sessions.
|
|
107
108
|
|
|
108
|
-
## Step 6:
|
|
109
|
+
## Step 6: Ensure README.md Exists
|
|
110
|
+
|
|
111
|
+
If no `README.md` exists, create one with:
|
|
112
|
+
- Project name and brief description
|
|
113
|
+
- Tech stack summary
|
|
114
|
+
- Getting started / setup instructions (from existing configs or placeholder)
|
|
115
|
+
- Link to `docs/` for detailed documentation
|
|
116
|
+
|
|
117
|
+
If `README.md` exists, leave it as-is — don't overwrite user content during init.
|
|
118
|
+
|
|
119
|
+
## Step 7: Map Existing Codebase (if code exists)
|
|
109
120
|
|
|
110
121
|
If there's existing source code:
|
|
111
122
|
1. Scan the codebase structure
|
|
@@ -114,7 +125,7 @@ If there's existing source code:
|
|
|
114
125
|
4. Add findings to CLAUDE.md
|
|
115
126
|
5. Log in progress.md: "Existing codebase analyzed — {summary}"
|
|
116
127
|
|
|
117
|
-
## Step
|
|
128
|
+
## Step 8: Report
|
|
118
129
|
|
|
119
130
|
Tell the user:
|
|
120
131
|
1. What was created
|
package/commands/gsd-t-scan.md
CHANGED
|
@@ -352,6 +352,16 @@ Using all scan findings, update or create `docs/requirements.md`:
|
|
|
352
352
|
- Technical requirements from configs, package.json, runtime settings
|
|
353
353
|
- Non-functional requirements from performance configs, rate limits, caching
|
|
354
354
|
|
|
355
|
+
### README.md
|
|
356
|
+
Update or create `README.md` with scan findings:
|
|
357
|
+
- Project name and description
|
|
358
|
+
- Tech stack and versions discovered
|
|
359
|
+
- Getting started / setup instructions (from infrastructure findings)
|
|
360
|
+
- Brief architecture overview
|
|
361
|
+
- Link to `docs/` for detailed documentation
|
|
362
|
+
|
|
363
|
+
If `README.md` exists, merge — update tech stack and setup sections but preserve the user's existing structure and custom content.
|
|
364
|
+
|
|
355
365
|
### For all docs:
|
|
356
366
|
- If the file exists and has real content, **merge** — don't overwrite
|
|
357
367
|
- If the file exists with only placeholder text, **replace** with real findings
|
package/docs/GSD-T-README.md
CHANGED
|
@@ -76,6 +76,7 @@ GSD-T reads all state files and tells you exactly where you left off.
|
|
|
76
76
|
| `/user:gsd-t-feature` | Major feature → impact analysis + milestones |
|
|
77
77
|
| `/user:gsd-t-scan` | Deep codebase analysis → techdebt.md |
|
|
78
78
|
| `/user:gsd-t-promote-debt` | Convert techdebt items to milestones |
|
|
79
|
+
| `/user:gsd-t-populate` | Auto-populate docs from existing codebase |
|
|
79
80
|
|
|
80
81
|
### Milestone Workflow
|
|
81
82
|
|
|
@@ -148,9 +149,10 @@ GSD-T reads all state files and tells you exactly where you left off.
|
|
|
148
149
|
your-project/
|
|
149
150
|
├── CLAUDE.md # Project conventions + GSD-T reference
|
|
150
151
|
├── docs/
|
|
151
|
-
│ ├── requirements.md
|
|
152
|
-
│ ├── architecture.md
|
|
153
|
-
│
|
|
152
|
+
│ ├── requirements.md # Functional + technical requirements
|
|
153
|
+
│ ├── architecture.md # System design, components, data flow
|
|
154
|
+
│ ├── workflows.md # User journeys, technical processes
|
|
155
|
+
│ └── infrastructure.md # Dev setup, DB, cloud, deployment
|
|
154
156
|
├── .gsd-t/
|
|
155
157
|
│ ├── progress.md # Master state file
|
|
156
158
|
│ ├── roadmap.md # Milestone roadmap
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tekyzinc/gsd-t",
|
|
3
|
-
"version": "2.0
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "GSD-T: Contract-Driven Development for Claude Code — 27 slash commands with impact analysis, test sync, and milestone archival",
|
|
5
5
|
"author": "Tekyz, Inc.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -49,6 +49,7 @@ PROJECT or FEATURE or SCAN
|
|
|
49
49
|
| `/user:gsd-t-status` | Cross-domain progress view |
|
|
50
50
|
| `/user:gsd-t-debug` | Systematic debugging |
|
|
51
51
|
| `/user:gsd-t-quick` | Fast task, respects contracts |
|
|
52
|
+
| `/user:gsd-t-populate` | Auto-populate docs from existing codebase |
|
|
52
53
|
| `/user:gsd-t-resume` | Restore context, continue |
|
|
53
54
|
| `/user:branch` | Create and switch to a new git branch |
|
|
54
55
|
| `/user:checkin` | Stage, commit, and push all changes |
|
|
@@ -65,7 +66,8 @@ These documents MUST be maintained and referenced throughout development:
|
|
|
65
66
|
| **Architecture** | `docs/architecture.md` | System design, components, data flow, decisions |
|
|
66
67
|
| **Workflows** | `docs/workflows.md` | User journeys and technical process flows |
|
|
67
68
|
| **Infrastructure** | `docs/infrastructure.md` | Commands, DB setup, server access, creds |
|
|
68
|
-
| **
|
|
69
|
+
| **README** | `README.md` | Project overview, setup, features |
|
|
70
|
+
| **Progress** | `.gsd-t/progress.md` | Current milestone/phase state + version |
|
|
69
71
|
| **Contracts** | `.gsd-t/contracts/` | Interfaces between domains |
|
|
70
72
|
| **Tech Debt** | `.gsd-t/techdebt.md` | Debt register from scans |
|
|
71
73
|
|
|
@@ -84,6 +86,21 @@ NEED TO UNDERSTAND SOMETHING?
|
|
|
84
86
|
```
|
|
85
87
|
|
|
86
88
|
|
|
89
|
+
# Versioning
|
|
90
|
+
|
|
91
|
+
GSD-T tracks project version in `.gsd-t/progress.md` using semantic versioning: `Major.Minor.Patch`
|
|
92
|
+
|
|
93
|
+
| Segment | Bumped When | Example |
|
|
94
|
+
|---------|-------------|---------|
|
|
95
|
+
| **Major** | Breaking changes, major rework, v1 launch | 1.0.0 → 2.0.0 |
|
|
96
|
+
| **Minor** | New features, completed feature milestones | 1.1.0 → 1.2.0 |
|
|
97
|
+
| **Patch** | Bug fixes, minor improvements, cleanup | 1.1.1 → 1.1.2 |
|
|
98
|
+
|
|
99
|
+
- Version is set during `gsd-t-init` (starts at `0.1.0`)
|
|
100
|
+
- Version is bumped during `gsd-t-complete-milestone` based on milestone scope
|
|
101
|
+
- Version is reflected in: `progress.md`, `README.md`, package manifest (if any), and git tags (`v{version}`)
|
|
102
|
+
|
|
103
|
+
|
|
87
104
|
# Autonomous Execution Rules
|
|
88
105
|
|
|
89
106
|
## Prime Rule
|