skills/logical-fallacy-detector/SKILL.md
Identify, label, and explain logical fallacies in arguments and discourse. Use when the user wants to analyze arguments, check reasoning, evaluate debate claims, spot weak arguments, do debate prep, policy writing, or conflict analysis. Triggers on 'fallacy', 'logical error', 'faulty reasoning', 'argument flaw', 'is this valid', 'check this logic'. Works on both formal deductive errors and informal reasoning mistakes.
npx skillsauth add curiositech/windags-skills logical-fallacy-detectorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Primary Decision Tree: Fallacy vs Non-Fallacy
1. Is there a clear argument with claim + support?
NO → Report "No argument to analyze"
YES → Continue to 2
2. Does the support actually connect to the claim?
NO → Check relevance fallacies (ad hominem, red herring, appeal to emotion)
YES → Continue to 3
3. Is this a deductive argument with formal structure?
YES → Check formal fallacies (affirming consequent, denying antecedent)
NO → Continue to 4
4. Are key terms used consistently throughout?
NO → Check ambiguity fallacies (equivocation, composition/division)
YES → Continue to 5
5. Does the argument assume what it's trying to prove?
YES → Check presumption fallacies (begging question, false dilemma, hasty generalization)
NO → Likely sound argument, check for minor issues only
Disambiguation Decision Points:
1. Fallacy Label Spam
2. Context Blindness
3. Weaponization Mode
4. False Negative Bias
5. Formal Fallacy Tunnel Vision
Example 1: Relationship Conflict Analysis
Argument: "You always ignore me when you're on your phone. Sarah's husband never uses his phone during dinner. You clearly don't care about our relationship like he does."
Step 1: Identify claim and support
Step 2: Apply decision tree
Step 3: Pattern matching
Expert vs Novice: Novice might focus on "you always" as the only issue. Expert catches the layered reasoning problems and sees the legitimate concern (wanting attention) behind the flawed expression.
Example 2: Policy Argument Assessment
Argument: "Climate scientist Dr. Hansen says we need carbon taxes. Either we implement them now or we're doomed to climate catastrophe. Anyone who opposes carbon taxes is clearly in denial about science."
Step 1: Claim = carbon taxes are necessary; Support = expert authority + dire consequences + dismissal of opposition
Step 2: Decision tree reveals multiple issues in relevance and presumption categories
Step 3: Pattern identification
Assessment: Argument has legitimate core (climate action needed) but reasoning structure undermines its persuasive force.
Argument Analysis Complete When:
Do NOT use this skill for:
fact-verification instead for empirical accuracyevidence-assessment for source credibility and data strengthsteel-man-argument for constructive responsestoulmin-argument-analysis for mapping claims, grounds, and warrantsconflict-resolution for interpersonal communication strategiesdiscourse-coordinator for broader rhetorical pattern analysisBoundary Cases:
tools
Building resilient distributed systems with circuit breakers, retries with full-jitter exponential backoff, retry budgets (per-request 3-attempt + per-client 10% ratio per Google SRE), deadline propagation, and the cascading-failure math (4 layers × 3 retries = 64x amplification). Grounded in Resilience4j, Microsoft Cloud Patterns, AWS Architecture Blog (Marc Brooker), and Google SRE Book.
testing
Designing HTTP cache headers that work correctly across browsers, CDNs, and shared proxies — `Cache-Control` directives per RFC 9111, `stale-while-revalidate` and `stale-if-error` per RFC 5861, the Vary header for varying responses, and surrogate keys for tag-based purging. Grounded in IETF RFCs and Cloudflare/Fastly docs.
development
Use when designing or fixing a Content Security Policy on a real site, choosing between nonce-based and hash-based CSP, adding strict-dynamic, debugging "Refused to execute inline script" errors, deploying CSP in report-only mode first, configuring report-to / report-uri, or auditing an existing policy for unsafe-inline / unsafe-eval / wildcards. Triggers: "CSP blocks legitimate inline script", strict-dynamic, nonce-{RANDOM}, sha256-{HASH}, object-src none, base-uri none, frame-ancestors, Trusted Types, X-Content-Security-Policy obsolete, report-only vs enforced. NOT for general HTTP security headers (HSTS, COOP/COEP), Trusted Types deep dive, CORS configuration, or building a WAF.
tools
Choosing and operating an HTTP API versioning strategy that doesn't break clients — Stripe's date-based pinned versions, the Deprecation/Sunset header pair (RFC 9745 + RFC 8594), URI vs header vs media-type approaches, and the version-transformer pattern. Grounded in Stripe's published architecture and IETF RFCs.