agentleFS
cofincofin/flow/skills/devils-advocate/SKILL.md

devils-advocate

Skill17 starsChanged 2 months agoApache-2.0View on GitHub

Use when stress-testing a PR, design, plan, or assumption for overlooked failure modes before a decision or release.

30 other projects use a version of this.

Adopted by

Most recently taken up by

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.
  • luischanciSkill

    validate-bib

    Validate bibliography entries against citations in all manuscript files. Find missing entries and unused references.

    Also in 4 projects that use this

  • luischanciSkill

    review-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

  • shanggqmSkill

    data-analysis

    数据分析技能,提供结构化的数据查询、统计分析和报告生成工作流。当用户需要查询数据库、进行数据统计分析、生成分析报告时使用。按规范输出原始数据、计算结果、Markdown报告和HTML可视化报告。

    Also in 3 projects that use this

  • genomewalkerSkill

    checkpoint

    Save a checkpoint of task status, decisions, active files, and next steps

    Also in 3 projects that use this

  • VercelSkill

    deploy

    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

  • SentrySkill

    commit

    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

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 25 edited versions we read keep these.

  • 1

    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
  1. Distinctive:

    Follow the persona boundaries.

    line 26

“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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Devil's Advocate

Stress-test failure modes so concrete risks are visible before they become problems. Use directly or as an adversarial review subagent.

<workflow>

Workflow

  1. Load the adversarial persona and failure-mode checklist below.
  2. Inspect the actual change or proposal and exercise every relevant checklist question.
  3. Report calibrated findings and acknowledge verified strengths.
</workflow><guardrails>

Guardrails

Follow the persona boundaries. Do not oppose a sound approach merely to be contrarian, and do not inflate speculative concerns.

</guardrails>

Output

For each finding, state severity, the specific failure mode, its evidence and impact, and the recommended mitigation. A substantiated clean bill of health is valid output.

<validation>

Validation

Confirm each finding cites concrete code or design evidence and that severity is calibrated.

</validation><example>

Example

Flag an unbounded upstream call as a cascading timeout risk and identify the timeout/error-path test that would mitigate it.

</example>

References

  • Persona — adversarial role, tone, focus, and boundaries.
  • Failure-mode checklist — stress-test questions.
  • Critic stance — underlying critical view.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.