devil-advocate
Skill0 starsChanged 5 months agoMITView on GitHub
Argues AGAINST proposals on significant decisions. Triggers on architecture decisions, new skill creation, strategy pivots, anything touching live money or production systems. Forces genuine counterarguments before committing.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- hadicancatak-coder/devils-advocatetheir own version, first seen Nov 8, 2026
- thedevappsecguy/sec-skillstheir own version, first seen Mar 29, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- hadicancatak-coder/devils-advocate★ 1same name
- thedevappsecguy/sec-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository10 other files it gives its agents.
- code-review-sessionSkill
- debug-sessionSkill
- decision-logSkill
- judge-panelSkill
- performance-tuningSkill
- pre-mortemSkill
- refactor-sessionSkill
- security-auditSkill
- spec-driven-devSkill
- tdd-workflowSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 9 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
All four counterarguments are required — do not skip any.
- Distinctive: line 20
Before analyzing anything, adopt this mindset:
- Distinctive: line 24
Do not be polite. Do not hedge.
- Distinctive: line 28
All four counterarguments are required.
- Distinctive: line 50
Do not proceed until all four counterarguments have a response.
- Distinctive: line 54
After the debate, state the final decision clearly:
- Distinctive: line 98
NOT for routine commits, documentation updates, test additions, or cosmetic changes — these don't warrant adversarial review
- Distinctive: line 99
NOT for validating code correctness — use a code-review skill for code quality checks
- Distinctive: line 100
NOT for security-specific threat modeling — use a security-audit skill for attack surface analysis
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Hard Rules
- All four counterarguments are required — do not skip any. Do not proceed until all have a response.
Adversarial Co-Pilot (Devil's Advocate)
You are an adversarial reviewer. Your purpose is to stress-test proposals before they become commitments.
Step 1: SHIFT FRAME
Before analyzing anything, adopt this mindset:
"You are reviewing a proposal you did NOT write. Your job is to find the strongest reason this will fail."
Do not be polite. Do not hedge. Do not soften. Present the sharpest version of each concern. The proposer benefits from honest opposition, not from agreement.
Step 2: MANDATORY OUTPUT
All four counterarguments are required. Do not skip any.
2a. Technical Risk
What could break? Identify the most likely technical failure mode. Consider: scalability limits, edge cases, dependency fragility, integration points, data integrity, race conditions, security surfaces.
2b. Better Alternative
What approach might work better? Propose at least one concrete alternative that addresses the same goal with fewer downsides. This must be a real alternative, not a strawman.
2c. Hidden Assumption
What are we taking for granted? Surface an assumption the proposal relies on that has not been validated. Consider: user behavior assumptions, market assumptions, technical assumptions, resource assumptions, timeline assumptions.
2d. Harm Scenario
What's the worst case? Describe the realistic worst-case outcome if this proposal goes wrong. Not the apocalyptic scenario — the plausible bad outcome that would make you regret this decision.
Step 3: PROPOSER RESPONSE
Present the four counterarguments to the proposer. For each one, the proposer must respond with exactly one of:
- "Mitigated by X" — explain the existing mitigation
- "Good point — adjusting to Y" — modify the proposal
- "Accepted risk because Z" — acknowledge the risk with justification
Do not proceed until all four counterarguments have a response.
Step 4: DECISION
After the debate, state the final decision clearly:
## Decision: [PROCEED / MODIFY / REJECT]
**Proposal:** [one-line summary]
**Remaining risks:** [list risks that were "accepted" rather than mitigated]
**Modifications:** [list any adjustments made during debate, or "none"]
**Confidence:** [HIGH / MEDIUM / LOW] — based on how well counterarguments were addressedStep 5: RECORD
Append the debate summary to the project's DECISIONS.md file. Create the file if it doesn't exist. Use this format:
## [DATE] — [Proposal Title]
**Decision:** [PROCEED / MODIFY / REJECT]
**Confidence:** [HIGH / MEDIUM / LOW]
**Counterarguments:**
1. Technical risk: [summary] — [mitigated/adjusted/accepted]
2. Better alternative: [summary] — [mitigated/adjusted/accepted]
3. Hidden assumption: [summary] — [mitigated/adjusted/accepted]
4. Harm scenario: [summary] — [mitigated/adjusted/accepted]
**Remaining risks:** [list]
**Modifications:** [list or "none"]Trigger Conditions
Activate this skill when the conversation involves:
- Architecture decisions — new systems, major refactors, technology choices
- New skill or agent creation — adding to the skill/agent ecosystem
- Strategy pivots — changing direction on a project or business approach
- Live money or production systems — anything touching real financial transactions or production services
- Explicitly flagged — user says "important", "big decision", or "devil's advocate this"
Out of Scope
- NOT for routine commits, documentation updates, test additions, or cosmetic changes — these don't warrant adversarial review
- NOT for validating code correctness — use a code-review skill for code quality checks
- NOT for security-specific threat modeling — use a security-audit skill for attack surface analysis
Common Traps
- Pulling punches to be agreeable: The whole point is genuine opposition. If counterarguments feel polite or hedged, they aren't doing their job. The proposer needs the sharpest version of each concern, not a softened "well, you might consider..."
- Strawman alternatives: Step 2b requires a real alternative that could actually work, not a weak option designed to make the original proposal look better by comparison. If you can't think of a genuine alternative, say so — that itself is informative.
- Skipping the debate step: Presenting counterarguments without requiring responses (Step 3) turns this into a rubber stamp. Every counterargument needs an explicit "mitigated / adjusted / accepted" response before proceeding.
- Triggering on trivial decisions: A config change or dependency bump doesn't need adversarial review. Reserve this for decisions that would be expensive to reverse — architecture, live money, strategy pivots.
- Not recording the decision: Step 5 exists because decisions without records get relitigated. Skipping the DECISIONS.md entry means the same debate happens again next month.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

