/crucible:adversarial-testerfrom crucible
Generates up to 5 adversarial tests targeting edge cases and failure modes in a single implementation after reading its diff.
Ships in crucible. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Read completed implementation and write up to 5 tests designed to make it break. Targets edge cases, boundary conditions, and failure modes the implementer didn't anticipate.
Announce at start: "I'm using the adversarial-tester skill to find weaknesses in this implementation."
Skill type: Rigid -- follow exactly, no shortcuts.
Model: Opus (adversarial reasoning about failure modes requires creative analytical thinking)
All subagent dispatches use disk-mediated dispatch. See shared/dispatch-convention.md for the full protocol.
| Agent | Question | Output | Scope |
|---|---|---|---|
| Red-team | "What's wrong with this artifact?" | Written findings (Fatal/Significant/Minor) | Attacks designs, plans, code quality |
| Test Gap Writer | "What known gaps need filling?" | Executable tests (expected to PASS) | Fills reviewer-identified holes |
| Adversarial Tester | "What runtime behavior will break?" | Executable tests (may PASS or FAIL) | Finds unknown weaknesses in behavior |
Read the full diff of the implementation changes. Identify:
Brainstorm 8-10 ways the implementation could break at runtime. Think like an attacker:
Rank each candidate by:
Select the top 5. If fewer than 5 candidates are meaningful, write fewer -- don't pad with trivial tests.
For each selected failure mode, write one focused test that:
Run each test and record the result:
Output the ADVERSARIAL TEST REPORT (see Report Format below).
## ADVERSARIAL TEST REPORT
### Summary
- Failure modes identified: N
- Tests written: N
- Tests PASSING (implementation robust): N
- Tests FAILING (weaknesses found): N
- Tests ERROR (discarded): N
### Failure Mode 1: [Title]
- **Attack vector:** [how this breaks]
- **Likelihood:** High/Medium/Low
- **Impact:** High/Medium/Low
- **Test:** `TestClassName.TestMethodName`
- **Result:** PASS/FAIL
- **If FAIL -- fix guidance:** [what the implementer should change]
[repeat for each failure mode]
Must NOT do:
When used standalone, after running the tests:
When used within the build pipeline, the orchestrator handles outcome routing (see build skill Phase 3).
The orchestrator (not this skill) decides whether to skip. When used standalone, use your judgment:
When dispatched by the build pipeline:
Fix loop mechanics:
Orchestrator skip conditions:
.md, .json, .yaml, .uss, .uxml)This skill produces adversarial tests. When used standalone, the tests themselves are the quality mechanism -- no additional quality gate needed. When used within the build pipeline, the orchestrator handles outcome routing.
crucible:build (Phase 3, after test gap writer)crucible:test-driven-development patterns for test writingcrucible:temper (lightweight review if fix touches 3+ files)break-it-prompt.md (for subagent dispatch)What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (raddue/crucible) — no native marketplace selected
npx claudepluginhub p/raddue-crucible51 skills in this plugin
/adrWrite, supersede, and maintain Architecture Decision Records (docs/decisions/) for technical choices that had real, seriously-considered alternatives and would be costly to reverse. Use on "write an ADR", "record this decision", or when recording a choice that a design or PR already settled. Matches the target repo's existing ADR convention before imposing one, and declines with a reason when a decision does not meet the bar — not for routine design docs, implementation plans, session handoffs, the pre-push/merge wrap-up itself (that belongs to `finish` / `merge-pr`), or answering "why did we choose X" from an ADR that already exists (that's a read, owned by `recall` / `recon`)./assayRecon-informed approach evaluator. Weighs competing options against codebase constraints and returns structured recommendations with confidence scoring, kill criteria, and evidence grounding. Consumes recon briefs or caller context. Used by design, spec, migrate. Triggers on /assay, 'evaluate approaches', 'which option', 'compare alternatives'./auditOther plugins' skills for the same job