--- paths: - "commands/gsd/**/*.md" --- # Slash Command Rules Rules for editing files in `commands/gsd/`. ## File Structure ```yaml --- name: gsd:command-name description: One-line description argument-hint: "" or "[optional]" allowed-tools: [Read, Write, Bash, Glob, Grep, AskUserQuestion] --- ``` ## Section Order 1. `` — What/why/when (always present) 2. `` — @-references to workflows, templates, references 3. `` — Dynamic content: `$ARGUMENTS`, bash output, @file refs 4. `` or `` elements — Implementation steps 5. `` — Measurable completion checklist ## Core Principle **Commands are thin wrappers.** Delegate detailed logic to workflows. Commands answer "what to do", workflows answer "how to do it". ## @-Reference Patterns ```markdown @~/.claude/get-shit-done/workflows/execute-phase.md @~/.claude/get-shit-done/templates/summary.md @~/.claude/get-shit-done/references/plan-format.md $ARGUMENTS @.planning/PROJECT.md @.planning/STATE.md ``` - `execution_context`: Static resources (workflows, templates, references) - `context`: Dynamic project state and arguments ## Success Criteria Format ```xml - [ ] Specific, measurable criterion - [ ] Another verifiable outcome ``` Use checkbox format. Each criterion must be objectively verifiable.