Skip to content
Development
Skill

/erpaval

Workflow for autonomous software development with Claude Code. Classifiers route scope, complexity, directory state, and spec readiness before committing to Explore / Research / Plan / Act / Validate, then close the loop with a Compound step that persists lessons to

From plugin
erpaval
2911 skills4 agents3 hooks5 MCP

Claude Code

$ npx -y skills add laithalsaadoon/erpaval --skill erpaval --agent claude-code

SKILL.md

erpaval.SKILL.md
name: erpaval
description: >
  Workflow for autonomous software development with Claude Code.
  Classifiers route scope, complexity, directory state, and spec readiness
  before committing to Explore / Research / Plan / Act / Validate, then
  close the loop with a Compound step that persists lessons to
  `.erpaval/solutions/` for future sessions. Optional HMW reframing and EARS
  specification add structured rigor — Claude judges when to run them. Each
  Act subagent edits its own Markdown task packet section-by-section per the
  write protocol, and the orchestrator monitors with `wc -l`. Use when the
  user asks to implement a feature autonomously, build with agents, use
  ERPAVal, plan and execute a coding task, delegate to subagents, do
  agent-driven development, extract lessons, recall prior lessons, or
  mentions autonomous coding workflow or compound engineering.

Contents

| Reference | When to load | | ----------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | | `references/flow.md` | The graph — intake, build loop, validate/compound, cycles | | `references/classifiers.md` | Prompt text for each `CL-*` classifier | | `references/fan-out.md` | Per-phase subagent counts + the one-message parallel-launch rule | | `references/glossary.md` | `CP-*`, `CL-*`, gates, cycles, zones, placeholder tokens | | `${CLAUDE_PLUGIN_ROOT}/skills/product-discovery/references/roles/hmw-framer.md` | HMW substep (hard-dep on `product-discovery`; run when `CL-RIGOR` asks for HMW) | | `${CLAUDE_PLUGIN_ROOT}/skills/product-discovery/references/roles/ears-specifier.md` | EARS substep (hard-dep on `product-discovery`; run when `CL-RIGOR` asks for EARS) | | `references/orchestrator.md` | Per-phase runbook — Task-tool lifecycle, Agent patterns | | `references/context-packets.md` | Per-packet YAML schemas + two-gate review + auto-merge rules | | `references/write-protocol.md` | Canonical write-protocol block (copied into every Act prompt) | | `references/validation-playbook.md` | 3-layer validation + closed-loop toolchain | | `references/compound.md` | Dual-track lesson schema + recall retrieval algorithm | | `templates/session/worklog-skeleton.md` | Per-task packet skeleton with embedded write protocol | | `templates/session/` | YAML schemas the orchestrator seeds into `.erpaval/sessions/<id>/` at runtime | | `templates/specs/` | EARS spec and task-list skeletons for the Framing substep | | `templates/solutions/` | Lesson templates (bug, knowledge) the Compound phase writes from | | `templates/brainstorms/` | HMW requirement skeletons for the Framing substep | | `templates/INDEX.md` | Recall-phase index of lessons by category, read at session start |

ERPAVal — adaptive autonomous software development

A six-phase workflow with two framing substeps and a compounding tail. The orchestrator (main Claude Code session) runs classifiers to decide which phases apply, delegates implementation to subagents, and persists Markdown + YAML packets under `.erpaval/` so future sessions start smarter than this one.

The graph at a glance

flowchart LR
  IN[Intake + Recall bootstrap] --> SCOPE{Scope?}
  SCOPE -->|coding| COMPLEX{Complexity?}
  SCOPE -->|non-coding| ROUTE[Upstream skill]
  COMPLEX -->|1-file fix| DIRECT[Direct fix]
  COMPLEX -->|multi-module or rebuild| RESUME{New or resume?}
  RESUME -->|new| NEW[erpaval-new.py]
  RESUME -->|resume| PRIOR[Load prior session]
  NEW --> DIR{Dir state?}
  PRIOR --> DIR
  DIR --> RIGOR{Rigor?}
  RIGOR -.->|fuzzy| HMW[HMW frame]
  RIGOR -.->|contract unclear| EARS[EARS spec]
  HMW --> EARS
  EARS --> ER[Explore + Research]
  RIGOR -->|crisp| ER
  ER --> PLAN[Plan]
  PLAN --> G1{Gate 1}
  G1 -.->|revise| PLAN
  G1 -->|approved| ACT[Act · waves]
  ACT --> VAL[Validate]
  VAL -.->|fail| ACT
  VAL -->|pass| G2{Gate 2}
  G2 --> MERGE[Merge]
  MERGE --> COMP[Compound · extract lessons]
  COMP --> DONE([Done])

Full three-view graph with every cycle is in `references/flow.md`. Dashed edges are named cycles.

Strict phase gating via TaskCreate / TaskUpdate / TaskList

Each phase has a completion gate enforced by the `TaskCreate` / `TaskUpdate` / `TaskList` todo-list tool family (distinct from the `Agent` subagent-launcher). Every implementation task is wired with `addBlockedBy` so the task system itself prevents out-of-order execution. No skipping, no parallel execution across gates, no early starts.

The todo-list tools hold authoritative state. YAML packets under `.erpaval/sessions/` are read-onl

Read more
@theagenticguy
Ships witherpaval

Autonomous software development for Claude Code. ERPAVal stands for Explore · Research · Plan · Act · Validate — the five-phase loop, plus a sixth Compound phase that writes durable lessons to disk so the next session inherits what this one learned.

2911 skills4 agents5 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
29
Star history of theagenticguy/erpaval on GitHub, a chart by star-history.com

Other skills on erpaval.

agent-ux-patterns

agent-ux-patterns

Agent UX patterns and human-in-the-loop design: Twilio A2H protocol, Levels of Autonomy (L0-L5), inbox pattern, progressive…

customer-research

customer-research

Customer research and problem framing using the research-design discipline: hypothesis, null hypothesis, MECE questions, methods,…

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills2w309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react5d252k
@facebook@facebookInstall Skill

Questions about erpaval.

Which coding agents can use erpaval?
erpaval installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.