@tekyzinc/gsd-t 2.0.0 → 2.0.2

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 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 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.
20
+ This installs 23 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
 
@@ -92,6 +92,7 @@ This will replace changed command files, back up your CLAUDE.md if customized, a
92
92
  | `/user:gsd-t-help` | List all commands with descriptions |
93
93
  | `/user:gsd-t-help {cmd}` | Detailed help for specific command |
94
94
  | `/user:gsd-t-prompt` | Help formulate your idea before committing |
95
+ | `/user:gsd-t-brainstorm` | Creative exploration and idea generation |
95
96
 
96
97
  ### Project Initialization
97
98
 
@@ -14,6 +14,7 @@ Display the full command reference:
14
14
  GETTING STARTED
15
15
  ───────────────────────────────────────────────────────────────────────────────
16
16
  prompt Help formulate your idea before committing to a command
17
+ brainstorm Creative exploration, rethinking, and idea generation
17
18
  init Initialize GSD-T structure in current project
18
19
  project New project → requirements → milestone roadmap
19
20
  feature Major feature → impact analysis → milestones
@@ -112,6 +113,13 @@ Use these when user asks for help on a specific command:
112
113
  - **Files**: None (conversational only)
113
114
  - **Use when**: You have a vague idea and need help articulating it
114
115
 
116
+ ### brainstorm
117
+ - **Summary**: Creative exploration, rethinking, and idea generation
118
+ - **Auto-invoked**: No
119
+ - **Files**: Optional save to `.gsd-t/brainstorm-{date}.md`
120
+ - **Use when**: You want to explore ideas, challenge assumptions, or break out of tunnel vision
121
+ - **Modes**: Ideation, Enhancement, Rethink, Unstuck, Blue Sky
122
+
115
123
  ### init
116
124
  - **Summary**: Initialize GSD-T directory structure in current project
117
125
  - **Auto-invoked**: No
@@ -73,9 +73,10 @@ Create a starter template:
73
73
  {Languages, frameworks, services — fill this in}
74
74
 
75
75
  ## Documentation
76
- - Requirements: docs/requirements.md (if exists)
77
- - Architecture: docs/architecture.md (if exists)
78
- - Schema: docs/schema.md (if exists)
76
+ - Requirements: docs/requirements.md
77
+ - Architecture: docs/architecture.md
78
+ - Workflows: docs/workflows.md
79
+ - Infrastructure: docs/infrastructure.md
79
80
 
80
81
  ## Conventions
81
82
  - {Coding style, naming patterns — fill this in}
@@ -91,13 +92,19 @@ If `CLAUDE.md` exists but doesn't reference GSD-T, append the GSD-T section.
91
92
 
92
93
  ## Step 5: Create docs/ if Needed
93
94
 
94
- If no `docs/` directory:
95
+ If no `docs/` directory, create it with all 4 living document templates.
96
+ For each file, skip if it already exists:
97
+
95
98
  ```
96
99
  docs/
97
- ├── requirements.md — (create placeholder)
98
- └── architecture.md — (create placeholder)
100
+ ├── requirements.md — Functional, technical, and non-functional requirements
101
+ ├── architecture.md — System design, components, data flow, design decisions
102
+ ├── workflows.md — User journeys, technical processes, API flows
103
+ └── infrastructure.md — Dev setup, DB commands, cloud provisioning, deployment, credentials
99
104
  ```
100
105
 
106
+ 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
+
101
108
  ## Step 6: Map Existing Codebase (if code exists)
102
109
 
103
110
  If there's existing source code:
@@ -310,7 +310,55 @@ Estimated effort: {assessment}
310
310
  Can be scheduled: During next maintenance window
311
311
  ```
312
312
 
313
- ## Step 5: Update Project State
313
+ ## Step 5: Update Living Documents
314
+
315
+ The scan produces deep analysis in `.gsd-t/scan/`. Now cross-populate findings into the living docs so knowledge persists across milestones.
316
+
317
+ ### docs/architecture.md
318
+ Using findings from `.gsd-t/scan/architecture.md`, update or create `docs/architecture.md`:
319
+ - System overview (stack, structure, patterns)
320
+ - Component descriptions with locations and dependencies
321
+ - Data flow (request → handler → service → data layer → response)
322
+ - Data models from schema files or ORM definitions
323
+ - API structure from route definitions
324
+ - External integrations
325
+ - Design decisions found in code comments or configs
326
+
327
+ If the file exists, merge new findings — don't overwrite existing content.
328
+
329
+ ### docs/workflows.md
330
+ Using findings from `.gsd-t/scan/business-rules.md`, update or create `docs/workflows.md`:
331
+ - User workflows traced from routes/handlers (registration, login, core features)
332
+ - Technical workflows from cron jobs, queue workers, scheduled tasks
333
+ - API workflows for multi-step operations
334
+ - Integration workflows for external system syncing
335
+ - State machines and approval flows discovered in code
336
+
337
+ ### docs/infrastructure.md
338
+ Scan the codebase for operational knowledge and update or create `docs/infrastructure.md`:
339
+ - **Quick Reference commands** from package.json scripts, Makefile, README, CI/CD configs
340
+ - **Local development setup** from README, docker-compose, .env.example
341
+ - **Database commands** from migrations, seeds, ORM config, backup scripts
342
+ - **Cloud provisioning** from Terraform, CloudFormation, Pulumi, or deployment scripts
343
+ - **Credentials and secrets** from .env.example (names only, not values) and secret manager configs
344
+ - **Deployment** from CI/CD configs, Dockerfiles, cloud platform configs
345
+ - **Logging and monitoring** from any logging setup or dashboard configs
346
+
347
+ This is critical — infrastructure knowledge is the most commonly lost between sessions.
348
+
349
+ ### docs/requirements.md
350
+ Using all scan findings, update or create `docs/requirements.md`:
351
+ - Functional requirements discovered from routes, handlers, UI components
352
+ - Technical requirements from configs, package.json, runtime settings
353
+ - Non-functional requirements from performance configs, rate limits, caching
354
+
355
+ ### For all docs:
356
+ - If the file exists and has real content, **merge** — don't overwrite
357
+ - If the file exists with only placeholder text, **replace** with real findings
358
+ - If the file doesn't exist, **create** it
359
+ - Replace `{Project Name}` and `{Date}` tokens with actual values
360
+
361
+ ## Step 6: Update Project State
314
362
 
315
363
  If `.gsd-t/progress.md` exists:
316
364
  - Log scan in Decision Log
@@ -323,7 +371,7 @@ If `.gsd-t/roadmap.md` exists:
323
371
  If `CLAUDE.md` exists:
324
372
  - Suggest updates for any patterns or conventions discovered during scan
325
373
 
326
- ## Step 6: Report to User
374
+ ## Step 7: Report to User
327
375
 
328
376
  Present a summary:
329
377
  1. Architecture overview (brief)
@@ -65,6 +65,7 @@ GSD-T reads all state files and tells you exactly where you left off.
65
65
  | `/user:gsd-t-help` | List all commands with descriptions |
66
66
  | `/user:gsd-t-help {cmd}` | Detailed help for specific command |
67
67
  | `/user:gsd-t-prompt` | Help formulate your idea before committing |
68
+ | `/user:gsd-t-brainstorm` | Creative exploration and idea generation |
68
69
 
69
70
  ### Project Initialization
70
71
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tekyzinc/gsd-t",
3
- "version": "2.0.0",
4
- "description": "GSD-T: Contract-Driven Development for Claude Code — 26 slash commands with impact analysis, test sync, and milestone archival",
3
+ "version": "2.0.2",
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",
7
7
  "repository": {
@@ -13,7 +13,7 @@
13
13
  ```
14
14
  PROJECT or FEATURE or SCAN
15
15
  └── MILESTONE (major deliverable)
16
- └── PARTITION → DISCUSS → PLAN → EXECUTE → INTEGRATE → VERIFY
16
+ └── PARTITION → DISCUSS → PLAN → IMPACT → EXECUTE → TEST-SYNC → INTEGRATE → VERIFY → COMPLETE
17
17
  ```
18
18
 
19
19
  - **Project**: Full greenfield project → decomposed into milestones
@@ -29,6 +29,7 @@ PROJECT or FEATURE or SCAN
29
29
  |---------|---------|
30
30
  | `/user:gsd-t-help` | List all commands or get detailed help |
31
31
  | `/user:gsd-t-prompt` | Help formulate your idea before committing |
32
+ | `/user:gsd-t-brainstorm` | Creative exploration and idea generation |
32
33
  | `/user:gsd-t-project` | Full project → milestone roadmap |
33
34
  | `/user:gsd-t-feature` | Major feature → impact analysis + milestones |
34
35
  | `/user:gsd-t-scan` | Deep codebase analysis → techdebt.md |