HERO Anti-OverDefense prompt

A prompt limits unnecessary defensive scaffolding and repeated checks while preserving work on real project defects.

  • 837 ★ on the repository
  • Last commit
  • MIT
Prompt

Minimal access

Why this level

  • The prompt changes guidance about task scope without executing code or restricting agent permissions.
All reasons and checks

wanshuiyin/hero-anti-overdefense

Install

Manual install

Text for your agent

=== SCOPE LIMITS (these bound what you PROPOSE, never what you look for) === Report anything that is actually wrong here — including a rare-looking case, if this project actually produces it. Then keep the fix in scope: 1. This is not a security paper. Verification is welcome; over-defense is not. Unless this project states otherwise, assume a cooperating operator on their own machine; if it has a real adversary, it will say so and that scope wins. 2. Do not add hashes, checksums or fingerprints unless the hash replaces a materially more expensive operation AND its result changes what happens next. 3. No defensive scaffolding: no feature flags, migration frameworks, compat layers or wrappers for cases that do not occur here. 4. No corner-case obsession: exotic encodings, symlink races, RTL text and millisecond races are out of scope unless the case is reachable through this project's supported use — its documented inputs, its published interface, its real data. Reachable is enough; you do not need a reproduction. Constructible in principle is not enough. 5. Where judgement is needed, judge. Do not replace it with a scoring table, a checklist, or a re-verification loop over something already settled. 6. None of this overrides security, migration, verification or review that the user, this project's own conventions, or a higher-priority rule asked for. Those were requested; they are the work, not scope creep. 7. Deliverable text is not a defense transcript. State plainly what holds; collect caveats in one section (Limitations, Known Issues) instead of sprinkling a disclaimer into every paragraph; and never write instructions into the product — nor the process: "do not mention X" means X is absent (not "we do not address X"), and intermediate errors, abandoned approaches and revision history are not content either. Lead with the strongest result — a paper is a launch, not a progress report. An unfavorable number that is a tradeoff is explained as one; one that is not is stated plainly — neither is narrated as a defeat, and the number stays in the table. 8. Momentum is part of the deliverable. When several reasonable approaches exist, pick one and note the tradeoff — escalate to a question only when the options genuinely diverge or the choice is hard to reverse. A detail that does not block the goal gets recorded, not solved first. Stalling to avoid picking wrong is itself a wrong pick. 9. No generation or correction traces: the final deliverable (code, comments, docstrings, commit messages, PR descriptions, summaries) presents only the correct end result, as if it had been written that way from the start — no intermediate errors, no trial-and-error, no abandoned approaches, no "why we didn't do X". No AI-assistance markers either: no "Generated by / Co-authored-by: Claude/Codex" signatures, no model-voice transitions ("it is worth noting", "in summary", "firstly... secondly... finally"), no "here is..." openers. Match the wording and level of detail to the project's existing style. Shapes already seen, for calibration. Examples, not a checklist — a real finding is not dismissed by resembling one: H hashing every row of two spreadsheets to answer what comparing cells answers H writing checksum files that nothing ever reads E hardening the accounts of an app that has no users and no deployment R auditing your own patch all night while the feature stays unwritten R a reviewer that returns a failing verdict on everything O guards whose justification is the previous guard, not the requirement And two that look like the above and are not. Report these: ✓ a digest that lets you skip re-reading a large file you already have ✓ a rare-looking input this project's own documentation example produces Before running any check, answer: what specific failure would this detect, and what would I do differently if it occurred? No answer means do not run it. Say plainly when something is correct. Do not manufacture findings.

First Quickstart option: paste the block into the instruction file your client loads automatically. This is text, not a shell command.

Access and checks

How we review

Minimal accessThe tool runs nothing and makes no network calls.

  • The prompt changes guidance about task scope without executing code or restricting agent permissions.

This is third-party code. Review the repository files before installing.

What it does

HERO Anti-OverDefense bounds the fixes an agent proposes. The agent should report real defects without adding compatibility layers, hashes or repeated checks unrelated to the task. Each proposed check should detect a specific failure and inform an action. The block goes in the project’s persistent instructions. Users can cite examples from the case collection when work drifts beyond scope. Requested security and migration work retains priority.

Who it is for. Developers assigning focused changes to agents that overbuild abstractions or repeatedly review settled decisions.

Good fit when

  • A focused change is growing flags and compatibility layers without a requirement.
  • The agent repeats checks without a decision depending on the result.
  • A local tool attracts defenses against scenarios outside its supported use.
  • Review mixes actual defects with hypothetical improvements beyond the assignment.

Not a fit when

  • You want to dismiss a real defect merely because it looks rare.
  • Security review, migration or mandatory verification is already the assigned work.
  • You need a technical restriction that a model cannot ignore.

Example request

Fix this handler under HERO rules: report real problems and propose the smallest task-related patch.

Limitations

This is a text instruction rather than permission enforcement, and a model may fail to follow it. Higher-priority rules and explicitly requested work remain binding, so resolve conflicts before starting. Place the block in a file your client actually loads, otherwise a new session will not receive it. The contract limits repair scope without limiting defect discovery: report failures reachable through supported use even when they appear unusual.

How to disable. Remove the added SCOPE LIMITS block from the instruction file and start a new session, preserving other project rules.

FAQ

Where does the Codex block go?

Put it in the relevant project’s `AGENTS.md` and confirm the client loads it.

Must I install the whole case collection?

No. It is for users to select examples and quote them to an agent.

Is a shorter version available?

Yes. `RULES.md` includes the same rules without the extended examples.

Can I skip the first program run?

No. The contract preserves useful checks that detect specific failures, including a smoke test.

How do I update an old copy?

Compare it with current `RULES.md` and replace only the block. Pasted copies do not update themselves.

Discussion

No questions or reviews yet.

Prompts

Procoder is a single Go binary with a commit gate, quality controllers and a lessons ledger so agents cannot ship unfinished work

PluginExtended access211Repository stars

A code graph and guardrails for agents: one call shows what a task touches, and a check stops an unsafe change

CLIExtended access363Repository stars

Guard skills for coding agents: a second pass over the diff that catches typical AI mistakes in code, tests and docs

SkillMinimal access1.3KRepository stars

A plugin that catches an agent false "done": a Stop hook asks for evidence and every defect becomes a lasting safeguard

PluginExtended access168Repository stars

A cleanup skill for agent-written code: finds surplus tests, self-checks and fallbacks and deletes them, keeping behavior

SkillExtended access140Repository stars

A skill that finds AI slop in code: duplicate helpers, empty abstractions, weak tests. It cleans one pattern per commit.

SkillExtended access95Repository stars

README in short

The case collection covers hashing, edge cases, scoring rubrics and overbuilding to support concrete discussion of agent behavior.

README badge

Report a problem