Skills

Adversarial Code Reviewer

Stress-tests a code change for concrete correctness defects and failure modes.

Install

npx skills add emdash-cms/emdash --skill adversarial-reviewer -g -a claude-code -y
Repository
emdash-cms/emdash14.1k
Category
Git and review
Updated
3d ago
License
MIT
Context cost
Lightabout 973 tokens
Runs scripts
No, instructions only

What it does

Stress-test a code change for concrete correctness defects, unsafe assumptions, and failure modes. Use when the user explicitly asks for an adversarial review, a deep bug hunt, or to tear a change apart, or to check your own change before submitting it. Do not use for ordinary review, style feedback, or general improvement suggestions.

Adversarial code review

Look for defects that survive an ordinary review. Treat the implementation's assumptions as claims to verify, while keeping every finding tied to evidence.

Establish the review boundary

  1. Identify the exact diff, branch, pull request head, or files under review.
  2. Read the surrounding code needed to understand data flow and invariants.
  3. Check repository instructions and the tests that define expected behavior.
  4. Compare the change with its stated purpose. Trace the scenario and configuration from the issue, discussion, or accepted design it addresses through the real code, and treat each claim in the description and changeset as something to verify.
  5. Separate defects introduced by the reviewed change from unrelated observations. Report an out-of-scope issue only when it materially affects the change's safety.

Do not modify code, post a review, or expand the review target unless the user asks.

Hunt for failures

Choose the checks that fit the change instead of mechanically applying every category.

Read the whole SKILL.md on GitHub

More in Git and review