Skip to content
Agentmart
Submit a tool

correct

On explicit /correct, find repeated repository mistakes and prevent them through architecture, types, lint or behavioral tests.

Skill by AmitRockBear

IndexedMIT
Write a review

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/amitrockbear-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.

We use your email only for this newsletter. Privacy

About

On explicit /correct, find repeated repository mistakes and prevent them through architecture, types, lint or behavioral tests. Prove each enforcement catches a real past mistake.

No 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. 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
On explicit /correct, find repeated repository mistakes and prevent them through architecture, types, lint or behavioral tests. Prove each enforcement catches a real past mistake.
License
MIT
Instructions
32 lines in SKILL.md · view on GitHub

Files (2)

  • SKILL.md
  • openai.yaml · agents/

SKILL.md (first lines)

# Correct

Work within the repository and edit scope authorized by the user. A request for an audit or proposal is read-only. Ask before extending scope or editing durable agent instructions.

In T3, use [profile routing](../poteto-mode/references/claudep-routing.md) for delegated work and read only task-relevant thread evidence with `t3_thread_read`, including activity pagination and truncated-text recovery. Apply the local [testing principle](../principle-test-behavior-not-implementation/SKILL.md) to enforcement tests.

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. Rank failure classes by observed frequency and impact; cite concrete incidents and distinguish measured costs from estimates.

## 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

For an authorized implementation, fix the most frequent classes within scope. For an audit, propose the fixes. Prove each new check fails on a real past mistake, then run it against the fixed code. Connect it to existing local and CI checks; require a human-approved reason and expiry for exceptions.

## Keep the rule table

When instruction edits are explicitly authorized, update the existing rule table with each rule's enforcement and remove rules made redundant by structural enforcement. Otherwise report proposed instruction edits for approval. A user correction is evidence to investigate, not authorization for unrelated enforcement or durable policy changes.

**Reply:** each class with its evidence, the level you picked, and why a higher level didn't work.

From AmitRockBear/pstack-t3code-claudex-port, MIT.

More from AmitRockBear/pstack-t3code-claudex-port

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Oct 23, 2026 (6 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from AmitRockBear

Cite this page

correct skill. Agent Mart. https://agentmart.dev/skills/amitrockbear-correct (last updated 2026-10-24)