devils-advocate
Skill0 starsChanged 2 months agoMITView on GitHub
Argue the other side of a file, folder, branch, PR, plan or review so the human hears a second voice before committing. Challenges over-engineering, duplication, invented patterns, wrong premises and hidden risk. Use for complicated or high-stakes changes, before merging or approving a PR, when a review feels like a rubber stamp, or when the user asks to "challenge", "poke holes", "play devil's advocate", or "are we over-engineering this".
30 other projects use a version of this.
Adopted by
Most recently taken up by
- t0ddharris/compound-marketingtheir own version, first seen Oct 5, 2026
- gilsmt/skillstheir own version, first seen Oct 4, 2026
- jonhill90/skillstheir own version, first seen Sep 30, 2026
- pedrohcgs/claude-code-my-workflowtheir own version, first seen Sep 27, 2026
- cofin/flowtheir own version, first seen Sep 26, 2026
- OneWave-AI/claude-skillstheir own version, first seen Sep 21, 2026
Used with
Projects with it also use validate-bib, review-r and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
luischanciSkillvalidate-bib
Validate bibliography entries against citations in all manuscript files. Find missing entries and unused references.
Also in 4 projects that use this
luischanciSkillreview-r
Run the R code review protocol on R scripts. Checks code quality, reproducibility, domain correctness, and professional standards. Produces a report without editing files.
Also in 3 projects that use this
shanggqmSkilldata-analysis
数据分析技能,提供结构化的数据查询、统计分析和报告生成工作流。当用户需要查询数据库、进行数据统计分析、生成分析报告时使用。按规范输出原始数据、计算结果、Markdown报告和HTML可视化报告。
Also in 3 projects that use this
genomewalkerSkillcheckpoint
Save a checkpoint of task status, decisions, active files, and next steps
Also in 3 projects that use this
VercelSkilldeploy
Deploy applications to Vercel. Use when the user says "deploy", "deploy to Vercel", "push to production", "deploy my app", or "go live".
Also in 3 projects that use this
SentrySkillcommit
Create commit messages following Sentry conventions. Use when committing code changes, writing commit messages, or formatting git history. Follows conventional commits with Sentry-specific issue references.
Also in 4 projects that use this
- +5 more from luischanci
Other versions30 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 30
- pedrohcgs/claude-code-my-workflow★ 1.6ksame name
- OneWave-AI/claude-skills★ 321same name
- Cold-IQ/ColdIQ-s-GTM-Skills★ 293same name
- maxwell2732/paper-replicate-agent-demo★ 136same name
- maxwell2732/my-submission-formatting-agent★ 111same name
- notmanas/claude-code-skills★ 94same name
- jpcaparas/skills★ 54same name
- gsarig/skills★ 27same name
- codebygarv/Ai-skills★ 26same name
- dungnotnull/hybrid-harness-chaos-process-prm★ 19same name
20 more not listed
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 repository5 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- chaos-stormSkill
- guiding-handSkill
- signal-noiseSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 25 edited versions we read keep these.
2
Distinctive
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 19
Write down, in one paragraph, what the author or reviewer believes: what it does, why this way, and why it is safe.
- Distinctive: line 27
No subagents available: switch stance yourself and follow advocate.md, answering its questions from the code, not from your earlier …
“Common” is measured: kept by at least 6 in 10 of the 25 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Devil's Advocate
Your job is to be the credible opposing voice, not a contrarian. Every challenge carries evidence and the strongest case for the other side, so the human can act on it or dismiss it quickly.
DA = node <this skill's directory>/scripts/devils-advocate.mjs. Run from the repo root.
1. Target
- File, folder, branch, PR (
#123, needsgh) or range (main..feature): runDA target <target>(add--base <ref>if not main). It prints a short evidence brief: size, commits, abstraction density, new dirs and deps, anddup?hints of similar existing code. - Commentary in context (a plan, another agent's review, a PR discussion): no script; the commentary is the target. Use slug
commentary-<topic>.
2. Current position
Write down, in one paragraph, what the author or reviewer believes: what it does, why this way, and why it is safe. Take it from the PR description, commits, code comments or the conversation. This is what gets challenged.
3. Summon the other voice
The challenger must not inherit your reasoning. Spawn a fresh subagent on a strong model (Claude Code: model: "opus", or "sonnet" if cost matters; Codex: gpt-6-sol, high effort) with only:
Read
<this skill's directory>/advocate.mdand follow it. Target:<target>. Brief:.devils-advocate/<slug>/brief.json(if any). Current position:<paragraph>. Write.devils-advocate/<slug>/challenge.json.
No subagents available: switch stance yourself and follow advocate.md, answering its questions from the code, not from your earlier conclusions.
4. Render
DA render <slug> validates the challenge and writes report.md. On error: lines, send them back to the challenger to fix.
5. Hand to the human
Relay the verdict (proceed, adjust, rethink) and the top challenges, one line each, with the question each asks. Point to report.md. Do not rebut the challenges yourself; the human decides. If they ask, post it to the PR with gh pr comment <n> --body-file .devils-advocate/<slug>/report.md.
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.

