Agent Skills › wibus-wee/see › correct

correct

GitHub

识别并修复仓库中重复出现的错误,通过架构、类型检查和测试等手段消除缺陷,防止未来重犯。

.agents/skills/correct/SKILL.md wibus-wee/see

Trigger Scenarios

发现重复性代码错误 /correct指令触发

Install

npx skills add wibus-wee/see --skill correct -g -y
More Options

Non-standard path

npx skills add https://github.com/wibus-wee/see/tree/main/.agents/skills/correct -g -y

Use without installing

npx skills use wibus-wee/see@correct

指定 Agent (Claude Code)

npx skills add wibus-wee/see --skill correct -a claude-code -g -y

安装 repo 全部 skill

npx skills add wibus-wee/see --all -g -y

预览 repo 内 skill

npx skills add wibus-wee/see --list

SKILL.md

Frontmatter
{
    "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."
}

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.

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.

Version History

  • b47adae Current 2026-11-26 00:10

Same Skill Collection

.agents/skills/architect/SKILL.md
.agents/skills/arena/SKILL.md
.agents/skills/automate-me/SKILL.md
.agents/skills/benchmark-checklist/SKILL.md
.agents/skills/blast-radius/SKILL.md
.agents/skills/bro/SKILL.md
.agents/skills/create-formal-verification-skill/SKILL.md
.agents/skills/create-verification-skill/SKILL.md
.agents/skills/figure-it-out/SKILL.md
.agents/skills/how/SKILL.md
.agents/skills/in-your-own-words/SKILL.md
.agents/skills/interrogate/SKILL.md
.agents/skills/ketchup/SKILL.md
.agents/skills/maintain-formal-verification-skill/SKILL.md
.agents/skills/maintain-verification-skill/SKILL.md
.agents/skills/make-bot-ui/SKILL.md
.agents/skills/mygo-maintenance/SKILL.md
.agents/skills/no-comments/SKILL.md
.agents/skills/poteto-help/SKILL.md
.agents/skills/poteto-mode/SKILL.md
.agents/skills/principle-attack-the-premise/SKILL.md
.agents/skills/principle-boundary-discipline/SKILL.md
.agents/skills/principle-build-the-lever/SKILL.md
.agents/skills/principle-encode-lessons-in-structure/SKILL.md
.agents/skills/principle-exhaust-the-design-space/SKILL.md
.agents/skills/principle-experience-first/SKILL.md
.agents/skills/principle-explain-the-number/SKILL.md
.agents/skills/principle-fix-root-causes/SKILL.md
.agents/skills/principle-foundational-thinking/SKILL.md
.agents/skills/principle-guard-the-context-window/SKILL.md
.agents/skills/principle-laziness-protocol/SKILL.md
.agents/skills/principle-make-operations-idempotent/SKILL.md
.agents/skills/principle-migrate-callers-then-delete-legacy-apis/SKILL.md
.agents/skills/principle-minimize-reader-load/SKILL.md
.agents/skills/principle-never-block-on-the-human/SKILL.md
.agents/skills/principle-outcome-oriented-execution/SKILL.md
.agents/skills/principle-prove-it-works/SKILL.md
.agents/skills/principle-redesign-from-first-principles/SKILL.md
.agents/skills/principle-separate-before-serializing-shared-state/SKILL.md
.agents/skills/principle-sequence-verifiable-units/SKILL.md
.agents/skills/principle-subtract-before-you-add/SKILL.md
.agents/skills/principle-test-behavior-not-implementation/SKILL.md
.agents/skills/principle-type-system-discipline/SKILL.md
.agents/skills/recall/SKILL.md
.agents/skills/reflect/SKILL.md
.agents/skills/release/SKILL.md
.agents/skills/setup-pstack/SKILL.md
.agents/skills/sharpen/SKILL.md
.agents/skills/show-me-your-work/SKILL.md

Metadata

Files
0
Version
b47adae
Hash
6618ab4b
Indexed
2026-11-26 00:10

Home - Wiki
Copyright © 2011-2026 iteam. Current version is 2.156.0. UTC+08:00, 2026-11-26 00:41
浙ICP备14020137号-1