spec
Compatibility: AskUserQuestion falls back to numbered list on non-Claude-Code platforms.
Skill Requirements
command -v npx >/dev/null 2>&1 || echo "MISSING: npx"
Critical Rules
- Never execute workflow logic here — this file only parses args and dispatches
- Step 0 always runs first — no exceptions
- Unknown verb → run
help.md— never error silently - Pass all remaining args through — workflow receives
$REMAINING_ARGSunchanged - Workflow files are authoritative — do not duplicate workflow logic in this file
- Coding agents always receive a workflow checklist — see
references/workflow-checklist.md - See
references/workflows/for per-verb behaviour; seereferences/for all templates
Step 0: Parse Arguments
VERB="[first non-flag argument, or empty]"
REMAINING_ARGS="[everything after VERB, preserving order and flags]"
# Normalise aliases
case "$VERB" in
"") VERB="help" ;;
"status") VERB="clean" ;; # /spec status → /spec clean
"list") VERB="clean" ;; # /spec list → /spec clean
"pause") VERB="clean" ;; # /spec pause → /spec clean
"stop") VERB="clean" ;; # /spec stop → /spec clean
"done") VERB="clean" ;; # /spec done → /spec clean
"delete") VERB="clean" ;; # /spec delete → /spec clean
"bg") VERB="go" ;; # /spec bg → /spec go
"run") VERB="go" ;; # /spec run → /spec go
esac
Step 1: Dispatch to Workflow
Read and execute references/workflows/{VERB}.md, passing $REMAINING_ARGS as the argument string.
If references/workflows/{VERB}.md does not exist, fall back to references/workflows/help.md and note the unknown verb.
Workflow Index
- new (
references/workflows/new.md) — create a structured implementation plan - go (
references/workflows/go.md) — execute plan autonomously in background - guide (
references/workflows/guide.md) — guided walkthrough: step-by-step tutorial with next/skip/improvise/chat - review (
references/workflows/review.md) — review plan quality before execution - refresh (
references/workflows/refresh.md) — sync checklist status with actual progress - update (
references/workflows/update.md) — apply annotations or conversational changes - clean (
references/workflows/clean.md) — session wrap-up: stop agents, archive to docs, triage active plans (done or cancel) - allow (
references/workflows/allow.md) — pre-approve permissions for background agents - help (
references/workflows/help.md) — print command reference
Agent Index
- spec-executor (
agents/spec-executor.md) — executes plan phases autonomously; used by bg and go - spec-updater (
agents/spec-updater.md) — applies annotations and conversational plan edits; used by update - spec-planner (
agents/spec-planner.md) — researches scope and drafts multi-phase plans; used by new
More from cloudvoyant/codevoyant
mem:help
Use when the user asks about available mem commands or needs help choosing a skill. Triggers on: \"mem help\", \"help mem\", \"what can mem do\", \"mem commands\", \"list mem skills\", \"mem reference\". Lists all mem commands with descriptions, arguments, and usage guidance.
14dev:plan
Use when planning architecture for a project or feature. Triggers on: "dev plan", "architecture plan", "plan architecture", "design architecture", "technical design", "system design for". Produces draft plan artifacts in .codevoyant/plans/{slug}/. Use /dev:approve to promote to docs/architecture/.
14em:review
Use when reviewing an engineering roadmap for quality and realism. Triggers on: "em review", "review roadmap", "sanity check roadmap", "em check", "review this plan". Checks capacity realism, dependency gaps, missing risks, and phasing quality. Auto-launched after em:plan.
13dev:explore
Use when researching technical approaches before building. Triggers on: "explore options", "what are my options for", "research approaches", "compare solutions", "dev explore", "generate proposals", "help me decide between". Runs parallel proposal generation via subagents and outputs to .codevoyant/explore/.
13em:plan
Use when planning a project (epic) or initiative with Linear as tracker.
13pm:plan
Plan a product roadmap for a quarter, half-year, or year. Writes a draft roadmap to .codevoyant/roadmaps/ using capability tiers. Triggers on: "pm plan", "product roadmap", "plan a roadmap", "quarterly roadmap", "annual plan".
13