A structured 5-phase execution workflow ensuring requirements meet a 10-point spec gate before action.

Install

mkdir -p .claude/skills/sparv && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/3027" && unzip -o skill.zip -d .claude/skills/sparv && rm skill.zip

Installs to .claude/skills/sparv

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Minimal SPARV workflow (Specify→Plan→Act→Review→Vault) with 10-point spec gate, unified journal, 2-action saves, 3-failure protocol, and EHRB risk detection.
157 charsno explicit “when” trigger
Advanced

Key capabilities

  • Enforce 10-point specification scoring
  • Maintain unified journal for state and progress
  • Execute 3-failure escalation protocol
  • Detect high-risk tasks via EHRB
  • Archive sessions with automated history management

How it works

It enforces a strict five-phase lifecycle (Specify, Plan, Act, Review, Vault) using state files and mandatory hooks to ensure every action is recorded and validated.

Inputs & outputs

You give it
Project requirements and task goals
You get back
Verifiable delivery with documented history

When to use sparv

  • Execute development with spec gate
  • Manage project phase transitions
  • Perform risk-aware task execution
  • Maintain development journals

About this skill

SPARV

Five-phase workflow: Specify → Plan → Act → Review → Vault.

Goal: Complete "requirements → verifiable delivery" in one pass, recording key decisions in external memory instead of relying on assumptions.

Core Rules (Mandatory)

  • 10-Point Specify Gate: Spec score 0-10; must be >=9 to enter Plan.
  • 2-Action Save: Append an entry to .sparv/journal.md every 2 tool calls.
  • 3-Failure Protocol: Stop and escalate to user after 3 consecutive failures.
  • EHRB: Require explicit user confirmation when high-risk detected (production/sensitive data/destructive/billing API/security-critical).
  • Fixed Phase Names: specify|plan|act|review|vault (stored in .sparv/state.yaml:current_phase).

Enhanced Rules (v1.1)

Uncertainty Declaration (G3)

When any Specify dimension scores < 2:

  • Declare: UNCERTAIN: <what> | ASSUMPTION: <fallback>
  • List all assumptions in journal before Plan
  • Offer 2-3 options for ambiguous requirements

Example:

UNCERTAIN: deployment target | ASSUMPTION: Docker container
UNCERTAIN: auth method | OPTIONS: JWT / OAuth2 / Session

Requirement Routing

ModeConditionFlow
Quickscore >= 9 AND <= 3 files AND no EHRBSpecify → Act → Review
FullotherwiseSpecify → Plan → Act → Review → Vault

Quick mode skips formal Plan phase but still requires:

  • Completion promise written to journal
  • 2-action save rule applies
  • Review phase mandatory

Context Acquisition (Optional)

Before Specify scoring:

  1. Check .sparv/kb.md for existing patterns/decisions
  2. If insufficient, scan codebase for relevant files
  3. Document findings in journal under ## Context

Skip if user explicitly provides full context.

Knowledge Base Maintenance

During Vault phase, update .sparv/kb.md:

  • Patterns: Reusable code patterns discovered
  • Decisions: Architectural choices + rationale
  • Gotchas: Common pitfalls + solutions

CHANGELOG Update

Use during Review or Vault phase for non-trivial changes:

~/.claude/skills/sparv/scripts/changelog-update.sh --type <Added|Changed|Fixed|Removed> --desc "..."

External Memory (Two Files)

Initialize (run in project root):

~/.claude/skills/sparv/scripts/init-session.sh --force

File conventions:

  • .sparv/state.yaml: State machine (minimum fields: session_id/current_phase/action_count/consecutive_failures)
  • .sparv/journal.md: Unified log (Plan/Progress/Findings all go here)
  • .sparv/history/<session_id>/: Archive directory

Phase 1: Specify (10-Point Scale)

Each item scores 0/1/2, total 0-10:

  1. Value: Why do it, are benefits/metrics verifiable
  2. Scope: MVP + what's out of scope
  3. Acceptance: Testable acceptance criteria
  4. Boundaries: Error/performance/compatibility/security critical boundaries
  5. Risk: EHRB/dependencies/unknowns + handling approach

score < 9: Keep asking questions; do not enter Plan. score >= 9: Write a clear completion_promise (verifiable completion commitment), then enter Plan.

Phase 2: Plan

  • Break into atomic tasks (2-5 minute granularity), each with a verifiable output/test point.
  • Write the plan to .sparv/journal.md (Plan section or append directly).

Phase 3: Act

  • TDD Rule: No failing test → no production code.
  • Auto-write journal every 2 actions (PostToolUse hook).
  • Failure counting (3-Failure Protocol):
~/.claude/skills/sparv/scripts/failure-tracker.sh fail --note "short blocker"
~/.claude/skills/sparv/scripts/failure-tracker.sh reset

Phase 4: Review

  • Two stages: Spec conformance → Code quality (correctness/performance/security/tests).
  • Maximum 3 fix rounds; escalate to user if exceeded.

Run 3-question reboot test before session ends:

~/.claude/skills/sparv/scripts/reboot-test.sh --strict

Phase 5: Vault

Archive current session:

~/.claude/skills/sparv/scripts/archive-session.sh

Script Tools

ScriptPurpose
scripts/init-session.shInitialize .sparv/, generate state.yaml + journal.md
scripts/save-progress.shMaintain action_count, append to journal.md every 2 actions
scripts/check-ehrb.shScan diff/text, output (optionally write) ehrb_flags
scripts/failure-tracker.shMaintain consecutive_failures, exit code 3 when reaching 3
scripts/reboot-test.sh3-question self-check (optional strict mode)
scripts/archive-session.shArchive journal.md + state.yaml to history/

Auto Hooks

hooks/hooks.json:

  • PostToolUse: save-progress.sh (2-Action save)
  • PreToolUse: check-ehrb.sh --diff --dry-run (prompt only, no state write)
  • Stop: reboot-test.sh --strict (3-question self-check)

Quality over speed—iterate until truly complete.

When not to use it

  • Simple tasks not requiring formal planning
  • Projects where documentation overhead is prohibitive

Prerequisites

Initialized .sparv directoryProject root access

Limitations

  • Requires strict adherence to phase transitions
  • High overhead for small or trivial tasks

How it compares

It replaces informal development with a rigid, state-tracked workflow that mandates documentation and risk assessment before execution.

Compared to similar skills

sparv side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
sparv (this skill)16moReviewAdvanced
trello412moReviewBeginner
executing-plans63moNo flagsIntermediate
github-project-management46moReviewAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

test-cases

cexll

This skill should be used when generating comprehensive test cases from PRD documents or user requirements. Triggers when users request test case generation, QA planning, test scenario creation, or need structured test documentation. Produces detailed test cases covering functional, edge case, error handling, and state transition scenarios.

57115

product-requirements

cexll

Interactive Product Owner skill for requirements gathering, analysis, and PRD generation. Triggers when users request product requirements, feature specification, PRD creation, or need help understanding and documenting project requirements. Uses quality scoring and iterative dialogue to ensure comprehensive requirements before generating professional PRD documents.

812

skill-install

cexll

Install Claude skills from GitHub repositories with automated security scanning. Triggers when users want to install skills from a GitHub URL, need to browse available skills in a repository, or want to safely add new skills to their Claude environment.

450

browser

cexll

This skill should be used for browser automation tasks using Chrome DevTools Protocol (CDP). Triggers when users need to launch Chrome with remote debugging, navigate pages, execute JavaScript in browser context, capture screenshots, or interactively select DOM elements. No MCP server required.

346

prototype-prompt-generator

cexll

This skill should be used when users need to generate detailed, structured prompts for creating UI/UX prototypes. Trigger when users request help with "create a prototype prompt", "design a mobile app", "generate UI specifications", or need comprehensive design documentation for web/mobile applications. Works with multiple design systems including WeChat Work, iOS Native, Material Design, and Ant Design Mobile.

327

codeagent

cexll

Execute codeagent-wrapper for multi-backend AI code tasks. Supports Codex, Claude, and Gemini backends with file references (@syntax) and structured output.

26

You might also like

trello

openclaw

Manage Trello boards, lists, and cards via the Trello REST API.

41205

executing-plans

obra

Use when you have a written implementation plan to execute in a separate session with review checkpoints

643

github-project-management

ruvnet

Comprehensive GitHub project management with swarm-coordinated issue tracking, project board automation, and sprint planning

427

project-clickup

incidentfox

ClickUp project management integration for incident tracking and task management

320

coo-advisor

alirezarezvani

Operations leadership for scaling companies. Process design, OKR execution, operational cadence, and scaling playbooks. Use when designing operations, setting up OKRs, building processes, scaling teams, analyzing bottlenecks, planning operational cadence, or when user mentions COO, operations, process improvement, OKRs, scaling, operational efficiency, or execution.

613

tlc-spec-driven

tech-leads-club

Project and feature planning with 4 phases - Specify, Design, Tasks, Implement+Validate. Creates atomic tasks with verification criteria and maintains persistent memory across sessions. Stack-agnostic. Use when: (1) Starting new projects (initialize vision, goals, roadmap), (2) Working with existing codebases (map stack, architecture, conventions), (3) Planning features (requirements, design, task breakdown), (4) Implementing with verification, (5) Tracking decisions/blockers across sessions, (6) Pausing/resuming work. Triggers on "initialize project", "map codebase", "specify feature", "design", "tasks", "implement", "pause work", "resume work".

77

Search skills

Search the agent skills registry