rune-adversary

Challenges implementation plans across edge cases, security, scalability, error propagation, and integration risks.

1|Updated Mar 22, 2026
One-click install
npx skills add https://github.com/dangvu008/VietTruyen --skill rune-adversary-dangvu008
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rune-adversary
Source: https://github.com/dangvu008/VietTruyen/tree/main/.agents/skills/rune-adversary
Command: npx skills add https://github.com/dangvu008/VietTruyen --skill rune-adversary-dangvu008

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Flaws discovered after code is written cost hours to fix, while the same flaws caught at plan time cost minutes. This Skill performs pre-implementation red-team analysis on approved plans, finding weaknesses before any code exists. ## Core Features & Use Cases - Five-Dimension Plan Stress Test: Challenges plans across edge cases, security attack vectors, scalability bottlenecks, error propagation, and integration conflicts, with every finding tied to a specific plan section or file. - Structured Verdicts: Issues REVISE, HARDEN, or PROCEED verdicts with severity-ranked findings (CRITICAL/HIGH/MEDIUM) and concrete remediations that feed back into planning or implementation phases. - Oracle Mode: Dispatches a stateless second-model diagnosis when debug or fix workflows get stuck in confirmation-bias loops, using a strictly validated context bundle format. - Use Case: After a plan for a new payment API is approved, run this Skill to surface missing auth validation, N+1 query risks, and irreversible migration gaps before the team writes a single line of code. ## Quick Start Ask the agent to red-team the approved plan in .rune/features/checkout/plan.md and report findings by severity with a verdict.

Frequently Asked Questions about rune-adversary

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

FAQPage Schema
How do I red-team a software plan before writing code?

Run the adversary analysis on the approved plan document. It challenges the plan across five dimensions — edge cases, security, scalability, error propagation, and integration — and returns severity-ranked findings with a REVISE, HARDEN, or PROCEED verdict.

What is pre-implementation adversarial analysis?

It is a structured review that attacks a plan's assumptions before any code exists, unlike code review which operates after implementation. Each finding must reference a specific plan section or file and include a concrete attack scenario and remediation.

When should I use plan red-teaming versus code review?

Use plan red-teaming after a plan is approved but before implementation begins, especially for high-risk or critical-path features. Code review, preflight, and security scans operate on existing code and catch a different class of issues later in the pipeline.

Can adversary analysis handle security-sensitive plans?

Yes. Plans involving auth, crypto, or payment logic trigger a security-focused mode covering only security and integration dimensions, and identified attack vectors are escalated to a dedicated sentinel skill for deep validation before being reported as CRITICAL.

What are the limitations of adversary plan analysis?

It is read-only and never modifies plans or writes code. It requires an existing plan document to run, caps output at 3 CRITICAL and 5 HIGH findings to avoid analysis paralysis, and skips integration checks when codebase access is unavailable.

Why does the oracle mode reject second-model responses?

Oracle replies are rejected when all claims lack file:line citations, when cited files were not in the dispatched bundle, or when the bundle exceeds the 100k token cap. Rejection emits an oracle.failed signal and the primary agent continues without the second opinion.