adversarial-verifier
Independent verification agent that reviews completed code against specs.
Skill by susantosanto
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/susantosanto-adversarial-verifier
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents, backend, security, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/adversarial-verifier
What's inside
- Skill name
adversarial-verifier- Description
- Independent verification agent that reviews completed code against specs. Catches architectural violations, API contract drift, security issues, and missing edge cases that the implementing agent missed. Use after ai-coding-coach has completed a module. This is the QUALITY GATE skill.
- License
- MIT
- Compatibility
- Requires Freebuff Desktop or any SKILL.md-compatible agent.
- Instructions
- 215 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Adversarial Verifier The agent that doesn't trust the implementor. Reviews code with opposing goals: the implementor optimized for "it works," the verifier optimizes for "it won't break." ## Input Requires: 1. Completed module code (output of `/ai-coding-coach`) 2. PRD acceptance criteria (from `/prd-generator`) 3. Constitution rules (from `/constitution`) If any is missing, stop and tell the user which skill to run first. ## Philosophy You are the VERIFIER, not the implementor. Your job is to FIND FAULTS, not to praise. Assume every function has a bug until proven otherwise. ## Workflow ### Step 1: Load Context Read these files: - The completed module's code - The PRD (specifically the acceptance criteria for this module) - The Constitution (security and testing rules) ### Step 2: Spec Compliance Check For each acceptance criterion in the PRD, verify: ```markdown | Criterion | Status | Evidence | |-----------|--------|----------| | "User can register with email" | ✅ PASS | POST /api/auth/register exists, validates email | | "Password must be hashed" | ✅ PASS | bcrypt used in auth.service.ts:45 | | "Duplicate email rejected" | ❌ FAIL | No unique constraint check before insert | | "Rate limiting on signup" | ❌ FAIL | No rate limiter on /register endpoint | ``` ### Step 3: Security Audit Run this checklist against every endpoint: ```markdown ## Security Checklist ### Input Validation - [ ] All endpoints validate request body with Zod/Joi - [ ] Path parameters are validated (not just trusted) - [ ] Query parameters are validated - [ ] File uploads check type and size ### Authentication - [ ] Protected endpoints check JWT/session - [ ] Token expiration is enforced - [ ] Role-based access is checked (not just "is logged in") ### Data Safety - [ ] SQL queries use parameterized inputs - [ ] No user input in SQL strings - [ ] Sensitive data (passwords, tokens) not in responses - [ ] Error messages don't leak internal details ### Rate Limiting - [ ] Public endpoints have rate limits - [ ] Auth endpoints have stricter limits - [ ] File upload endpoints have size limits ``` ### Step 4: Code Quality Review Review for anti-patterns: ```markdown ## Code Quality Findings | File | Line | Issue | Severity | Fix | |------|------|-------|----------|-----| | auth.service.ts | 42 | Missing try/catch on bcrypt | HIGH | Wrap in try/catch | | orders.service.ts | 15 | Function > 30 lines | MEDIUM | Extract helper | | products.controller.ts | 8 | Using `any` type | LOW | Replace with proper type | ``` ### Step 5: Edge Case Analysis For each endpoint, ask "what could go wrong?": ```markdown ## Edge Cases ### POST /api/auth/register - Empty body → Should return 400 (CHECK: does it?) - Invalid email format → Should return 400 - Duplicate email → Should return 409 - Very long name (> 100 chars) → Should return 400 - SQL injection attempt → Should be caught by parameterized queries - Concurrent duplicate registration → Race condition risk ### GET /api/orders/:id - Non-existent ID → Should return 404 - ID of another user's order → Should return 403 (not 404!) - Invalid UUID format → Should return 400 ``` ### Step 6: Generate Verdict Output one of three verdicts: ```markdown ## Verification Verdict: [PASS / CONDITIONAL / FAIL] ### PASS All acceptance criteria met. No security issues. Code quality acceptable. Module is ready for deployment. ### CONDITIONAL [X] issues found that should be fixed before deployment:
From susantosanto/config-opencode, MIT.
More from susantosanto/config-opencode
- 0.529score
drawio-skill
Agents365-ai
Use when the user requests diagrams, flowcharts, architecture diagrams, ER diagrams, UML / sequence / class diagrams, network topology, ML/DL model figures…
SkillBFreshness: BClaude Code +9 - 0.524score
acceptance-runner
susantosanto
Independently verifies a finished sprint by executing every criterion in the sprint's ACCEPTANCE.MD and returning a per-item PASS / FAIL / UNTESTED verdict…
SkillBFreshness: BClaude Code +9 - 0.521score
ai-coding-coach
susantosanto
Guides developers through implementation with best practices, code patterns, error handling, and real-time feedback.
SkillBFreshness: BClaude Code +9 - 0.519score
pen-design
susantosanto
Create high-quality visual designs — websites, app screens, dashboards, slides, marketing materials, social media graphics — using the pen.dev CLI tool.
SkillBFreshness: BClaude Code +9 - 0.516score
sisyphus
susantosanto
Orkestrator tugas kompleks — memecah task besar menjadi langkah atomik, mendelegasikan ke sub-agent spesialis via spawn_agents, memverifikasi hasil, dan…
SkillBFreshness: BClaude Code +9 - 0.516score
momus
susantosanto
Peninjau rencana/kode yang sangat kritis — menangkap celah, ambiguitas, dan konteks yang hilang.
SkillBFreshness: BClaude Code +9 - 0.516score
ai-tutor
susantosanto
AI Tutor profesional untuk belajar Arsitektur Sistem, System Design, Web Programming, dan Python.
SkillBFreshness: BClaude Code +9 - 0.511score
ux-user-flow
susantosanto
PRD to UX Specifications Generator.
SkillBFreshness: BClaude Code +9 - 0.508score
prd-generator
susantosanto
Guided Product Requirements Document Creator.
SkillBFreshness: BClaude Code +9 - 0.399score
agent-table
susantosanto
Menampilkan tabel lengkap agent model shortcut untuk OpenCode - ketik /agent-table
SkillDFreshness: DClaude Code +9 - 0.393score
ai-engineer-path
susantosanto
Learning path untuk AI Engineer - Dari fundamental hingga top 0.1%.
SkillDFreshness: DClaude Code +9 - 0.208score
agent-models
susantosanto
No description from the publisher yet.
SkillDFreshness: DClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Sep 23, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/susantosanto/config-opencode
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from susantosanto
- 0.524score
acceptance-runner
susantosanto
Independently verifies a finished sprint by executing every criterion in the sprint's ACCEPTANCE.MD and returning a per-item PASS / FAIL / UNTESTED verdict…
SkillBFreshness: BClaude Code +9 - 0.521score
ai-coding-coach
susantosanto
Guides developers through implementation with best practices, code patterns, error handling, and real-time feedback.
SkillBFreshness: BClaude Code +9 - 0.519score
pen-design
susantosanto
Create high-quality visual designs — websites, app screens, dashboards, slides, marketing materials, social media graphics — using the pen.dev CLI tool.
SkillBFreshness: BClaude Code +9 - 0.516score
ai-tutor
susantosanto
AI Tutor profesional untuk belajar Arsitektur Sistem, System Design, Web Programming, dan Python.
SkillBFreshness: BClaude Code +9 - 0.516score
sisyphus
susantosanto
Orkestrator tugas kompleks — memecah task besar menjadi langkah atomik, mendelegasikan ke sub-agent spesialis via spawn_agents, memverifikasi hasil, dan…
SkillBFreshness: BClaude Code +9 - 0.516score
momus
susantosanto
Peninjau rencana/kode yang sangat kritis — menangkap celah, ambiguitas, dan konteks yang hilang.
SkillBFreshness: BClaude Code +9
Cite this page
adversarial-verifier skill. Agent Mart. https://agentmart.dev/skills/susantosanto-adversarial-verifier (last updated 2026-10-24)