npx claudepluginhub hryer/ezstacksOne coding discipline for Claude Code: understand fully, build the least code that works, prove it on the real artifact. Inspired by poteto's pstack, DietrichGebert's ponytail and Cloudflare's security-audit.
Go deep, write less, prove it. One coding discipline for Claude Code, inspired by poteto's pstack (understand deeply, verify on the real artifact, never claim done without evidence), DietrichGebert's ponytail (write the least code that works), and Cloudflare's security-audit design (adversarial validation, three verdicts, a coverage ledger).
In Claude Code:
/plugin marketplace add hryer/ezstacks
/plugin install ezstacks@ezstacks
Or from a terminal:
claude plugin marketplace add hryer/ezstacks
claude plugin install ezstacks@ezstacks
Restart Claude Code. A new session shows "Loading ezstacks", and the rules are in context. To update later: claude plugin marketplace update ezstacks && claude plugin update ezstacks@ezstacks.
Keep standalone ponytail / pstack plugins disabled; ezstacks replaces both.
Needs sh (hooks) and python3 (the ez-secure validator).
You don't have to invoke anything. Every session and every subagent gets the loop, the ladder and the 24 rules automatically:
Understand → Shape (the ladder) → Build → Prove → Report
The ladder, stop at the first rung that holds: need it? → already in the repo (search, then reuse)? → stdlib? → native? → installed dependency? → write a small function → new package (last resort; crypto, auth and parsers of untrusted input always use a vetted library).
Inspired by pstack's principles, numbered 1 to 24. One line each is always loaded; /ezstacks:ez-rules has the full text with a test per rule.
| Rules | |
|---|---|
| Understand | 1 root cause · 2 test the premise · 3 redesign, don't bolt on |
| Shape | 4 laziness (the ladder) · 5 subtract first · 6 data shape first · 7 model the domain · 8 types · 9 boundaries · 10 reader load · 11 experience first · 12 compare designs |
| Build | 13 idempotent · 14 separate, then lock · 15 migrate and delete · 16 end state · 17 verifiable steps · 18 build the lever |
| Prove | 19 prove it · 20 test behavior · 21 explain the number · 22 encode lessons |
| Work | 23 don't block · 24 guard context |
Three are worth remembering: ez-run for a big or unclear task, ez-attack before merging, ez-secure for security.
| Skill | Use |
|---|---|
/ezstacks:ez-run <goal>. done means <check>. | Rigorous runner with 5 playbooks: investigate, bug, feature, refactor, perf; names the rules in play and answers their tests |
/ezstacks:ez-rules [number | topic] | The 24 rules in full, each with its test |
/ezstacks:ez-shape | Call sites, then types, then placement, before logic |
/ezstacks:ez-verify | Verify on the real surface; leave one check for risky logic |
/ezstacks:ez-attack [target] | Break lens (proven failures, via ez-breaker agents) + Rules lens (the 24) + Cut lens (what to delete) |
/ezstacks:ez-scan [path] | Whole repo, top 10 ranked, "fix this first" |
/ezstacks:ez-ledger | Ledger of shortcut: comments |
/ezstacks:ez-secure [area | full audit] | Security guidance, or the 6-phase audit with disprovers; writes to ~/.ezstacks/security/<repo>/run-N/ |
/ezstacks:ez-strict lite|full|ultra|off | Strictness of the ladder (saved to ~/.claude/ezstacks/level) |
/ezstacks:ez-card | Reference card |
plugins/ezstacks/
hooks/hooks.json SessionStart + SubagentStart → inject.sh
hooks/inject.sh prints rules.md at the saved level
hooks/rules.md the loop, the ladder, the 24 rules (one line each), the never-cut list
skills/ez-*/ ez-rules (the 24 in full), ez-run (+ playbooks.md), ez-shape, ez-verify, ez-attack, ez-scan, ez-ledger, ez-strict, ez-card, ez-secure
agents/ez-breaker.md fresh-context adversarial reviewer (ez-attack)
agents/ez-verifier.md fresh-context finding disprover (ez-secure)
tests/*.test.sh inject.test.sh (hook levels), rules.test.sh (the two rule lists agree)
skills/ez-secure/check.py selftest validator for ledger + findings
sh plugins/ezstacks/tests/inject.test.sh # hook levels and subagent JSON
sh plugins/ezstacks/tests/rules.test.sh # the two rule lists agree
python3 plugins/ezstacks/skills/ez-secure/check.py selftest
claude plugin validate plugins/ezstacks
CI runs the first three on every push.
Inspired by pstack by poteto, ponytail by DietrichGebert, and security-audit-skill by Cloudflare.
MIT. See LICENSE.
7-day visitors to each marketplace page
Anthropic's Claude Code plugins, installed from the claude-plugins-official repository
RuFlo Marketplace: Claude Code native agents, swarms, workers, and MCP tools for continuous software engineering
Claude Code marketplace entries for the plugin-safe Agentic Awesome Skills library and its compatible editorial bundles.