agentleFS
laithalsaadoonlaithalsaadoon/erpaval/CLAUDE.md

erpaval

CLAUDE.md28 starsChanged 7 months agoMITView on GitHub

Development context for the erpaval-plugin repo. This CLAUDE.md is project-level memory — it is NOT shipped as a plugin component. Bump plugin.json .version manually or with mise run bump -- <major|minor|patch> if you add a mise.toml. All three tools under skills/erpaval/tools/ are PEP 723 scripts. Run with uv run. No venv needed. All hooks are fail-open. A broken hook exits 0 and logs to stderr — it cannot wedge a session. The framework.py module handles stdin/stdout plumbing and HookState for…

The file

We split this CLAUDE.md into the rules it gives an agent

3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    All three tools under skills/erpaval/tools/ are PEP 723 scripts.

    line 36
  2. Very specific:

    All hooks are fail-open. A broken hook exits 0 and logs to stderr — it cannot wedge a session.

    line 45
  3. Very specific:

    Add new skills under skills/<name>/SKILL.md following the two-tier pattern (SKILL.md ≤ 300 lines, heavy content in references/).

    line 49

≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

erpaval-plugin

Development context for the erpaval-plugin repo. This CLAUDE.md is project-level memory — it is NOT shipped as a plugin component.

Repo structure

.claude-plugin/plugin.json    # plugin manifest
.mcp.json                     # MCP servers used by the researcher agent
skills/
  erpaval/                    # the core skill
    SKILL.md
    references/               # flow, classifiers, glossary, orchestrator, etc.
    templates/                # session YAML/MD skeletons, lesson templates, EARS/HMW stubs
    tools/                    # PEP 723 scripts: erpaval-new, erpaval-recall, erpaval-validate
  product-discovery/          # hard dependency — HMW and EARS substeps
    references/frameworks/    # ears.md, how-might-we.md
    references/roles/         # hmw-framer.md, ears-specifier.md
    templates/                # hmw-skeleton.md, ears-spec-skeleton.md
agents/
  researcher.md               # Research-phase agent (context7, deepwiki, brave, exa)
hooks/
  framework.py                # Pydantic hook framework — do not edit without testing
  hooks.json                  # hook event bindings
  session_start_bootstrap.py  # SessionStart — emits prior-lesson summary
  validate_packet.py          # PostToolUse(Write|Edit) — Pydantic-checks .erpaval/ writes
  compound_nudge.py           # Stop — one-shot nudge when Compound is pending

Version management

Bump plugin.json .version manually or with mise run bump -- <major|minor|patch> if you add a mise.toml.

Tools

All three tools under skills/erpaval/tools/ are PEP 723 scripts. Run with uv run. No venv needed.

  • erpaval-new.py --request "<text>" — scaffold a new session dir
  • erpaval-recall.py bootstrap — session-start summary
  • erpaval-recall.py search --module <path> --tags <csv> — per-task retrieval
  • erpaval-validate.py <path> — schema-check a YAML packet

Hooks

All hooks are fail-open. A broken hook exits 0 and logs to stderr — it cannot wedge a session. The framework.py module handles stdin/stdout plumbing and HookState for session-scoped persistence.

Adding skills

Add new skills under skills/<name>/SKILL.md following the two-tier pattern (SKILL.md ≤ 300 lines, heavy content in references/).

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.