@tekyzinc/gsd-t 2.71.11 → 2.71.13
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/CHANGELOG.md +16 -0
- package/commands/gsd-t-design-decompose.md +4 -4
- package/commands/gsd.md +44 -5
- package/package.json +1 -1
- package/templates/CLAUDE-global.md +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to GSD-T are documented here. Updated with each release.
|
|
4
4
|
|
|
5
|
+
## [2.71.13] - 2026-04-08
|
|
6
|
+
|
|
7
|
+
### Fixed (design-decompose — successor hint)
|
|
8
|
+
- **Next Up points to design-build** — `design-decompose` was recommending `partition` as the next step. The natural successor after decomposing contracts is `design-build` (which handles the tiered build with review gates), not `partition`. Updated the command's Step 9 hint and added `design-decompose → design-build` to the successor mapping table in CLAUDE-global template and live CLAUDE.md.
|
|
9
|
+
|
|
10
|
+
## [2.71.12] - 2026-04-08
|
|
11
|
+
|
|
12
|
+
### Changed (smart router — design-to-code pipeline)
|
|
13
|
+
- **Pipeline Routing** — Smart router now treats design-to-code requests as a multi-step pipeline (clean → decompose → build) instead of picking a single command. When a user says "rebuild from this Figma" or "start from scratch with this design," the router evaluates pipeline entry point based on current state and auto-advances through subsequent steps.
|
|
14
|
+
- **Entry Point Detection** — "start over" / "from scratch" / "clean slate" enters at clean step (removes UI assets, then decompose, then build). Missing design contracts enters at decompose. Existing contracts enters at build.
|
|
15
|
+
- **Inline Cleanup** — Clean step removes UI component files while preserving non-UI files (API, stores, router config, project scaffold). No separate `quick` command needed.
|
|
16
|
+
- **Design Command Slugs** — Added `design-decompose`, `design-build`, `design-audit`, `design-review` to valid router command slugs.
|
|
17
|
+
|
|
18
|
+
### Why
|
|
19
|
+
User gave the router a single prompt asking to delete old assets and rebuild from a Figma design. The router could only pick one command, so it had to choose between `quick` (cleanup) and `design-decompose` (contracts). The natural workflow is a pipeline that the router should execute end-to-end.
|
|
20
|
+
|
|
5
21
|
## [2.71.11] - 2026-04-08
|
|
6
22
|
|
|
7
23
|
### Fixed (design-build — review gates and measurement)
|
|
@@ -468,13 +468,13 @@ Display:
|
|
|
468
468
|
|
|
469
469
|
## ▶ Next Up
|
|
470
470
|
|
|
471
|
-
**
|
|
471
|
+
**Design Build** — build UI from contracts with tiered review gates (elements → widgets → pages)
|
|
472
472
|
|
|
473
|
-
`/user:gsd-t-
|
|
473
|
+
`/user:gsd-t-design-build`
|
|
474
474
|
|
|
475
475
|
**Also available:**
|
|
476
|
-
- `/user:gsd-t-
|
|
477
|
-
- `/user:gsd-t-plan` —
|
|
476
|
+
- `/user:gsd-t-partition` — if you need domain boundaries before building
|
|
477
|
+
- `/user:gsd-t-plan` — if you need task lists before building
|
|
478
478
|
|
|
479
479
|
───────────────────────────────────────────────────────────────
|
|
480
480
|
```
|
package/commands/gsd.md
CHANGED
|
@@ -59,14 +59,46 @@ When the same request could fit multiple commands at different scales:
|
|
|
59
59
|
|
|
60
60
|
### Design-to-code routing:
|
|
61
61
|
|
|
62
|
-
When the request involves UI implementation from a design (Figma, screenshots, mockups, "pixel-perfect", "match the design", "rebuild the frontend"):
|
|
63
|
-
|
|
62
|
+
When the request involves UI implementation from a design (Figma URL, screenshots, mockups, "pixel-perfect", "match the design", "rebuild the frontend", "build from this Figma"):
|
|
63
|
+
|
|
64
|
+
**This is a PIPELINE, not a single command.** The router must evaluate where the user is in the pipeline and execute from that point forward, auto-advancing through subsequent steps.
|
|
65
|
+
|
|
66
|
+
**Pipeline order:**
|
|
67
|
+
1. **Clean** (if requested) — remove existing UI assets via inline cleanup (not a separate `quick` command)
|
|
68
|
+
2. **Decompose** — `design-decompose` to extract element → widget → page contracts from the Figma design
|
|
69
|
+
3. **Build** — `design-build` to implement from contracts with review gates
|
|
70
|
+
|
|
71
|
+
**Pipeline entry logic — evaluate these in order, enter at the first that applies:**
|
|
72
|
+
|
|
73
|
+
| Condition | Entry point | Steps executed |
|
|
74
|
+
|-----------|-------------|----------------|
|
|
75
|
+
| User says "start over", "from scratch", "rebuild", "remove existing", "clean slate" | **Clean → Decompose → Build** | Remove existing UI assets in `src/components/`, `src/views/`, and related style files. Then run `design-decompose` with the Figma URL. Then run `design-build`. |
|
|
76
|
+
| No design contracts exist (`.gsd-t/contracts/design/` missing or empty) | **Decompose → Build** | Run `design-decompose` with the Figma URL. Then run `design-build`. |
|
|
77
|
+
| Design contracts exist but UI not yet built (contracts present, source files missing) | **Build** | Run `design-build` directly. |
|
|
78
|
+
| Design contracts AND source files exist | **Build** | Run `design-build` (will measure existing components against contracts). |
|
|
79
|
+
|
|
80
|
+
**How to execute the pipeline:**
|
|
81
|
+
|
|
82
|
+
Route to the entry point command. At the end of that command, **auto-advance to the next pipeline step** — do not stop and ask the user. Display:
|
|
83
|
+
```
|
|
84
|
+
→ Design pipeline: {step 1} ✓ → {step 2} (starting) → {step 3} (pending)
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
**Clean step** (inline, not a separate command):
|
|
88
|
+
When cleanup is needed, do it at the start of `design-decompose` before reading the Figma:
|
|
89
|
+
- Remove UI component files (`src/components/`, `src/views/`, or equivalent)
|
|
90
|
+
- Remove associated style files and test files for those components
|
|
91
|
+
- Keep non-UI files (API services, stores, types, utilities, router config)
|
|
92
|
+
- Keep the project scaffold (App.vue/tsx, main.ts, index.html)
|
|
93
|
+
- `git add -A && git commit -m "chore: clean UI assets for design rebuild"`
|
|
94
|
+
|
|
95
|
+
**NEVER route design-to-code requests to `quick`** — design-to-code requires the full pipeline with contracts, measurement, and review gates.
|
|
96
|
+
|
|
97
|
+
**Fallback for non-pipeline design routing** (when the request is about an existing milestone/wave, not a fresh design build):
|
|
64
98
|
- **If no active milestone exists** → route to `wave` (creates milestone → partition with design contract → plan → execute with visual verification)
|
|
65
99
|
- **If a milestone exists but no domains** → route to `partition` (creates design contract in Step 3.6)
|
|
66
100
|
- **If domains exist but no tasks** → route to `plan`
|
|
67
101
|
- **If tasks exist** → route to `execute` (design-to-code stack rule will inject)
|
|
68
|
-
- The design-to-code stack rule activates automatically when `.gsd-t/contracts/design-contract.md` OR `.gsd-t/contracts/design/` exists, or Figma MCP is configured — but the **partition step must run first** to create the design contract
|
|
69
|
-
- **For projects with multiple pages or reusable components** (charts, widgets, design system): route to `design-decompose` BEFORE partition to create the hierarchical contract tree (elements → widgets → pages). Single-page/one-off designs can use flat `design-contract.md` created during partition instead.
|
|
70
102
|
|
|
71
103
|
## Step 3: Confirm and Execute
|
|
72
104
|
|
|
@@ -77,6 +109,13 @@ When the request involves UI implementation from a design (Figma, screenshots, m
|
|
|
77
109
|
→ Routing to /user:gsd-t-{command}: {brief reason}
|
|
78
110
|
```
|
|
79
111
|
|
|
112
|
+
### Design pipeline (from design-to-code routing):
|
|
113
|
+
```
|
|
114
|
+
→ Design pipeline: clean → decompose → build
|
|
115
|
+
Starting: /user:gsd-t-design-decompose
|
|
116
|
+
```
|
|
117
|
+
Use this format when the router detects a design-to-code pipeline. Show the full pipeline with the current step highlighted. Auto-advance between steps without returning to the router.
|
|
118
|
+
|
|
80
119
|
### Continuation (from Step 2a):
|
|
81
120
|
```
|
|
82
121
|
→ /gsd ──▶ continue /user:gsd-t-{last-command}
|
|
@@ -102,7 +141,7 @@ Where `{last-command}` is:
|
|
|
102
141
|
|
|
103
142
|
**CRITICAL: `{command}` and `{last-command}` MUST be a real GSD-T command slug — never a free-form description.**
|
|
104
143
|
|
|
105
|
-
Valid command slugs: `quick`, `debug`, `feature`, `execute`, `milestone`, `project`, `scan`, `gap-analysis`, `plan`, `partition`, `discuss`, `impact`, `integrate`, `verify`, `test-sync`, `complete-milestone`, `wave`, `status`, `populate`, `setup`, `init`, `health`, `log`, `pause`, `resume`, `prd`, `brainstorm`, `prompt`, `backlog-add`, `backlog-list`, `backlog-promote`, `promote-debt`, `triage-and-merge`, `version-update`, `version-update-all`
|
|
144
|
+
Valid command slugs: `quick`, `debug`, `feature`, `execute`, `milestone`, `project`, `scan`, `gap-analysis`, `plan`, `partition`, `discuss`, `impact`, `integrate`, `verify`, `test-sync`, `complete-milestone`, `wave`, `status`, `populate`, `setup`, `init`, `health`, `log`, `pause`, `resume`, `prd`, `brainstorm`, `prompt`, `backlog-add`, `backlog-list`, `backlog-promote`, `promote-debt`, `triage-and-merge`, `version-update`, `version-update-all`, `design-decompose`, `design-build`, `design-audit`, `design-review`
|
|
106
145
|
|
|
107
146
|
**WRONG ❌** — do not do this:
|
|
108
147
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tekyzinc/gsd-t",
|
|
3
|
-
"version": "2.71.
|
|
3
|
+
"version": "2.71.13",
|
|
4
4
|
"description": "GSD-T: Contract-Driven Development for Claude Code — 56 slash commands with headless CI/CD mode, graph-powered code analysis, real-time agent dashboard, execution intelligence, task telemetry, doc-ripple enforcement, backlog management, impact analysis, test sync, milestone archival, and PRD generation",
|
|
5
5
|
"author": "Tekyz, Inc.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -567,6 +567,7 @@ Successor mapping:
|
|
|
567
567
|
| `gap-analysis` | `milestone` | `feature` |
|
|
568
568
|
| `populate` | `status` | |
|
|
569
569
|
| `setup` | `status` | |
|
|
570
|
+
| `design-decompose` | `design-build` | `partition` (if domains needed first) |
|
|
570
571
|
|
|
571
572
|
Commands with no successor (standalone): `quick`, `debug`, `brainstorm`, `status`, `help`, `resume`, `prompt`, `log`, `health`, `pause`, backlog commands.
|
|
572
573
|
|