sounder25/foundational-agent-skills/19-adversarial-reviewer
Claude Code and agent skill by sounder25/foundational-agent-skills
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Generates a 'Red Team' critique of recent code or plans to identify weak assumptions and edge cases.
Install
npx vskill@latest install sounder25/foundational-agent-skills/19-adversarial-reviewerSKILL.md
SKILL-019: Adversarial Reviewer
Overview
Forces a context switch from "Builder" to "Attacker". Ideally used before finalizing any critical component (e.g. auth, payments, file I/O). It prepares a structured prompt packet that the agent then uses to critique its own work.
Trigger Phrases
red team thisadversarial reviewfind bugscritique code
Inputs
| Parameter | Type | Required | Default | Description | |
|---|---|---|---|---|---|
--FilePath | string | Yes | - | Path to the file to review | |
--Mode | string | No | Security | Security, Performance, or Logic |
Outputs
1. Structured Prompt (Markdown)
A prompt template pre-filled with the code and specific attack vectors. The Agent must then "simulate" the adversary by responding to this prompt.
Preconditions
- Target file exists.
- PowerShell 5.1+ or Core 7+.
Safety/QA Checks
- Read-Only: Does not modify the code; only reads it.
- Size Limit: If file is massive (>10k lines), warns or truncates to prevent token overflow.
Stop Conditions
| Condition | Action | |
|---|---|---|
| File not found | Return error |
Implementation
See scripts/prepare_review.ps1.
Integration with Other Skills
- Call
prepare_review.ps1. - Agent Step: Read the output text.
- Agent Step: "Thinking" block -> Process the critique.
- Agent Step: Generate list of fixes.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking19_adversarial_reviewer/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/sounder25/foundational-agent-skills/19-adversarial-reviewer)