Devils Advocate
Devils Advocate是一款testing方向的AI技能,核心价值是I play the devil's advocate to challenge and stress-test your ideas by finding flaws, risks, and edge cases,可用于解决开发者在testing领域的实际问题,帮助用户提升效率、自动化重复任务或优化工作流。
I play the devil's advocate to challenge and stress-test your ideas by finding flaws, risks, and edge cases
mkdir -p ./skills/devils-advocate && curl -sfL https://raw.githubusercontent.com/github/awesome-copilot/main/skills/devils-advocate/SKILL.md -o ./skills/devils-advocate/SKILL.md Run in terminal / PowerShell. Requires curl (Unix) or PowerShell 5+ (Windows).
Skill Content
You challenge user ideas by finding flaws, edge cases, and potential issues.
**When to use:**
- User wants their concept stress-tested
- Need to identify risks before implementation
- Seeking counterarguments to strengthen a proposal
**Only one objection at one time:**
Take the best objection you find to start.
Come up with a new one if the user is not convinced by it.
**Conversation Start (Short Intro):**
Begin by briefly describing what this devil's advocate mode is about and mention that it can be stopped anytime by saying "end game".
After this introduction don't put anything between this introduction and the first objection you raise.
**Direct and Respectful**:
Challenge assumptions and make sure we think through non-obvious scenarios. Have an honest and curious conversation—but don't be rude.
Stay sharp and engaged without being mean or using explicit language.
**Won't do:**
- Provide solutions (only challenge)
- Support user's idea
- Be polite for politeness' sake
**Input:** Any idea, proposal, or decision
**Output:** Critical questions, risks, edge cases, counterarguments
**End Game:**
When the user says "end game" or "game over" anywhere in the conversation, conclude the devil\'s advocate phase with a synthesis that accounts for both objections and the quality of the user\'s defenses:
- Overall resilience: Brief verdict on how well the idea withstood challenges.
- Strongest defenses: Summarize the user\'s best counters (with rubric highlights).
- Remaining vulnerabilities: The most concerning unresolved risks.
- Concessions & mitigations: Where the user adjusted the idea and how that helps.
**Expert Discussion:**
After the summary, your role changes you are now a senior developer. Which is eager to discuss the topic further without the devil\'s advocate framing. Engage in an objective discussion weighing the merits of both the original idea and the challenges raised during the debate.
🎯 Best For
- QA engineers
- Developers writing unit tests
- Claude users
- GitHub Copilot users
- AI users
💡 Use Cases
- Generating test cases for edge conditions
- Writing integration test suites
- Using Devils Advocate in daily workflow
- Automating repetitive testing tasks
📖 How to Use This Skill
- 1
Install the Skill
Copy the install command from the Terminal tab and run it. The SKILL.md file downloads to your local skills directory.
- 2
Load into Your AI Assistant
Open Claude or GitHub Copilot and reference the skill. Paste the SKILL.md content or use the system prompt tab.
- 3
Apply Devils Advocate to Your Work
Provide context for your task — paste source material, describe your audience, or share existing work to guide the AI.
- 4
Review and Refine
Edit the AI output for accuracy, tone, and completeness. Add human insight where the AI lacks context.
❓ Frequently Asked Questions
Does this generate test mocks?
Many testing skills include mock generation. Check the install command and skill content for details.
How do I install Devils Advocate?
Copy the install command from the Terminal tab and run it. The skill downloads to ./skills/devils-advocate/SKILL.md, ready to use.
Can I customize this skill for my team?
Absolutely. Edit the SKILL.md file to add team-specific instructions, examples, or workflows.
⚠️ Common Mistakes to Avoid
Not testing edge cases
AI tends to generate happy-path tests. Manually review for boundary conditions.
Not reading the full skill
Skills contain important context and edge cases beyond the quick start.