adversary

Apply artifact-specific attack lenses to identify omissions and logic flaws.

4|Updated Jul 20, 2026
One-click install
npx skills add https://github.com/highflame-ai/ai-factory --skill adversary-highflame-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: adversary
Source: https://github.com/highflame-ai/ai-factory/tree/main/skills/adversary
Command: npx skills add https://github.com/highflame-ai/ai-factory --skill adversary-highflame-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gh.

What problem does it solve?

This skill addresses the blind spots in standard code reviews by assuming artifacts are broken or incomplete, forcing a rigorous search for omissions and failure modes that traditional review processes often miss.

Core Features & Use Cases

  • Adversarial Review: Systematically attempts to break specs, plans, PRs, and prose claims by applying targeted attack lenses.
  • Mandatory Self-Refutation: Ensures high-quality findings by requiring the agent to attempt to refute its own concerns before reporting them.
  • Use Case: Use this when you have a critical architecture document or a complex PR and need a skeptical, red-team perspective to identify hidden coupling, unhandled edge cases, or missing requirements.

Quick Start

Invoke the adversary skill by providing the identifier of the artifact you wish to attack, such as a PR number or a specific requirement ID.

Frequently Asked Questions about adversary

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I perform adversarial red-teaming on a pull request to find logic flaws?

Adversarial red-teaming on a pull request systematically applies targeted attack lenses to identify hidden coupling, unhandled edge cases, and logic flaws. You can execute this skeptical review by providing a GitHub PR number as the artifact identifier.

What is mandatory self-refutation in code review?

Mandatory self-refutation in code review requires the reviewer to attempt to refute their own candidate findings before reporting them. This protocol ensures high-quality findings by filtering out false positives during adversarial artifact analysis.

Can I use adversarial review on architecture plans and specifications?

Adversarial review can be used on architecture plans and specifications to systematically attempt to break them. It forces a rigorous search for omissions and failure modes that traditional review processes often miss.

Do I need the gh CLI to review GitHub pull requests with an adversarial approach?

You need the gh CLI to resolve targets via GitHub PR numbers when performing an adversarial review. The skill depends on gh to fetch the pull request artifacts and execute the skeptical-by-default analysis.

How do I identify missing requirements in a software specification?

To identify missing requirements in a software specification, apply artifact-specific attack lenses using an adversarial review approach. This forces a rigorous search for omissions and failure modes by assuming the specification is broken or incomplete.

What are the limitations of standard code reviews compared to adversarial artifact review?

Standard code reviews have blind spots and often miss omissions and failure modes. Adversarial artifact review overcomes this by assuming artifacts are broken or incomplete, forcing a rigorous search for hidden coupling and missing requirements.