fix(nlpm): resolve 5 critical defects from NLPM audit

- Add missing name: field to workstreams and reapply-patches commands
- Add AskUserQuestion to review-backlog allowed-tools
- Fix conflicting path references in gsd-user-profiler (use ~/.claude/get-shit-done/... convention)
- Add allowed-tools to cleanup, help, and join-discord commands
- Remove empty stub Step 5 from reapply-patches (dead bash comment block)

Closes #1578

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Tom Boucher
2026-04-03 11:12:18 -04:00
parent 4d4c3cce22
commit da5a030eac
7 changed files with 19 additions and 13 deletions

View File

@@ -38,7 +38,7 @@ Key characteristics of the input:
</input>
<reference>
@get-shit-done/references/user-profiling.md
@~/.claude/get-shit-done/references/user-profiling.md
This is the detection heuristics rubric. Read it in full before analyzing any messages. It defines:
- The 8 dimensions and their rating spectrums
@@ -52,7 +52,7 @@ This is the detection heuristics rubric. Read it in full before analyzing any me
<process>
<step name="load_rubric">
Read the user-profiling reference document at `get-shit-done/references/user-profiling.md` to load:
Read the user-profiling reference document at `~/.claude/get-shit-done/references/user-profiling.md` to load:
- All 8 dimension definitions with rating spectrums
- Signal patterns and detection heuristics per dimension
- Confidence scoring thresholds (HIGH: 10+ signals across 2+ projects, MEDIUM: 5-9, LOW: <5, UNSCORED: 0)

View File

@@ -1,6 +1,11 @@
---
name: gsd:cleanup
description: Archive accumulated phase directories from completed milestones
allowed-tools:
- Read
- Write
- Bash
- AskUserQuestion
---
<objective>
Archive phase directories from completed milestones into `.planning/milestones/v{X.Y}-phases/`.

View File

@@ -1,6 +1,8 @@
---
name: gsd:help
description: Show available GSD commands and usage guide
allowed-tools:
- Read
---
<objective>
Display the complete GSD command reference.

View File

@@ -1,6 +1,7 @@
---
name: gsd:join-discord
description: Join the GSD Discord community
allowed-tools: []
---
<objective>

View File

@@ -1,4 +1,5 @@
---
name: gsd:reapply-patches
description: Reapply local modifications after a GSD update
allowed-tools: Read, Write, Edit, Bash, Glob, Grep, AskUserQuestion
---
@@ -223,22 +224,13 @@ Each matching commit represents an intentional user modification. Use the commit
**Never report `Skipped — no custom content`.** If a file is in the backup, it has custom content.
## Step 5: Update manifest
After reapplying, regenerate the file manifest so future updates correctly detect these as user modifications:
```bash
# The manifest will be regenerated on next /gsd:update
# For now, just note which files were modified
```
## Step 6: Cleanup option
## Step 5: Cleanup option
Ask user:
- "Keep patch backups for reference?" → preserve `gsd-local-patches/`
- "Clean up patch backups?" → remove `gsd-local-patches/` directory
## Step 7: Report
## Step 6: Report
```
## Patches Reapplied

View File

@@ -5,6 +5,7 @@ allowed-tools:
- Read
- Write
- Bash
- AskUserQuestion
---
<objective>

View File

@@ -1,5 +1,10 @@
---
name: gsd:workstreams
description: Manage parallel workstreams — list, create, switch, status, progress, complete, and resume
allowed-tools:
- Read
- Write
- Bash
---
# /gsd:workstreams