Detects SpecWeave context (.specweave/ directory exists) and provides workflow documentation. Explains available slash commands and workflow. Keywords slash commands, /sw:increment, /increment, /sw:do, /sw:progress, /sw:validate, /sw:done, specweave commands, workflow help, specweave folder.
View on GitHubanton-abyzov/specweave
sw
January 25, 2026
Select agents to install to:
npx add-skill https://github.com/anton-abyzov/specweave/blob/main/plugins/specweave/skills/detector/SKILL.md -a claude-code --skill detectorInstallation paths:
.claude/skills/detector/# SpecWeave - Smart Workflow Documentation SpecWeave provides explicit slash commands for reliable workflow execution. **NOTE**: Auto-detection of product descriptions is handled by the `increment-planner` skill. This skill provides command documentation and workflow guidance. ## How SpecWeave Works **To use SpecWeave**: Type `/inc "Feature description"` to start **Smart workflow features**: - ✅ Auto-resume (`/do` finds next incomplete task) - ✅ Auto-close (`/inc` closes previous if PM gates pass) - ✅ Progress tracking (`/progress` shows status anytime) - ✅ Natural flow (finish → start next, no overhead) ## Available Slash Commands ### Core Workflow Commands | Command | Alias | Description | Example | |---------|-------|-------------|---------| | `/increment` | `/inc` | **Plan Increment** (PM-led, auto-closes previous) | `/inc "User auth"` | | `/do` | - | **Execute tasks** (smart resume, hooks after every task) | `/do` | | `/progress` | - | **Show status** (task %, PM gates, next action) | `/progress` | | `/validate` | - | **Validate quality** (rule-based + optional LLM judge) | `/validate 0001 --quality` | | `/done` | - | **Close explicitly** (optional, `/inc` auto-closes) | `/done 0001` | ### Supporting Commands | Command | Description | Example | |---------|-------------|---------| | `/list-increments` | List all increments with status | `/list-increments` | | `/sw:sync-docs` | Review strategic docs vs code | `/sw:sync-docs --increment=003` | | `/sync-github` | Sync increment to GitHub issues | `/sync-github` | ## Why Only ONE Alias? **Design decision**: `/inc` is the ONLY alias (most frequently used command). - ✅ Minimizes cognitive overhead (one alias to remember) - ✅ Other commands use full names for clarity - ✅ Simpler mental model ## Typical Workflow **Natural append-only workflow** (0001 → 0002 → 0003): ```bash # 1. Initialize project (CLI, before Claude session) npx specweave init my-saas # 2. Plan your first increment (PM-led) /inc "AI-po