sparc-spec
SPARC Specification Phase
Run Phase 1 of the SPARC methodology: define what must be built and how success is measured.
When to use
When starting a new feature or project that needs structured requirements gathering before any code is written. This phase produces the foundational specification that all subsequent phases (Pseudocode, Architecture, Refinement, Completion) build upon.
Steps
-
Initialize phase tracking — call
mcp__claude-flow__hooks_intelligence_trajectory-startwith metadata{ "phase": "specification", "feature": "$ARGUMENTS" } -
Check for prior work — call
mcp__claude-flow__memory_searchwith namespacesparc-stateand query for the feature to see if a SPARC workflow already exists. If it does, retrieve existing artifacts. If not, initialize state with phase 1. -
Search for similar patterns — call
mcp__claude-flow__neural_predictwith the feature description to find relevant past specifications and learned patterns