dark-pattern-audit
Skill32 starsChanged 6 months agoMITView on GitHub
Audits codebases and product copy for deceptive dark patterns inferable from local source code and text — no runtime inspection or screenshots needed. Produces a structured narrative report with confidence grading, source locations, concise reasoning, and official pattern reference links for each detected pattern. Covers pricing, subscriptions, consent, modals, preselected controls, misleading CTAs, and more.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- sidkh/skillstheir own version, first seen Apr 22, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- sidkh/skills★ 8same name
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 repository170 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- accessibility-agentsSkill
- accessibility-catalogueSkill
- addyosmani-qualitySkill
- ai-graphic-design-skillSkill
- algorithmic-artSkill
- anatomySkill
- animate-css-skillSkill
- animate-skillSkill
- anthropics-skillsSkill
- antvis-chart-skillsSkill
- apple-hig-skillsSkill
- assimovt-productskillsSkill
- awesome-design-skillsSkill
- baseline-uiSkill
- bencium-ux-designerSkill
- brand-design-mdSkill
- building-componentsSkill
- callstack-agent-skillsSkill
- cc-slidevSkill
- chadboyda-gtmSkill
- claud3Skill
- claude2figmaSkill
- claudedesignskillsSkill
- claude-pm-skillsSkill
- claude-wireframe-skillSkill
- cloudai-threejsSkill
- cloudflare-web-perfSkill
- color-expertSkill
- composio-artifactsSkill
- content-catalogueSkill
- content-strategySkill
- copywriting-skillSkill
- coreyhaines-marketingSkill
- creative-directorSkill
- css-animation-skillSkill
- d3js-skillSkill
- data-analysis-skillSkill
- data-viz-agentSkill
- deanpeters-pm-skillsSkill
- design-auditorSkill
- design-briefSkill
- design-catalogueSkill
- design-consultationSkill
- design-debt-auditSkill
- design-engineering-catalogueSkill
- designer-skillsSkill
- design-for-aiSkill
- design-htmlSkill
- design-impact-reportingSkill
- design-labSkill
- design-motion-principlesSkill
- design-negotiationSkill
- design-review-garrytanSkill
- design-sprintSkill
- design-system-governanceSkill
- design-tokens-skillSkill
- design-with-claudeSkill
- digidai-pmSkill
- dimensional-drawingSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
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 57
License: no LICENSE file in the repo <!-- das:install:end -->
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
dark-pattern-audit
Catalogue stub — full skill: SidKH/skills
<!-- das:install:start — generated from stub.yaml by `npm run generate`; edit stub.yaml, not this block -->Decision tree
- Is the full skill already installed?
- Global:
f=~/.agents/skills/dark-pattern-audit/SKILL.md; [ -f "$f" ] && ! grep -q "^das:" "$f" && echo "installed" || echo "pointer" - Project:
f=.agents/skills/dark-pattern-audit/SKILL.md; [ -f "$f" ] && ! grep -q "^das:" "$f" && echo "installed" || echo "pointer" installed→ the skill is installed asdark-pattern-audit, invoke it and proceedpointer→ go to step 2
- Global:
Detect scope, then install:
[ -e ~/.agents/skills/dark-pattern-audit ] && echo "global" || echo "project"Global:
npx skills add SidKH/skills --skill dark-pattern-audit -g -yProject:
npx skills add SidKH/skills --skill dark-pattern-audit -yClaude Code: send a command as a chat message starting with
!to run it without leaving the conversation.
Heads-up
- License: no LICENSE file in the repo
<!-- das:install:end -->Invoke after install
- Skill name:
dark-pattern-audit - The upstream skill sets
disable-model-invocation: true: an agent will not start it on its own. Ask the user to run/dark-pattern-audit(in Claude Code), or to name the skill explicitly in the prompt. - Trigger phrases: "dark pattern audit", "dark pattern detection", "deceptive design audit"
What it does
Static analysis of a codebase for dark patterns — purely from source code and copy, without runtime access:
Surfaces covered:
- Pricing, checkout, billing, fees, cart, upsells
- Subscriptions, trials, renewals, cancellation flows
- Consent dialogs, privacy prompts, notification permissions
- Modals, interstitials, countdown timers, fake stock counters
- Preselected controls, bundled choices, forced steps
- Misleading CTA text, low-contrast disclosures, hidden disclaimers
Output per finding:
- Pattern name + official reference link
- Confidence grade (conservative — only high-confidence findings reported)
- Exact source location (file, line, component)
- Concise reasoning grounded in local evidence
Workflow: Confirm scope → load pattern catalog → search evidence in code/copy → report
When NOT to use
- General design quality audit (typography, dark mode, RTL) → use
design-auditor - WCAG accessibility compliance → use
wcag-ai-skill - AI writing pattern detection → use
humanize-text - Ethical design strategy → use
plan-design-review
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.

