correct
Find the mistakes agents keep repeating in this repo and make each one impossible.
Skill by jiangkoumo
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/jiangkoumo-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: not checked yet.
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
- 38 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
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. ## Pi adaptation Adapted from Lauren Tan’s pstack v0.15.25, MIT, fixed revision f713f14203cd6420cec13cd7c55c32d598dbab68. Read the [Pi adapter](../../adapters/pi/harness.md) for host mappings. Delegation requires current operator or applicable project authorization and a compatible pi-subagents integration. If unavailable or unauthorized, perform authorized stages locally, disclose self-review and missing independence, and report any required independent stage as open. Use only registered pstack.* agents. Models and thinking bind through /setup-pstack roles and user agentOverrides; never put model in a task item or on the outer subagent call. Report unavailable or identical configured models; do not silently substitute. Await native completion notices and collect every required result before synthesis. Use read for file contents, grep/find/ls for search and directories, and ffgrep/fffind when available. Batch independent reads with codemode when available. Use edit/write only for authorized changes; bash executes programs and Git in an explicit working directory, never reads or searches files. Keep one writer per worktree and isolate candidate output paths. Read-only reviewers never receive bash, edit, write, or nested delegation. Loading this skill grants no new permission: push, PR creation, merge, external messages, and destructive operations require explicit authorization in the current session. Commit only when authorized. Use only available history and explicitly authorized read-only review sources. Missing history or unavailable CI is a reported evidence gap. The original one-commit-per-class instruction is subject to the current session’s commit authorization.
From jiangkoumo/pi-pstack, MIT.
More from jiangkoumo/pi-pstack
- 0.647score
statechart
jiangkoumo
Draw what an app's user sees as a Mermaid statechart from a TLA+ model.
SkillAFreshness: A★ 27Claude Code +9 - 0.647score
poteto-help
jiangkoumo
Guides users through pstack setup, /skill:poteto-mode, and picking the skill, playbook, or principle for a task.
SkillAFreshness: A★ 27Claude Code +9 - 0.637score
recall
jiangkoumo
Reconstruct your recent working context from your own chat history, live state, and the shared record (user reports, prior fixes, incidents), then hand back a…
SkillAFreshness: A★ 27Claude Code +9 - 0.622score
how
jiangkoumo
Use for "how does X work", code walkthroughs before changing something, and placement / ownership / layering questions ("where should this live", "which…
SkillAFreshness: A★ 27Claude Code +9 - 0.622score
interrogate
jiangkoumo
Use for "interrogate", "adversarial review", "multi-model review", "challenge this", "stress test this code", "find blind spots", or "tear this apart".
SkillAFreshness: A★ 27Claude Code +9 - 0.622score
architect
jiangkoumo
Sketch types, signatures, and module structure before code, then stay in the loop while implementation fills in.
SkillAFreshness: A★ 27Claude Code +9 - 0.622score
poteto-mode
jiangkoumo
poteto's agent style for concise, detailed responses, deliberate subagents, unslopped prose, simple code, and verified work.
SkillAFreshness: A★ 27Claude Code +9 - 0.622score
create-verification-skill
jiangkoumo
Generate a project-local verification skill that drives your app the way a user does — any language, framework, or platform.
SkillAFreshness: A★ 27Claude Code +9 - 0.620score
automate-me
jiangkoumo
Use for "automate me", "create/update/refresh my -mode skill", "turn/capture my preferences or working style into a skill", or wanting agents to follow how…
SkillAFreshness: A★ 27Claude Code +9 - 0.620score
benchmark-checklist
jiangkoumo
Vet a perf measurement (limiter, tuning, limits, errors, repeatability, relevance, and whether the work happened) before you report or act on it.
SkillAFreshness: A★ 27Claude Code +9 - 0.620score
ketchup
jiangkoumo
Catch the user up on what changed in this chat since their last message, in plain words and small visuals.
SkillAFreshness: A★ 27Claude Code +9 - 0.617score
principle-boundary-discipline
jiangkoumo
Apply when wiring validation, error handling, or framework adapters.
SkillAFreshness: A★ 27Claude Code +9
Signals
- Stars
- 27
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 21, 2026 (8 days ago)
- Last release
- Oct 24, 2026 (4 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/jiangkoumo/pi-pstack
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from jiangkoumo
- 0.650score
ego-decision-layer
jiangkoumo
多步线性浏览器任务(连续点击、翻页、搜索表单提交、导航跳转)的默认入口:用 `ego-decision-layer` 一条命令让决策层在单个 ego-browser 进程内闭环决策(默认 System One / Jev,可换本地 OpenAI 兼容后端;browser automation /…
SkillAFreshness: A★ 27Claude Code +9 - 0.647score
statechart
jiangkoumo
Draw what an app's user sees as a Mermaid statechart from a TLA+ model.
SkillAFreshness: A★ 27Claude Code +9 - 0.647score
poteto-help
jiangkoumo
Guides users through pstack setup, /skill:poteto-mode, and picking the skill, playbook, or principle for a task.
SkillAFreshness: A★ 27Claude Code +9 - 0.637score
recall
jiangkoumo
Reconstruct your recent working context from your own chat history, live state, and the shared record (user reports, prior fixes, incidents), then hand back a…
SkillAFreshness: A★ 27Claude Code +9 - 0.622score
create-verification-skill
jiangkoumo
Generate a project-local verification skill that drives your app the way a user does — any language, framework, or platform.
SkillAFreshness: A★ 27Claude Code +9 - 0.622score
architect
jiangkoumo
Sketch types, signatures, and module structure before code, then stay in the loop while implementation fills in.
SkillAFreshness: A★ 27Claude Code +9
Cite this page
correct skill. Agent Mart. https://agentmart.dev/skills/jiangkoumo-correct (last updated 2026-10-24)