Dark Mode Bug Finder

Dark Mode Bug Finder is a skill for Claude Code, Codex from PramodDutta/qaskills. It costs 28 tokens per session (9,513 once invoked), scanned A, original, MIT.

A guide to finding bugs that appear when an interface changes between light and dark themes.

In plain words
What is it for?
Use it to audit dark-mode CSS, check contrast, test theme switching, and inspect components across both color schemes.
Why use it?
It helps identify unreadable colors, missing theme values, incorrectly inverted images, flashes, and broken transitions.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for aider. Also seen: mentions Codex; built for aider; mentions Gemini CLI.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is import { setThemeViaMediaQuery } from '../fixtures/theme-helpers';.

Good fit Use it to audit dark-mode CSS, check contrast, test theme switching, and inspect components across both color schemes.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/PramodDutta/qaskills
agentmods
npx agentmods add skills/pramoddutta/qaskills/dark-mode-bug-finder

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Dark Mode Bug Finder

README.md
[![agentmods](https://agentmods.dev/badge/skills/pramoddutta/qaskills/dark-mode-bug-finder/github.svg)](https://agentmods.dev/skills/pramoddutta/qaskills/dark-mode-bug-finder)
Your own site
<a href="https://agentmods.dev/skills/pramoddutta/qaskills/dark-mode-bug-finder"><img src="https://agentmods.dev/badge/skills/pramoddutta/qaskills/dark-mode-bug-finder/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for Dark Mode Bug Finder

Your own site · 80×15
<a href="https://agentmods.dev/skills/pramoddutta/qaskills/dark-mode-bug-finder"><img src="https://agentmods.dev/badge/skills/pramoddutta/qaskills/dark-mode-bug-finder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 9,513 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00028 $0.09513
Opus 5 $0.00014 $0.04757
Sonnet 5 $0.00006 $0.01903
Haiku 4.5 $0.00003 $0.00951

Measured 6d ago against content hash 4aa7df899f06, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

Dark Mode Bug Finder scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

seed-skills/dark-mode-bug-finder/SKILL.md · 1,027 lines

How it starts

The opening of the file, as written. The whole thing — 1,027 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Dark Mode Bug Finder Skill

You are an expert QA automation engineer specializing in dark mode testing, theme validation, and visual accessibility verification. When the user asks you to find dark mode bugs, test theme switching, verify contrast ratios, or audit CSS variable coverage across color schemes, follow these detailed instructions.

Core Principles

  1. Every color must come from a theme token -- Hardcoded color values (hex, rgb, named colors) in CSS are dark mode bugs waiting to happen. A properly themed application derives every visible color from CSS custom properties or a theme system that responds to the active color scheme.

  2. WCAG contrast ratios are non-negotiable -- Text must maintain a minimum 4.5:1 contrast ratio against its background in both light and dark modes. Large text (18px+ or 14px+ bold) requires 3:1 minimum. Dark mode frequently violates these ratios because developers test contrast only in light mode.

  3. Theme switching must be seamless -- Transitions between light and dark modes should not produce flashes of unstyled content (FOUC), partially themed states, or jarring instant color changes. Smooth transitions indicate that every component properly responds to the theme context.

  4. System preference sync is expected -- Modern applications must respect the operating system prefers-color-scheme setting. Users expect that setting their OS to dark mode automatically activates the application's dark theme without manual intervention.

  5. Images and media must adapt -- Logos, icons, illustrations, and SVGs that look correct on a white background may become invisible or unreadable on dark backgrounds. Every visual asset must have a dark mode variant or use adaptive techniques like CSS filters or themed SVG fill colors.

  6. Shadows and borders need theme awareness -- Box shadows that add subtle depth in light mode become invisible or create muddy halos in dark mode. Borders that are barely visible in light mode may become harshly prominent in dark mode. Both require theme-specific values.

Read the full file on GitHub · 1,027 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 1,027 lines · 28 tokens per session scan A 4aa7df899f06

Subscribe to this mod's changes

Dark Mode Bug Finder is a skill published in the GitHub repository PramodDutta/qaskills (219 stars, last pushed 10d ago), licensed MIT. It adds 28 tokens to every session and 9,513 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

accessibility-audit

Conduct accessibility audits against WCAG 2.2 guidelines. Evaluate pages, components, and flows for conformance at A, AA, and AAA levels. Identify issues, assess severity, provide code fixes, and generate audit reports. Covers automated testing, manual testing, keyboard navigation, screen reader compatibility, color…

cuellarfr/design-skills · 72 tokens

interaction-patterns-components

Use when choosing, critiquing, or designing UI interaction patterns and reusable components for web, mobile, SaaS, dashboards, or design systems.

hueyexe/frontend-agent-skills · 35 tokens

design-systems-frontend-architecture

Use when building reusable frontend systems, design tokens, component contracts, responsive layouts, CSS strategy, or design-system documentation and governance.

hueyexe/frontend-agent-skills · 34 tokens

web-performance-optimization

Audit, diagnose, or optimize website loading and interaction performance, Core Web Vitals, and Lighthouse performance scores.

fcakyon/claude-codex-settings · 27 tokens

storefront-theming

Build a themeable storefront with design tokens and CSS custom properties that supports white-labeling, multi-brand variants, and dark mode.

finsilabs/awesome-ecommerce-skills · 31 tokens

check-ui

Inspect a running localhost page and fix what is visually or functionally broken. Use when the user says the UI looks wrong, is misaligned, overflowing, has spacing or colour problems, or asks you to check/verify a page in the browser.

soumyachk101/VibeLens · 50 tokens