Skip to content

Turn recurring agent mistakes into architecture, types, lints, and tests that block them from recurring.

CCM score
60 of 100
skills.sh installs
12.5K
GitHub stars
5.5K
last updated
Nov 30, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers mining commits, reverts, and review comments to group repeated agent mistakes into classes that have occurred at least twice
  • Fixes each class at the highest level that works: architecture first, then types, then a failing lint, then a test, then docs
  • Enforces that each new check fails on a real past mistake, runs identically locally and in CI, and keeps exceptions with reasons and expiry dates
  • Designed for repos where operators repeatedly correct agents, with a rule table in the agent instruction file that pairs each rule with its enforcement

Install

$ npx -y skills add backnotprop/pstack --skill correct -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Correct

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.

Find the mistake classes

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.

Fix each class at the highest level that works

Details

Repository
github.com/backnotprop/pstack
Category
Testing & QA
First seen
Nov 30, 2026

More from backnotprop/pstack

All 44

Similar to Correct

More Testing & QA