devil-advocate — community devil-advocate, community, ide skills, Claude Code, Cursor, Windsurf

v1.0.0
GitHub

About this Skill

Ideal for Critical Thinking Agents needing structured risk assessment and decision-making capabilities in technology choices, architectural decisions, and feature prioritization. Apex: Idea-to-Documentation Agent — converts raw ideas into production-ready documentation packs

igorder-dev igorder-dev
[0]
[0]
Updated: 2/20/2026

Agent Capability Analysis

The devil-advocate skill by igorder-dev is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance.

Ideal Agent Persona

Ideal for Critical Thinking Agents needing structured risk assessment and decision-making capabilities in technology choices, architectural decisions, and feature prioritization.

Core Value

Empowers agents to perform thorough devil's advocate analysis using trigger conditions, including technology choices, architectural decisions, and build-vs-buy decisions, while considering non-obvious risks and significant tradeoffs in ADR documentation and automatic document generation.

Capabilities Granted for devil-advocate

Automating risk assessments in ADR documentation
Generating alternative solutions for build-vs-buy decisions
Debugging non-obvious risks in feature prioritization
Validating architectural decisions with thorough analysis

! Prerequisites & Limits

  • Requires explicit trigger conditions
  • Limited to decision-making and risk assessment contexts
  • Needs integration with document generation pipelines
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

devil-advocate

Install devil-advocate, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

SKILL.md
Readonly

Devil's Advocate Analysis (Enhanced)

When performing devil's advocate analysis, follow this structured approach:

Trigger Conditions

Activate this skill when:

  • A technology choice is being made (database, framework, hosting, etc.)
  • An architectural decision is being documented in an ADR
  • A build-vs-buy decision arises
  • The user is confident in an approach that has non-obvious risks
  • Feature prioritization involves significant tradeoffs
  • After every document generation (automatic — scope critique)

Analysis Structure

Level 1: Decision Critique

1. Steel-man the current position

Before attacking, present the BEST case for the current choice. This shows fairness and ensures the critique is against a strong version of the argument.

2. Identify the three biggest risks

For each risk:

  • Probability: How likely is this to happen? (cite evidence)
  • Impact: What happens if it does?
  • Detectability: Will we know before it's too late?
  • Mitigation: Can we reduce the risk while keeping the choice?

3. Name the best alternative

Not a strawman — the genuine best alternative approach. Explain when it would be the right choice.

4. Identify reversibility

  • Easily reversible: Low-cost to change later → proceed with less analysis
  • Costly to reverse: Significant migration → more analysis warranted
  • Irreversible: Permanent commitment → maximum scrutiny required

5. Deliver verdict

Always end with a clear, actionable recommendation. Never leave the user in analysis paralysis.

Level 2: Scope Critique (Run after every document)

Ask these SPECIFIC questions:

  • "What did we FORGET?" — actively search for missing requirements
  • "What breaks when this fails?" — failure mode analysis
  • "What does the user need that they didn't ask for?" — implicit requirements
  • "What would a regulatory auditor / security researcher / angry customer flag?"

Level 3: "First Day on the Job" Test

Imagine a developer reading this doc pack on Day 1:

  • Can they set up the project without asking questions?
  • Do they know which doc to read for which task?
  • Is there a clear path from "I just cloned the repo" to "I deployed my first change"?
  • Are gotchas and non-obvious constraints highlighted?

Minimum Gaps Rule

The devil's advocate MUST identify at least 2 potential gaps or concerns per document. If you genuinely can't find any, state: "No gaps identified — this document is comprehensive." This forces active gap-seeking rather than rubber-stamping.

Tone

  • Respectful but direct
  • Evidence-based, not opinion-based
  • Acknowledge when the current choice IS the best option
  • Never artificially inflate risks to seem thorough
  • Focus on SCOPE gaps (what's missing?) not just DECISION quality (is this the right choice?)

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is devil-advocate?

Ideal for Critical Thinking Agents needing structured risk assessment and decision-making capabilities in technology choices, architectural decisions, and feature prioritization. Apex: Idea-to-Documentation Agent — converts raw ideas into production-ready documentation packs

How do I install devil-advocate?

Run the command: npx killer-skills add igorder-dev/apex/devil-advocate. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for devil-advocate?

Key use cases include: Automating risk assessments in ADR documentation, Generating alternative solutions for build-vs-buy decisions, Debugging non-obvious risks in feature prioritization, Validating architectural decisions with thorough analysis.

Which IDEs are compatible with devil-advocate?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for devil-advocate?

Requires explicit trigger conditions. Limited to decision-making and risk assessment contexts. Needs integration with document generation pipelines.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add igorder-dev/apex/devil-advocate. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use devil-advocate immediately in the current project.

Related Skills

Looking for an alternative to devil-advocate or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

149.6k
0
AI

flags

Logo of vercel
vercel

flags is a Next.js feature management skill that enables developers to efficiently add or modify framework feature flags, streamlining React application development.

138.4k
0
Browser

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI