/pstack:correctfrom pstack / poteto-mode (Universal Claude Code & Multi-Agent Edition)
Finds recurring mistakes in a repo and eliminates them at the highest effective level: architecture, types, lint/CI, tests, then docs. Useful for hardening a codebase against repeated agent errors.
Ships in pstack / poteto-mode (Universal Claude Code & Multi-Agent Edition). Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Portable adaptation of Lauren Tan's pstack v0.15.30. Use available workspace, execution, and observation capabilities. When a tool is unavailable, preserve the procedure where possible and report evidence gaps rather than claiming verification.
The operator keeps correcting agents in this repo for the same mistakes. Change the repo so the next agent can't make them.
Assume every contributor is an agent that sees only the files it opened, copies the nearest example, and takes the shortest path that compiles. Design the repo so a change that looks right from one file is right for the whole repo.
First, read recent commits, reverts, review comments, agent instruction files, and comments that explain workarounds. Group the mistakes into classes. A class counts once it has happened twice.
Then fix the most frequent classes now, one commit each. Prove each new check fails on a real past mistake. Run the same command locally and in CI. Exceptions go on the offending line with a reason, an expiry date, and a human's approval.
Last, keep a table in the agent instruction file that pairs each rule with what enforces it. When the operator corrects you, fix the mistake and add the rule. If the rule was already there and nothing enforces it, that's a repeat, so fix it at the highest level in the same change. Drop a rule once its mistake can't happen.
Reply: each class with its evidence, the level you picked, and why a higher level didn't work.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
code-quality, agent-errors, defensive-design, linting, testing
57 skills in this plugin
/architectSettle data shapes, ownership, boundaries, and interfaces before code crosses a function/module boundary. Use for non-trivial design work./arenaSpawn parallel candidate implementations for the same task, cross-judge, and graft the best parts into the winning base. Use when exploring competing designs or critical artifacts./automate-meCreate a personal mode skill from recurring workflow patterns in available history. Use when the user wants their own agent style encoded./benchmark-checklistVet a perf measurement (limiter, tuning, limits, errors, repeatability, relevance, and whether the work happened) before you report or act on it. Use when you run a benchmark or report a speedup or regression you measured./blast-radiusProve what a small-looking change can affect before or after editing. Use for compatibility, caller, state, schema, or behavior impact analysis./broRestate the last technical explanation in plain human language with minimal jargon. Use when the user asks for a simpler version.npx claudepluginhub theonlyfusioncube/potetos-for-everyone --plugin pstackOther plugins' skills for the same job