Commands are now installed as commands/gsd/<name>.md and invoked as /gsd:<name> in Claude Code. The old hyphen form /gsd-<name> was still hardcoded in hundreds of places across workflows, references, templates, lib modules, and command files — causing "Unknown command" errors whenever GSD suggested a command to the user. Replace all /gsd-<cmd> occurrences where <cmd> is a known command name (derived at runtime from commands/gsd/*.md) using a targeted Node.js script. Agent names, tool names (gsd-sdk, gsd-tools), directory names, and path fragments are not touched. Adds regression test tests/bug-2543-gsd-slash-namespace.test.cjs that enforces zero legacy occurrences going forward. Removes inverted tests/stale-colon-refs.test.cjs (bug #1748) which enforced the now-obsolete hyphen form; the new bug-2543 test supersedes it. Updates 5 assertion tests that hardcoded the old hyphen form to accept the new colon form. Closes #2543 Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
55 lines
2.0 KiB
Markdown
55 lines
2.0 KiB
Markdown
---
|
|
name: gsd:sketch
|
|
description: Sketch UI/design ideas with throwaway HTML mockups, or propose what to sketch next (frontier mode)
|
|
argument-hint: "[design idea to explore] [--quick] [--text] or [frontier]"
|
|
allowed-tools:
|
|
- Read
|
|
- Write
|
|
- Edit
|
|
- Bash
|
|
- Grep
|
|
- Glob
|
|
- AskUserQuestion
|
|
- WebSearch
|
|
- WebFetch
|
|
- mcp__context7__resolve-library-id
|
|
- mcp__context7__query-docs
|
|
---
|
|
<objective>
|
|
Explore design directions through throwaway HTML mockups before committing to implementation.
|
|
Each sketch produces 2-3 variants for comparison. Sketches live in `.planning/sketches/` and
|
|
integrate with GSD commit patterns, state tracking, and handoff workflows. Loads spike
|
|
findings to ground mockups in real data shapes and validated interaction patterns.
|
|
|
|
Two modes:
|
|
- **Idea mode** (default) — describe a design idea to sketch
|
|
- **Frontier mode** (no argument or "frontier") — analyzes existing sketch landscape and proposes consistency and frontier sketches
|
|
|
|
Does not require `/gsd:new-project` — auto-creates `.planning/sketches/` if needed.
|
|
</objective>
|
|
|
|
<execution_context>
|
|
@~/.claude/get-shit-done/workflows/sketch.md
|
|
@~/.claude/get-shit-done/references/ui-brand.md
|
|
@~/.claude/get-shit-done/references/sketch-theme-system.md
|
|
@~/.claude/get-shit-done/references/sketch-interactivity.md
|
|
@~/.claude/get-shit-done/references/sketch-tooling.md
|
|
@~/.claude/get-shit-done/references/sketch-variant-patterns.md
|
|
</execution_context>
|
|
|
|
<runtime_note>
|
|
**Copilot (VS Code):** Use `vscode_askquestions` wherever this workflow calls `AskUserQuestion`.
|
|
</runtime_note>
|
|
|
|
<context>
|
|
Design idea: $ARGUMENTS
|
|
|
|
**Available flags:**
|
|
- `--quick` — Skip mood/direction intake, jump straight to decomposition and building. Use when the design direction is already clear.
|
|
</context>
|
|
|
|
<process>
|
|
Execute the sketch workflow from @~/.claude/get-shit-done/workflows/sketch.md end-to-end.
|
|
Preserve all workflow gates (intake, decomposition, target stack research, variant evaluation, MANIFEST updates, commit patterns).
|
|
</process>
|