correct
Find the mistakes agents keep repeating in this repo and make each one impossible.
Skill by hapwi
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/hapwi-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
- 33 lines in SKILL.md · view on GitHub
Files (2)
- SKILL.md
- openai.yaml · agents/
SKILL.md (first lines)
## Host integration Read [the Hapstack runtime contract](../hap-mode/references/runtime.md) once per task before model selection, delegation, external actions, or scheduling. Its host mappings and authorization rules govern the host-specific steps below. # 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 would still pass if every function it calls returned nothing. 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 hapwi/hapstack, MIT.
More from hapwi/hapstack
- 0.567score
hap-mode
hapwi
Route requested Hapstack engineering tasks to playbooks and skills, including patch-to-score and shipping.
SkillAFreshness: AClaude Code +9 - 0.567score
hap-help
hapwi
Explain Hapstack setup, hap-mode routing, skills, playbooks, principles, prerequisites, and host-specific invocation.
SkillAFreshness: AClaude Code +9 - 0.561score
setup-benny
hapwi
Prepare and configure the dormant Benny issue-triage and bug-reproduction automation pack for an explicitly selected project and supported host scheduler.
SkillAFreshness: AClaude Code +9 - 0.556score
control-cli
hapwi
Exercise a requested CLI or terminal UI through the current host’s shell and PTY controls, recording actual behavior and preserving unrelated files and…
SkillAFreshness: AClaude Code +9 - 0.556score
control-ui
hapwi
Drive and inspect a requested UI using the active host’s browser or desktop controls, collecting evidence from the actual affected surface.
SkillAFreshness: AClaude Code +9 - 0.541score
create-verification-skill
hapwi
Generate a project-local verification skill that drives your app the way a user does — any language, framework, or platform.
SkillAFreshness: AClaude Code +9 - 0.541score
interrogate
hapwi
Use for "interrogate", "adversarial review", "multi-model review", "challenge this", "stress test this code", "find blind spots", or "tear this apart".
SkillAFreshness: AClaude Code +9 - 0.541score
architect
hapwi
Sketch types, signatures, and module structure before code, then stay in the loop while implementation fills in.
SkillAFreshness: AClaude Code +9 - 0.541score
how
hapwi
Use for "how does X work", code walkthroughs before changing something, and placement / ownership / layering questions ("where should this live", "which…
SkillAFreshness: AClaude Code +9 - 0.539score
benchmark-checklist
hapwi
Vet a perf measurement (limiter, tuning, limits, errors, repeatability, relevance, and whether the work happened) before you report or act on it.
SkillAFreshness: AClaude Code +9 - 0.536score
arena
hapwi
Spawn N parallel candidates at the same task, pick a base, graft the strongest parts of the losers into it.
SkillAFreshness: AClaude Code +9 - 0.536score
automate-me
hapwi
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: AClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 14, 2026 (15 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/hapwi/hapstack
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from hapwi
- 0.567score
hap-mode
hapwi
Route requested Hapstack engineering tasks to playbooks and skills, including patch-to-score and shipping.
SkillAFreshness: AClaude Code +9 - 0.567score
hap-help
hapwi
Explain Hapstack setup, hap-mode routing, skills, playbooks, principles, prerequisites, and host-specific invocation.
SkillAFreshness: AClaude Code +9 - 0.561score
setup-benny
hapwi
Prepare and configure the dormant Benny issue-triage and bug-reproduction automation pack for an explicitly selected project and supported host scheduler.
SkillAFreshness: AClaude Code +9 - 0.556score
control-ui
hapwi
Drive and inspect a requested UI using the active host’s browser or desktop controls, collecting evidence from the actual affected surface.
SkillAFreshness: AClaude Code +9 - 0.556score
control-cli
hapwi
Exercise a requested CLI or terminal UI through the current host’s shell and PTY controls, recording actual behavior and preserving unrelated files and…
SkillAFreshness: AClaude Code +9 - 0.541score
architect
hapwi
Sketch types, signatures, and module structure before code, then stay in the loop while implementation fills in.
SkillAFreshness: AClaude Code +9
Cite this page
correct skill. Agent Mart. https://agentmart.dev/skills/hapwi-correct (last updated 2026-10-24)