agentleFS
EdgeCaserEdgeCaser/shipwright/skills/technical/adversarial-review/SKILL.md

adversarial-review

Skill8 starsChanged 8 months agoMITView on GitHub

Stress-tests a Leeward artifact using five attack vectors: evidence integrity, decision courage, scope discipline, specificity, and structural honesty. Produces a Challenge Report with verdict, findings, and resolution conditions.

119 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use rethink, root-cause-analysis and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • fabioespindulaSkill

    rethink

    Reframe a plan, idea, or decision before the user commits to it. Use when the user asks to rethink, step back, pressure-test, gut-check, decide, right-size, simplify, think bigger about, or evaluate a concrete plan or decision in product, strategy, technical architecture, career, life, company direction, or personal priorities. This skill improves decision quality before action: clarify the real question, challenge assumptions, compare alternatives, calibrate ambition, classify the operating mode, surface risks, and recommend a next move. Do not use for broad future exploration without a concrete decision; that belongs to a think-big or research-style skill.

    Also in 3 projects that use this

  • MicrosoftSkill

    root-cause-analysis

    Use when a Regional Retail Manager asks I'm seeing unusual inventory movement at our Northwest stores. Can you help me understand what's happening?

    Also in 3 projects that use this

  • jaydubya818Skill

    babysit

    Use when an authorized pull request needs ongoing CI and review follow-through.

    Also in 3 projects that use this

  • DockerSkill

    fix-issue

    Fix a single GitHub issue end-to-end: triage, research, write the fix, review, and create a PR. Use when asked to fix an issue: "fix issue 1234", "resolve #500", "create a PR for issue 200".

    Also in 3 projects that use this

  • MicrosoftSkill

    error-handling

    统一错误处理系统。在添加 API 端点、修改错误处理、添加前端 API 调用、编写错误相关测试时使用。

    Also in 3 projects that use this

  • juriwiensSkill

    codex-review

    Run code review via Codex CLI

    Also in 3 projects that use this

  • +1 more from microsoft

The file

Show its rules and text

We split this skill into the rules it gives an agent

17 rules. 0 are common, 10 are distinctive, and 7 are very specific to this project.

  • 0

    Common

    Most of the 106 edited versions we read keep these.

  • 10

    Distinctive

    This author's own choices. Worth a look.

  • 7

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read docs/workflow-contract.md once per session before applying this skill.

    line 10
  2. Distinctive:

    After a PRD, strategy doc, design review, or technical handoff passes structural checks

    line 20
  3. Distinctive:

    Before sharing a high-stakes artifact with leadership, engineering, or cross-functional stakeholders

    line 21
  4. Distinctive:

    When the PM wants a separate pass focused on weaknesses rather than polish

    line 22
  5. Distinctive:

    When an artifact feels persuasive but suspiciously comfortable

    line 23
  6. Distinctive:

    When an existing artifact needs pressure-testing without rerunning the full workflow

    line 24
  7. Very specific:

    Before reviewing manually, find the nearest ancestor containing manifest.json.

    line 40
  8. Distinctive:

    Start by naming what is under review and what standard it should be held to.

    line 56
  9. Distinctive:

    If the PM names a specific concern, bias the review toward that concern without skipping the rest of the chosen depth.

    line 68
  10. Distinctive:

    If this artifact were wrong, where would the damage come from?

    line 146
  11. Distinctive:

    CLEAR: No material issues found. Minor issues may exist, but none should block normal use.

    line 171
  12. Very specific:

    If verdict is CLEAR, say why the artifact cleared and what residual risks remain

    line 181
  13. Very specific:

    If verdict is DEFEND, say which findings are worth routing back and why

    line 182
  14. Very specific:

    If verdict is ESCALATE, state the exact decision or assumption that needs PM attention

    line 183
  15. Very specific:

    Insufficient evidence behavior: If the artifact lacks enough context to be reviewed responsibly, produce a partial Challenge Report that …

    line 196
  16. Distinctive:

    When in doubt, downgrade to hypothesis instead of overstating the critique.

    line 203
  17. Very specific:

    When an automated handoff or benchmark explicitly requests structured output, also read docs/structured-artifacts.md and the matching …

    line 207

“Common” is measured: kept by at least 6 in 10 of the 106 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Adversarial Review

Read docs/workflow-contract.md once per session before applying this skill. Resolve it from the nearest ancestor of this file containing manifest.json; all Shipwright paths are relative to that root.

Description

Stress-tests a completed Shipwright artifact from an explicitly adversarial posture. The job is not to rewrite the artifact or prove superiority. The job is to find the places where the artifact may be wrong, weakly supported, too comfortable, too generic, or structurally misleading.

This skill produces a Challenge Report. A good Challenge Report creates useful friction: it names the exact claim being challenged, explains why the claim is vulnerable, and states what would resolve the challenge.

When to Use

  • After a PRD, strategy doc, design review, or technical handoff passes structural checks
  • Before sharing a high-stakes artifact with leadership, engineering, or cross-functional stakeholders
  • When the PM wants a separate pass focused on weaknesses rather than polish
  • When an artifact feels persuasive but suspiciously comfortable
  • When an existing artifact needs pressure-testing without rerunning the full workflow

Depth

ScopeUse WhenSections to Include
LightTime-sensitive review where you only want the highest-signal objectionsContext + condensed Analysis (up to 3 material findings) + Decision Frame + condensed Risks and Open Questions + Action Plan + Unknowns & Evidence Gaps + Pass/Fail Readiness + Recommended Next Artifact
StandardTypical adversarial review of a completed artifactAll sections with a full 5-vector sweep
DeepHigh-stakes artifact where the PM wants maximum rigor before deliveryAll sections + falsification criteria for each major challenged claim + "what evidence would change my mind" notes

Omit rules: At Light depth, do not attempt full coverage. Surface only the strongest findings, up to 3, across all vectors, but still include the required closing signature elements. At Deep depth, do not rewrite the artifact or produce a replacement strategy; remain in review mode.

Framework

Pre-Check: Run the Deterministic Validator

Before reviewing manually, find the nearest ancestor containing manifest.json. If the artifact is available as a file, run the postflight validator by its absolute installed path:

node "<absolute-shipwright-root>/scripts/validate-artifact.mjs" path/to/artifact.md

The validator flags unsupported dollar figures and numeric claims without nearby citation markers, and checks for missing expected sections. Treat flags as review candidates. Verify each flag against the actual claim before including it; map it to the appropriate attack vector. If the validator finds no issues, note that and proceed. This step is optional but saves review time on high-volume citation work.

The review itself can assess a valid draft that is not ready for engineering. When this report is used for an engineering handoff, pass the report's file path to the handoff validator's --related option and let that boundary use --require-ready; do not treat an unready draft as malformed or force it to PASS.

Step 1: Define the Review Scope

Start by naming what is under review and what standard it should be held to.

## Context

- **Artifact under review:** [PRD / Strategy / Design Review / Tech Handoff / Other]
- **Authoring context:** [workflow, agent, or PM-supplied context]
- **Depth:** [Light / Standard / Deep]
- **Intended audience:** [engineering / leadership / product team / cross-functional]
- **Review goal:** [what the PM most wants pressure-tested]

If the PM names a specific concern, bias the review toward that concern without skipping the rest of the chosen depth.

Step 2: Run the Five Attack Vectors

Evaluate the artifact through these vectors:

1. Evidence Integrity

Probe:

  • unsourced claims presented as truth
  • invented customer evidence
  • assumptions blended with facts
  • selective use of weak evidence to support strong claims

Questions:

  • Which claims cannot be traced to evidence in the artifact or provided inputs?
  • Where does the artifact overstate certainty relative to the evidence quality?
  • Which claims should be hypotheses instead of findings?

2. Decision Courage

Probe:

  • hedging that avoids commitment
  • recommendations that cannot be falsified
  • options presented without a real decision
  • risk language that softens the actual downside

Questions:

  • What is the actual decision, and is the artifact willing to make it?
  • Under what conditions would this recommendation be judged wrong?
  • Where is the artifact optimizing for sounding balanced instead of being useful?

3. Scope Discipline

Probe:

  • helpful scope creep
  • framework bloat
  • extra work smuggled in as obvious
  • analysis weight that exceeds the decision size

Questions:

  • What appears in the artifact that is not traceable to the stated scope?
  • Where does the artifact add surface area instead of clarifying the decision?
  • Is the framework serving the problem, or is the problem being stretched to fit the framework?

4. Specificity

Probe:

  • generic wording
  • symmetrical analysis that feels templated
  • interchangeable recommendations
  • placeholders disguised as finished thinking

Questions:

  • Would this artifact still read the same if the product were different?
  • Where are the conclusions suspiciously balanced or boilerplate?
  • Which sections sound polished but say little?

5. Structural Honesty

Probe:

  • buried critical information
  • positivity smoothing
  • blockers reframed as "considerations"
  • comfortable conclusions that ignore tension

Questions:

  • What bad news is being softened or hidden?
  • If this artifact were wrong, where would the damage come from?
  • Does the structure help the reader see the real risk, or does it hide it?

Step 3: Convert Objections Into Findings

Each finding must be specific enough that the author could respond to it directly.

Use this structure:

| Finding ID | Claim Challenged | Attack Vector | Severity | Why This Is Vulnerable | Question To Answer | What Would Resolve It |
|---|---|---|---|---|---|---|
| [stable report-specific ID] | [specific claim] | [vector] | [Critical / Moderate / Minor] | [evidence-backed critique] | [one precise question] | [specific evidence or revision needed] |

Severity rules:

  • Critical: The artifact's core recommendation may be wrong, not just undersupported
  • Moderate: The recommendation may still be right, but important support, boundaries, or tension are missing
  • Minor: The issue weakens clarity or confidence but is unlikely to reverse the core decision

Step 4: Set the Verdict

Use these verdicts:

  • CLEAR: No material issues found. Minor issues may exist, but none should block normal use.
  • DEFEND: The PM should decide whether to send findings back to the producing agent before treating the artifact as settled.
  • ESCALATE: A Critical integrity issue puts the artifact's core recommendation in doubt and PM attention is required.

DEFEND requests a disposition of material findings. It is not an automatic workflow state and does not automatically reopen the authoring agent.

Step 5: Close With Resolution Guidance

The review should end by making next actions obvious.

  • If verdict is CLEAR, say why the artifact cleared and what residual risks remain
  • If verdict is DEFEND, say which findings are worth routing back and why
  • If verdict is ESCALATE, state the exact decision or assumption that needs PM attention

For Deep reviews, add:

  • falsification criteria for each major challenged claim
  • "what evidence would change my mind" for each Critical finding

Minimum Evidence Bar

Required inputs: The artifact under review. If the artifact depends on evidence outside itself, include that source evidence when available.

Acceptable evidence: The artifact text, linked or pasted source materials, cited metrics, PM-supplied context, and upstream Shipwright artifacts.

Insufficient evidence behavior: If the artifact lacks enough context to be reviewed responsibly, produce a partial Challenge Report that says Insufficient evidence to assess and list the exact missing inputs needed. Do not fill the gaps with invented counter-evidence.

Hypotheses vs. findings:

  • Finding: A critique grounded in the artifact's own claims, omissions, or structure
  • Hypothesis: A possible weakness that cannot yet be confirmed because the necessary evidence is missing

When in doubt, downgrade to hypothesis instead of overstating the critique.

Output Format

When an automated handoff or benchmark explicitly requests structured output, also read docs/structured-artifacts.md and the matching schema from the Shipwright installation root. Append the validated envelope and keep it consistent with the visible artifact. Ordinary chat output needs no JSON duplicate.

Produce a Challenge Report containing:

  1. ## Context
    • artifact under review
    • depth
    • audience
    • review goal
  2. ## Analysis
    • verdict
    • findings table
    • optional "No material issues found" note if verdict is CLEAR
  3. ## Decision Frame
    • recommendation about whether the artifact should proceed, defend, or escalate
    • trade-off of acting now vs. revising
    • confidence and rationale
    • owner
    • decision date
    • revisit trigger
  4. ## Risks and Open Questions
    • unresolved vulnerabilities in the artifact under review
    • open questions the author or PM still needs to answer
    • risks created if the artifact is used without revision
  5. ## Action Plan
    • concrete next steps
    • which findings to route back, if any

In v1, the Challenge Report is conversation-native unless the PM explicitly asks to save it to disk.

Then close with the remaining Shipwright Signature elements:

  1. Unknowns & Evidence Gaps, Missing context, missing source evidence, or reviewer limitations that reduced confidence in the review itself
  2. Pass/Fail Readiness, PASS if findings are evidence-backed, severity is calibrated, and each finding includes a resolution condition; FAIL if critique is generic, theatrical, or unsupported
  3. Recommended Next Artifact, Which Shipwright skill or agent should engage next and why

For machine handoffs, serialize minor for Minor severity and record all author responses by finding ID. Use INSUFFICIENT_EVIDENCE with FAIL for an incomplete review. A Critical finding requires ESCALATE.

Common Mistakes to Avoid

  • Treating preference disagreement as a flaw
  • Flagging every omission as scope failure
  • Demanding evidence that the producing artifact was never meant to include
  • Mistaking "different conclusion than I would choose" for invalid reasoning
  • Rewriting the artifact instead of reviewing it
  • Producing many weak nitpicks instead of a few high-signal findings
  • Forgetting that the reviewer shares the producing model's blind spots

Weak vs. Strong Output

Weak

This feels generic and maybe too vague. I would add more evidence and make the recommendation stronger.

Why weak: no specific claim challenged, no severity, no resolution condition.

Strong

The recommendation says enterprise expansion is the priority, but the artifact cites only broad market demand and no enterprise-specific customer evidence. Attack vector: Evidence Integrity. Severity: Moderate. Resolve by citing enterprise-specific signals or downgrading the enterprise thesis to a hypothesis.

Why strong: the finding names the vulnerable claim, explains why it is weak, calibrates severity, and says what would resolve it.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.