ai-specs/skills/adversarial-review/SKILL.md
Use when the user requests an adversarial review, red-team review, devil's advocate check, or independent verification pass before archiving an OpenSpec change.
npx skillsauth add lidr-academy/ai4devs-lti-extended adversarial-reviewInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Act as an independent adversarial reviewer: assume gaps, flaws, or unsafe behavior may exist until you have argued against them with evidence.
This skill is intended for the verification window of spec-driven development (after implementation, before archiving), when the human runs a different agent or session than the one that implemented the change.
Do not prescribe which agent, model, or IDE to use. That is the human's choice.
show-spec-working):
SCRUM-10)https://github.com/org/repo/pull/42 or owner/repo#42)Resolve scope in this order: explicit ticket or change name → PR when given → current active work.
Borrowed from common red-team / adversarial practice:
tasks.md).git diff against the merge base or the branch associated with the change, per project convention.For each acceptance criterion or scenario:
Classify each finding:
For each finding, state whether the fix belongs in code, tests, OpenSpec artifacts (scenarios, specs, tasks), or documentation.
End with a clear verdict:
Use this structure in chat:
## Adversarial review
**Scope**: <ticket / change / PR>
**Sources**: <list spec paths + PR or diff reference>
### Spec and task alignment
- ...
### Findings
| Severity | Area | Finding | Evidence | Suggested fix (code / spec / tests) |
|----------|------|---------|----------|--------------------------------------|
| Blocker / Major / Minor | | | | |
### Verdict
PASS | PASS WITH GAPS | FAIL
### Recommended next steps (before archive)
- ...
Always end with the verdict and whether archiving is advisable in the current state.
development
Use when performing a cybersecurity audit, security review, OWASP Top 10 compliance check, vulnerability assessment, or preparing for a penetration test on a Node.js/Express/React application.
data-ai
Sync delta specs from a change to main specs. Use when the user wants to update main specs with changes from a delta spec, without archiving the change.
tools
Use when the user asks "show me X", "demo X", "walk me through X", "how X works" or requests a live feature demonstration from a spec, feature or ticket.
testing
Use when creating new skills, editing existing skills, or verifying skills work before deployment