Scaffold, validate, and test Claude Code plugins
claude plugin marketplace add heurema/emporium # once
claude plugin install anvil@emporiumAnvil is the official plugin development toolkit for the heurema ecosystem. It covers the complete plugin lifecycle: scaffold a new plugin from heurema-standard templates, run six sequential validators to catch schema errors, missing files, and unsafe hook scripts before you publish, and execute fixture-driven hook tests to verify runtime behaviour. A built-in code-review agent applies a 21-item quality checklist and returns an explicit APPROVE or REQUEST CHANGES verdict. Everything runs locally — no network, no credentials.
claude plugin marketplace add heurema/emporium
claude plugin install anvil@emporiumManual install (from source)
git clone https://github.com/heurema/anvil.git ~/.claude/plugins/anvilThen add to ~/.claude/settings.json:
{
"permissions": {
"allow": ["Bash(~/.claude/plugins/anvil/hooks/*)"]
}
}Open a new Claude Code session to activate.
/anvil:new my-plugin
/anvil:check ./my-plugin
/anvil:test ./my-plugin
| Command | What it does |
|---|---|
/anvil:new |
Scaffold a complete plugin skeleton from heurema-standard templates |
/anvil:check |
Run six sequential validators and return a single PASS/FAIL verdict |
/anvil:test |
Execute fixture-driven hook tests to verify runtime behaviour |
- Scaffolding —
/anvil:newgenerates a conventions-compliant plugin skeleton (plugin.json, README, LICENSE, CHANGELOG, .gitignore); optionally initialises a git repo and creates a GitHub repository under the heurema org. - Six-layer validation —
/anvil:checkruns schema, structure, hooks, conventions, consistency, and install-docs validators in sequence and aggregates results into a JSON report. - Fixture-driven hook testing —
/anvil:testexecutesscripts/test_hooks.pyagainst your hook scripts and checks skill descriptions for presence, voice, length, and keywords. - AI code review — The
anvil-revieweragent (sonnet, read-only) applies a 21-item checklist and gives an unambiguous APPROVE or REQUEST CHANGES verdict. - Zero network dependency — all validation and scaffolding is local; the optional
gh repo createstep is explicit and opt-in.
- Claude Code with plugin support
- Python 3.14+ (for validator scripts and test framework)
jq(for hook validators)ghCLI — optional, only needed if you want/anvil:newto create a GitHub repository
Anvil makes no network calls during validation or scaffolding. No plugin files, metadata, or diagnostic output leave your machine. The optional GitHub repository creation step in /anvil:new uses your local gh CLI and is gated behind an explicit confirmation prompt.
- skill7.dev — plugin catalog and docs
- emporium — the heurema marketplace
- forge — plugin publishing and release pipeline
- signum — risk-adaptive development pipeline with adversarial consensus code review