@tekyzinc/gsd-t 2.31.13 → 2.31.14
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/commands/gsd-t-help.md +1 -1
- package/commands/gsd.md +46 -5
- package/package.json +1 -1
package/commands/gsd-t-help.md
CHANGED
|
@@ -137,7 +137,7 @@ Use these when user asks for help on a specific command:
|
|
|
137
137
|
- **Summary**: Describe what you need in plain language — auto-routes to the right GSD-T command using semantic evaluation
|
|
138
138
|
- **Auto-invoked**: Yes — via UserPromptSubmit hook when prompt does not start with `/`
|
|
139
139
|
- **Files**: Reads `CLAUDE.md`, `.gsd-t/progress.md`, command summaries from `gsd-t-help`
|
|
140
|
-
- **How it works**:
|
|
140
|
+
- **How it works**: First checks if this is a continuation of an ongoing command (mid-task follow-up, status report, or acknowledgment) — if so, outputs `→ /gsd ──▶ continue /user:gsd-t-{last-command}` and resumes. For new requests, evaluates against every command's purpose and "Use when" criteria. Commands that match get shortlisted, best fit is selected. Shows runner-up when close.
|
|
141
141
|
- **Auto-route**: After `gsd-t install`, any plain text message (no leading `/`) is automatically routed through `/gsd`. Slash commands pass through unchanged. Binary detection — no heuristics.
|
|
142
142
|
- **Use when**: You don't want to remember which command to use — just describe what you want
|
|
143
143
|
- **Examples**: `/user:gsd Fix the login bug`, `/user:gsd Add dark mode`, `/user:gsd Scan for tech debt`
|
package/commands/gsd.md
CHANGED
|
@@ -8,6 +8,22 @@ Read:
|
|
|
8
8
|
1. `CLAUDE.md` — project context
|
|
9
9
|
2. `.gsd-t/progress.md` — current state, active milestone/phase
|
|
10
10
|
|
|
11
|
+
## Step 2a: Continuation Check
|
|
12
|
+
|
|
13
|
+
Before semantic evaluation, determine if this is a **continuation** of an already-running command.
|
|
14
|
+
|
|
15
|
+
**Continuation indicators (any = continuation):**
|
|
16
|
+
- Message is a follow-up, answer, acknowledgment, or status report — not a new task request
|
|
17
|
+
- Message contains tool output, code, file content, or work artifacts from ongoing work
|
|
18
|
+
- Message reads as mid-task input (e.g., "both files parse cleanly", "yes continue", "looks good", "done")
|
|
19
|
+
- Progress.md shows an active/in-progress phase AND the message doesn't clearly start a new task
|
|
20
|
+
|
|
21
|
+
**If continuation detected** → skip Step 2, go to Step 3 using the **continuation format**.
|
|
22
|
+
|
|
23
|
+
**If NOT a continuation** → proceed to Step 2 (normal semantic evaluation).
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
11
27
|
## Step 2: Semantic Evaluation
|
|
12
28
|
|
|
13
29
|
Read the **Command Summaries** section of `commands/gsd-t-help.md` (or the in-memory skill list). For each command, evaluate whether the user's request matches that command's **Summary** and **Use when** criteria.
|
|
@@ -43,13 +59,37 @@ When the same request could fit multiple commands at different scales:
|
|
|
43
59
|
|
|
44
60
|
## Step 3: Confirm and Execute
|
|
45
61
|
|
|
46
|
-
**MANDATORY —
|
|
62
|
+
**MANDATORY — output one of these lines as the VERY FIRST thing in your response, before any tool calls or other output.**
|
|
47
63
|
|
|
64
|
+
### New request (from Step 2):
|
|
48
65
|
```
|
|
49
66
|
→ Routing to /user:gsd-t-{command}: {brief reason}
|
|
50
67
|
```
|
|
51
68
|
|
|
52
|
-
|
|
69
|
+
### Continuation (from Step 2a):
|
|
70
|
+
```
|
|
71
|
+
→ /gsd ──▶ continue /user:gsd-t-{last-command}
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
Where `{last-command}` is:
|
|
75
|
+
1. The command most recently active in this conversation, OR
|
|
76
|
+
2. Inferred from progress.md current phase:
|
|
77
|
+
|
|
78
|
+
| Phase in progress.md | Command slug |
|
|
79
|
+
|----------------------|--------------|
|
|
80
|
+
| EXECUTE | `execute` |
|
|
81
|
+
| PLAN | `plan` |
|
|
82
|
+
| PARTITION | `partition` |
|
|
83
|
+
| VERIFY | `verify` |
|
|
84
|
+
| INTEGRATE | `integrate` |
|
|
85
|
+
| TEST-SYNC | `test-sync` |
|
|
86
|
+
| COMPLETE | `complete-milestone` |
|
|
87
|
+
| SCAN | `scan` |
|
|
88
|
+
| WAVE | `wave` |
|
|
89
|
+
| QUICK | `quick` |
|
|
90
|
+
| DEBUG | `debug` |
|
|
91
|
+
|
|
92
|
+
**CRITICAL: `{command}` and `{last-command}` MUST be a real GSD-T command slug — never a free-form description.**
|
|
53
93
|
|
|
54
94
|
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`
|
|
55
95
|
|
|
@@ -57,17 +97,18 @@ Valid command slugs: `quick`, `debug`, `feature`, `execute`, `milestone`, `proje
|
|
|
57
97
|
```
|
|
58
98
|
→ Routing to research + PRD update: reading web app auth code
|
|
59
99
|
→ Routing to implementation: adding the login feature
|
|
60
|
-
→
|
|
100
|
+
→ /gsd ──▶ continue: mid-task work
|
|
61
101
|
```
|
|
62
102
|
|
|
63
103
|
**RIGHT ✅** — always use the exact command slug:
|
|
64
104
|
```
|
|
65
105
|
→ Routing to /user:gsd-t-execute: implement auth feature across backend
|
|
66
106
|
→ Routing to /user:gsd-t-debug: investigate login bug before fixing
|
|
67
|
-
→
|
|
107
|
+
→ /gsd ──▶ continue /user:gsd-t-execute
|
|
108
|
+
→ /gsd ──▶ continue /user:gsd-t-quick
|
|
68
109
|
```
|
|
69
110
|
|
|
70
|
-
This MUST be the very first line of your response
|
|
111
|
+
This MUST be the very first line of your response. Then immediately execute that command's full workflow, passing `$ARGUMENTS` through.
|
|
71
112
|
|
|
72
113
|
**Do NOT ask "is this the right command?" — just route and go.** The user can interrupt with Esc if it's wrong.
|
|
73
114
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tekyzinc/gsd-t",
|
|
3
|
-
"version": "2.31.
|
|
3
|
+
"version": "2.31.14",
|
|
4
4
|
"description": "GSD-T: Contract-Driven Development for Claude Code — 46 slash commands with backlog management, impact analysis, test sync, milestone archival, and PRD generation",
|
|
5
5
|
"author": "Tekyz, Inc.",
|
|
6
6
|
"license": "MIT",
|