ruvnet/ruflo/sparc-implement
Claude Code and agent skill by ruvnet/ruflo
- community
Checking that the SKILL.md file is still in the repository.
Run the SPARC Pseudocode and Architecture phases (2 and 3) — write algorithm pseudocode, design module boundaries and API contracts, then implement
Install
npx vskill@latest install ruvnet/ruflo/sparc-implementSKILL.md
The same SKILL.md was published earlier as ruvnet/ruflo/sparc-implement.
SPARC Architecture + Implementation
Run Phases 2 and 3 of the SPARC methodology: design algorithms with pseudocode, then establish architecture with module boundaries and API contracts.
When to use
After the Specification phase is complete and its gate has been passed. This skill covers both the Pseudocode and Architecture phases as they are tightly coupled — algorithm design informs module boundaries and vice versa.
Steps
- Retrieve specification — call
mcp__plugin_ruflo-core_ruflo__memory_searchwith namespacesparc-phasesand query for the feature's spec. Extract requirements, acceptance criteria, constraints, and edge cases.
- Retrieve phase state — call
mcp__plugin_ruflo-core_ruflo__memory_retrievewith namespacesparc-stateand exact keycurrent-phase-{feature-slug}to confirm we are in Phase 2 or 3.
- Search for architectural patterns — call
mcp__plugin_ruflo-core_ruflo__neural_predictwith the feature description to find relevant architectural decisions from past projects
- Phase 2 — Pseudocode Design:
a. For each acceptance criterion, write language-agnostic pseudocode that satisfies it b. Define core data structures with type annotations c. Map control flow including:
- Happy path
- Error/exception paths for each edge case
- Concurrent access handling if applicable
d. Annotate algorithmic complexity (time and space) for critical paths e. Store pseudocode artifact:
- Call
mcp__plugin_ruflo-core_ruflo__memory_storewith namespacesparc-phases, keypseudo-{feature-slug} - Value:
{ status: "complete", algorithms: [...], dataStructures: [...], controlFlow: [...], complexity: {...} }
- Phase 3 — Architecture Design:
a. Define bounded contexts and aggregate roots following DDD patterns:
- Identify entity boundaries and value objects
- Define aggregate invariants
- Map domain events
b. Design API contracts:
- Request/response schemas with TypeScript interfaces
- Error response codes and formats
- Versioning strategy if applicable
c. Plan module boundaries:
- Directory structure
- Dependency direction rules (no circular dependencies)
- Public vs internal interfaces
d. Specify infrastructure concerns:
- Persistence strategy (database, cache, file)
- Messaging patterns (sync, async, event-driven)
- Configuration and environment requirements
e. Store architecture artifact:
- Call
mcp__plugin_ruflo-core_ruflo__memory_storewith namespacesparc-phases, keyarch-{feature-slug} - Value:
{ status: "complete", boundedContexts: [...], apiContracts: [...], moduleBoundaries: {...}, infrastructure: {...} }
- Update phase state — call
mcp__plugin_ruflo-core_ruflo__memory_storewith namespacesparc-state, exact keycurrent-phase-{feature-slug}; preserve existing state fields, update current phase to 3 (Architecture) with both artifacts recorded, and setupdatedAtto the current ISO timestamp
- Record trajectory step — call
mcp__plugin_ruflo-core_ruflo__hooks_intelligence_trajectory-stepwith architecture summary
- Begin implementation — if the user confirms, proceed to write production code:
a. Create files following the defined module boundaries b. Implement interfaces and types first c. Implement core logic following the pseudocode d. Write unit tests alongside implementation (TDD when possible) e. Run tests to verify acceptance criteria
- Present architecture — display the architecture decision record and suggest running
/ruflo-sparc:ruflo-sparc advanceto pass the Phase 3 gate
Output format
FUNCTION processRequest(input): VALIDATE input against schema IF invalid THEN THROW ValidationError result <- TRANSFORM input STORE result RETURN result
src/{feature}/ {feature}.types.ts # Interfaces and types {feature}.service.ts # Business logic {feature}.controller.ts # HTTP handling {feature}.repository.ts # Data access {feature}.test.ts # Tests
Security
- Security scanPassed, 91 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/ruflo-sparc/skills/sparc-implement/SKILL.md
Popularity
- Repository stars
- 67,563
- Repository forks
- 8,084
- 7-day trend score
- 56
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 9 Jun 2026, 5 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ruvnet/ruflo/sparc-implement)