correct
Find the mistakes agents keep repeating in this repo and make each one impossible.
Skill by minghinmatthewlam
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/minghinmatthewlam-correct
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: testing, writing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/correct
What's inside
- Skill name
correct- Description
- Find the mistakes agents keep repeating in this repo and make each one impossible. Try architecture first, then types, then a lint whose error names the fix, then a test, and write docs last. Prove each check fails on a real past mistake. Repeat this each time the operator corrects you. Use for /correct.
- License
- MIT
- Instructions
- 28 lines in SKILL.md · view on GitHub
Files (2)
- SKILL.md
- openai.yaml · agents/
SKILL.md (first lines)
# 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 1. **Eliminate it with architecture.** Give each piece of state one owner and each task one supported way. Hide internals so the wrong import fails. Replace hand-synced lists with one source of truth. Delete old ways and dead code an agent would copy. 2. **Enforce it with types so the bad state can't be written.** If bad code still compiles, add a lint or CI check whose error names the file, type, or function to use instead. If the pattern is already common, fail only when a change adds more. 3. **Test the behavior.** Fix or delete any test that still passes when the behavior it checks breaks, or that fails when only the internals change. 4. **Write docs or agent rules last, only for judgment calls.** Nothing fails when an agent skips them. ## Fix and prove 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. ## Keep the rule table 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.
From minghinmatthewlam/agent-guards, MIT.
More from minghinmatthewlam/agent-guards
- 0.650score
principle-test-behavior-not-implementation
minghinmatthewlam
Apply when you write, change, or keep a test.
SkillAFreshness: A★ 46Claude Code +9 - 0.650score
ketchup
minghinmatthewlam
Catch the user up on everything in this chat since their last message, in plain words.
SkillAFreshness: A★ 46Claude Code +9 - 0.635score
architect
minghinmatthewlam
Sketch types, signatures, and module structure before code, then stay in the loop while implementation fills in.
SkillAFreshness: A★ 46Claude Code +9 - 0.635score
create-verification-skill
minghinmatthewlam
Generate a project-local verification skill that drives your app the way a user does — any language, framework, or platform.
SkillAFreshness: A★ 46Claude Code +9 - 0.635score
how
minghinmatthewlam
Use for "how does X work", code walkthroughs before changing something, and placement / ownership / layering questions ("where should this live", "which…
SkillAFreshness: A★ 46Claude Code +9 - 0.635score
interrogate
minghinmatthewlam
Use for "interrogate", "adversarial review", "multi-model review", "challenge this", "stress test this code", "find blind spots", or "tear this apart".
SkillAFreshness: A★ 46Claude Code +9 - 0.635score
poteto-mode
minghinmatthewlam
poteto's agent style for concise, detailed responses, deliberate subagents, unslopped prose, simple code, and verified work.
SkillAFreshness: A★ 46Claude Code +9 - 0.633score
benchmark-checklist
minghinmatthewlam
Vet a perf measurement (limiter, tuning, limits, errors, repeatability, relevance, and whether the work happened) before you report or act on it.
SkillAFreshness: A★ 46Claude Code +9 - 0.630score
arena
minghinmatthewlam
Spawn N parallel candidates at the same task, pick a base, graft the strongest parts of the losers into it.
SkillAFreshness: A★ 46Claude Code +9 - 0.630score
maintain-verification-skill
minghinmatthewlam
Periodic pass that keeps a project's verification skill and feature map honest: parallel source readers per feature, one live session driving every feature…
SkillAFreshness: A★ 46Claude Code +9 - 0.630score
principle-boundary-discipline
minghinmatthewlam
Apply when wiring validation, error handling, or framework adapters.
SkillAFreshness: A★ 46Claude Code +9 - 0.630score
blast-radius
minghinmatthewlam
Find what a change could break somewhere else before it ships, beyond the diff, and prove the one fact it's safe because of by running real code instead of…
SkillAFreshness: A★ 46Claude Code +9
Signals
- Stars
- 46
- Forks
- 3
- Open issues
- 0
- Last commit (this folder)
- Oct 13, 2026 (16 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from minghinmatthewlam
- 0.650score
ketchup
minghinmatthewlam
Catch the user up on everything in this chat since their last message, in plain words.
SkillAFreshness: A★ 46Claude Code +9 - 0.650score
principle-test-behavior-not-implementation
minghinmatthewlam
Apply when you write, change, or keep a test.
SkillAFreshness: A★ 46Claude Code +9 - 0.635score
interrogate
minghinmatthewlam
Use for "interrogate", "adversarial review", "multi-model review", "challenge this", "stress test this code", "find blind spots", or "tear this apart".
SkillAFreshness: A★ 46Claude Code +9 - 0.635score
architect
minghinmatthewlam
Sketch types, signatures, and module structure before code, then stay in the loop while implementation fills in.
SkillAFreshness: A★ 46Claude Code +9 - 0.635score
how
minghinmatthewlam
Use for "how does X work", code walkthroughs before changing something, and placement / ownership / layering questions ("where should this live", "which…
SkillAFreshness: A★ 46Claude Code +9 - 0.635score
create-verification-skill
minghinmatthewlam
Generate a project-local verification skill that drives your app the way a user does — any language, framework, or platform.
SkillAFreshness: A★ 46Claude Code +9
Cite this page
correct skill. Agent Mart. https://agentmart.dev/skills/minghinmatthewlam-correct (last updated 2026-10-24)