Skip to content
Skills Library
Programming · Automation

correct

/correct

Turn a repeated agent mistake into a check that fails, at the highest layer that can hold it (architecture, then types, then lint, then tests, docs last), and prove the check catches the real past mistake. Use when the user corrects the same mistake again, says it keeps happening, or asks to make a mistake impossible to repeat.

Repository
skills ↗
Licence
MIT
Last repository change
10.11.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
25
Scripts
0
HTML comments
0
URLs in SKILL.md
1
Deprecation

No signals detected. Repository changed on 10.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Turn a repeated agent mistake into a check that fails, at the highest layer that can hold it (architecture, then types, then lint, then tests, docs last), and prove the check catches the real past mistake. Use when the user corrects the same mistake again, says it keeps happening, or asks to make a mistake impossible to repeat.

Original author description

Turn a repeated agent mistake into a check that fails, at the highest layer that can hold it (architecture, then types, then lint, then tests, docs last), and prove the check catches the real past mistake. Use when the user corrects the same mistake again, says it keeps happening, or asks to make a mistake impossible to repeat.

How it works

  1. Steps
Original SKILL.md headings · 25 lines, 387 words
SKILL.md preview
---
name: correct
description: Turn a repeated agent mistake into a check that fails, at the highest layer that can hold it (architecture, then types, then lint, then tests, docs last), and prove the check catches the real past mistake. Use when the user corrects the same mistake again, says it keeps happening, or asks to make a mistake impossible to repeat.
license: MIT
metadata:
  source: https://github.com/cursor/plugins/tree/6b0300214a09fd6029cfb7077043125758cd1fd2/pstack/skills/correct
  source-revision: 6b0300214a09fd6029cfb7077043125758cd1fd2
  source-license: MIT, see LICENSE-pstack
  source-files: "pstack/skills/correct/SKILL.md"
  local-changes: "Preserved evidenced recurrence, current authority and the smallest enforcement hierarchy; placed judgment rules in change-review standards with bad/good examples and repeat proof; retained compatible encode-lessons methods without history sweeps or automatic commits."
---

# Correct

A **recurrence** is a mistake that has happened at least twice: the user corrected it before, or the history shows it more than once. A correction written only in prose is skipped by the next agent; a check that fails is not. This skill turns a recurrence into the smallest structural remedy that makes the wrong change fail.

Assume the next contributor is an agent that sees only the files it opened, copies the nearest example, and takes the shortest path that compiles.

## Steps

1. **Name the recurrence** with its evidence: the earlier correction, the commit, or the review comment, and the concrete wrong change. Stay within the scope the user authorized.
2. **Pick the highest layer that holds it:**
   1. **Architecture.** Give the state one owner and the task one supported way; hide internals so the wrong import fails; replace a hand-synced list with one source of truth; delete the old way an agent would copy.
   2. **Types.** Make the wrong state impossible to write.
   3. **Lint or a CI check** whose error message names the file, type, or function to use instead. When the pattern is already common, fail only on additions.
   4. **A behavior test** that fails when the behavior breaks.
   5. **A written judgment rule,** only when no structural, static or executable check can decide it. Put it in the project standards the `change-review` skill reads, with the past failure and a valid counterexample. Use agent instructions only when no review-standard home exists and editing them is authorized.
3. **Prove the remedy.** Show it rejecting the real past mistake (or a faithful reproduction) and accepting valid code through the project check or applicable review rubric. Repeat the setup or compare the intended edit against its recorded post-edit state: it needs no further change. Keep an unavailable reject, accept or repeat check unresolved. A structural fix needs no duplicate standing instruction.
4. **Report** the recurrence, its evidence, the layer chosen, why each higher layer did not work, and the proof.

Done when the remedy rejects the historical mistake, accepts valid code, repeats without a further content change, and is enforced by the project's standard check or review.

Commits, history-wide sweeps for other mistake classes, and edits to agent instruction files happen only when the user asks for them.

Per-file provenance: [references/SOURCES.md](references/SOURCES.md).
Files in this package (25)
  • LICENSE-pstack 1 KB
  • LICENSE-pstack-claude 1 KB
  • NOTICE-skills.md 2 KB
  • NOTICE.md 10 KB
  • SKILL.md 3 KB
  • evals/examples.md 2 KB
  • evals/results/2026-11-08-claude-claude-opus-5-5-activation-1.md 4 KB
  • evals/results/2026-11-08-claude-claude-opus-5-5-near-miss-1.md 4 KB
  • evals/results/2026-11-08-codex-gpt-6.1-sol-activation-1-core6.md 4 KB
  • evals/results/2026-11-08-codex-gpt-6.1-sol-activation-2-core6.md 4 KB
  • evals/results/2026-11-08-codex-gpt-6.1-sol-activation-2.md 4 KB
  • evals/results/2026-11-08-codex-gpt-6.1-sol-activation-3-core6.md 4 KB
  • evals/results/2026-11-08-codex-gpt-6.1-sol-near-miss-1-core6.md 4 KB
  • evals/results/2026-11-08-codex-gpt-6.1-sol-near-miss-2-core6.md 4 KB
  • evals/results/2026-11-08-codex-gpt-6.1-sol-near-miss-2.md 4 KB
  • evals/results/2026-11-08-codex-gpt-6.1-sol-near-miss-3-core6.md 4 KB
  • evals/results/2026-11-09-claude-claude-opus-5-5-activation-1-claude.md 4 KB
  • evals/results/2026-11-09-claude-claude-opus-5-5-activation-1-round2-pre-claude.md 4 KB
  • evals/results/2026-11-09-claude-claude-opus-5-5-activation-2-claude.md 4 KB
  • evals/results/2026-11-09-claude-claude-opus-5-5-activation-2-round2-pre-claude.md 4 KB
  • evals/results/2026-11-09-claude-claude-opus-5-5-activation-3-claude.md 4 KB
  • evals/results/2026-11-09-claude-claude-opus-5-5-near-miss-1-claude.md 4 KB
  • evals/results/2026-11-09-claude-claude-opus-5-5-near-miss-2-claude.md 4 KB
  • evals/results/2026-11-09-claude-claude-opus-5-5-near-miss-3-claude.md 4 KB
  • references/SOURCES.md 4 KB

Versions

RepositoryScoreLicence
This page · cravingmaker/skills100MIT
Calvin-LLC/skills100MIT
smarzban/agent-skills100MIT
SammyLin/skills100MIT
workerstack/repo100MIT
arjitj2/open-pstack100MIT
r3dbars/transcripted100MIT
haowjy/creative-writing-skills100Apache-2.0
workerstack/clients100MIT

Database snapshot: 13.11.2026 · package version 0d4bdaf0224c (SHA-256 digest of the entire package)

Downloads in the last 30 days: 2 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100honor-code
    Zuko's honor code for making repeated agent mistakes impossible. Zuko turned his past mistakes into a code he lives by. Use for correct, /correct, "stop making this mistake", "agents keep doing X", or each time the operator corrects you. Finds the mistake classes agents repeat…
  • 100imp-guardrail
    Turns a mistake into a guardrail so no coding agent makes it twice. Names the class of mistake, picks the strongest affordable enforcement (types, lint rules, architecture tests, Contract tests, CI checks, agent hooks, and written rules only as a last resort), proves it catches…
  • 90mistake-to-constraint
    Use when a mistake repeats. Encode it as the strongest guard — type or runtime, lint, test, directory convention, then a rules line — and log it in CONSTRAINTS.md.
  • 100agents-correct
    Find the mistakes agents keep repeating in a repo and make each one impossible, trying architecture first, then types, lint, tests, and docs last. Use when the operator keeps correcting the same mistake, or for /agents-correct.
  • 86lesson
    Turn a correction or a repeated mistake into something that prevents it - a guard rule, a script or lint check, a test, or, last, text in a playbook or principle. Use when the user corrects the agent, when a mistake happens twice, or after a task that went wrong.
  • 84codify
    Counts how often a described mistake recurs in recent commits and the session, picks the strongest enforcement-ladder rung that can catch it, places the lesson by scope, and proposes a check proven to fail on the old code and pass on the current code; `preferences` proposes…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.