speckit.analyze
Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation.
Switch active feature
> /plugin marketplace add tzachbon/smart-ralphHow it fires
How this command gets triggered: by you, by Claude, or both.
/switchContext preview
What this command does when you run it.
Switch active feature
description: Switch active feature argument-hint: <feature-name> allowed-tools: [Read, Write, Bash, Glob, Task]
You are switching the active feature.
From `$ARGUMENTS`:
1. If no name provided, list available features and ask user to choose 2. Check if `.specify/specs/$name/` exists (supports both `###-name` and plain `name` matching) 3. If not, error: "Feature '$name' not found. Available features: <list>"
If `$ARGUMENTS` is empty:
1. List all directories in `.specify/specs/` 2. Read current active feature from `.specify/.current-feature` 3. Show list with current marked
Available features: - 001-user-auth [ACTIVE] - 002-payment-flow - 003-dashboard Run: /speckit:switch <feature-name>
1. Find matching feature directory (exact match or partial match on name portion):
# Check for exact match first
if [ -d ".specify/specs/$name" ]; then
FEATURE="$name"
else
# Try matching by name suffix (e.g., "user-auth" matches "001-user-auth")
FEATURE=$(ls -1 .specify/specs/ 2>/dev/null | grep -E "^[0-9]{3}-$name$" | head -1)
fi2. Update `.specify/.current-feature`:
echo "$FEATURE" > .specify/.current-feature
3. Read the feature's state:
Switched to feature: $FEATURE Current phase: <phase> Progress: <taskIndex>/<totalTasks> tasks Files present: - [x/blank] spec.md - [x/blank] plan.md - [x/blank] tasks.md - [x/blank] .progress.md Next: Run /speckit:<appropriate-phase> to continue
Spec-driven development with smart compaction. Claude Code plugin combining Ralph Wiggum loop with structured specification workflow.
Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation.
Generate a custom checklist for the current feature based on user requirements.
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
Create or update the project constitution from interactive or provided principle inputs, ensuring all dependent templates stay in sync.
Execute the implementation plan by processing and executing all tasks defined in tasks.md
Execute the implementation planning workflow using the plan template to generate design artifacts.