Gdd Darkmode logo

Gdd Darkmode

Community
hegemonart
gdd-darkmode

Audit a project's dark mode implementation - detects architecture (CSS custom props, Tailwind `dark:` prefix, or JS class toggle), runs architecture-specific contrast / token-override / anti-pattern / meta-property checks, and writes a prioritized fix list to `.design/DARKMODE-AUDIT.md`. Use when the user wants to verify dark mode quality without re-running the full design pipeline. Read-only - no score writeback to `DESIGN.md`. Activates for requests involving auditing dark mode, checking dark-theme contrast, or dark-mode anti-patterns.

Overview

Publisherhegemonart
Repositoryget-design-done
Skill namegdd-darkmode
Stars
3
Forks
1
Bundled files
1
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by hegemonart on GitHub. Read the source before you install it.

Installation

Install the Gdd Darkmode AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/hegemonart/get-design-done/tree/main/scripts/skill-templates/darkmode
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/hegemonart/get-design-done.git /tmp/get-design-done
mkdir -p .claude/skills
cp -r /tmp/get-design-done/scripts/skill-templates/darkmode .claude/skills/gdd-darkmode
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Gdd Darkmode in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Gdd Darkmode on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Gdd Darkmode is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

gdd-darkmode - Dark Mode Audit

Standalone dark mode audit. Detects the project's dark mode architecture, runs architecture-specific checks across contrast, token completeness, anti-patterns, and meta properties, then writes a prioritized fix list to .design/DARKMODE-AUDIT.md.

For the full step-by-step methodology (architecture-detection greps, WCAG contrast formula, anti-pattern grep snippets, meta-property checks, screenshot capture, and DARKMODE-AUDIT.md template), see ./darkmode-audit-procedure.md. For the perceptual-contrast layer (APCA / WCAG 3 draft) sitting on top of WCAG 2.1 ratios, see ../../reference/contrast-advanced.md. For OKLCH-based dark token-pair generation, see ../../reference/color-theory.md §OKLCH. For the cross-skill output discipline + connection-probe pattern, see ../../reference/shared-preamble.md#output-contract-reminders and ../../reference/shared-preamble.md#connection-handshake-summary.


Scope

This command is a standalone audit - not a pipeline stage:

  • Does NOT update DESIGN.md scores (V2-05 deferred - two-sources-of-truth risk).
  • Does NOT invoke design-auditor (Pitfall 4 - darkmode runs its own inline audit, separate from the DESIGN-AUDIT.md pipeline).
  • Does NOT write to .design/STATE.md, DESIGN-CONTEXT.md, DESIGN-PLAN.md, DESIGN-SUMMARY.md, or DESIGN-VERIFICATION.md.
  • Writes exactly ONE artifact: .design/DARKMODE-AUDIT.md.
  • Does NOT execute fixes - audit-only per V2-07 deferral (fixes belong in the design pipeline's color task).

Output artifact prefix DARKMODE-AUDIT is distinct from the pipeline namespace (DESIGN-*.md). No naming conflict.


Pre-Flight

Confirm source root exists. Try in order: src/ (preferred), app/ (Next.js App Router), lib/ (libraries), pages/ (Next.js Pages Router). Set SRC_ROOT to the first that exists. If none exist, abort: "No source directory detected. Run /get-design-done explore first."

Confirm .design/ exists (create if absent: mkdir -p .design/).

Probe preview connection per ../../reference/shared-preamble.md#connection-handshake-summary (ToolSearch → mcp__Claude_Preview__preview_list → STATE.md write). Result drives Step 5B (visual dark mode rendering).


Workflow

  1. Architecture Detection (DARK-02) - run three greps (CSS custom props / Tailwind dark: / JS class toggle), classify primary architecture or Hybrid or None. If None, abort. Detail: ./darkmode-audit-procedure.md#step-1-architecture-detection-dark-02.
  2. Contrast Audit (DARK-03) - extract dark-context token pairs for the detected architecture, compute WCAG 2.1 ratios, flag failures at 4.5:1 (body) / 3:1 (large text + UI boundaries). Cross-check with APCA from ../../reference/contrast-advanced.md for thin / large / colored text. Detail: ./darkmode-audit-procedure.md#step-2-contrast-audit-dark-03.
  3. Token Override Completeness (DARK-04) - every light-mode color token must have a dark-mode override. Flag missing overrides → P1. Detail: ./darkmode-audit-procedure.md#step-3-token-override-completeness-dark-04.
  4. Dark-Specific Anti-Patterns (DARK-05) - Images/SVGs without dark variant (P2), pure-black backgrounds in dark context = BAN-05 (P1), missing @media (forced-colors) (P2). Detail: ./darkmode-audit-procedure.md#step-4-dark-specific-anti-patterns-dark-05.
  5. Meta Property Check (DARK-06) - color-scheme property + prefers-color-scheme query. Each absent → P2. Detail: ./darkmode-audit-procedure.md#step-5-meta-property-check-dark-06.
  6. Visual Rendering (preview: available only) - capture light/dark screenshot pair to .design/screenshots/darkmode/{light,dark}.png. Detail: ./darkmode-audit-procedure.md#step-5b-dark-mode-rendering-screenshots-when-preview-available.
  7. Write .design/DARKMODE-AUDIT.md - group flagged issues by priority (P0 → P1 → P2 → P3). Full template at ./darkmode-audit-procedure.md#step-6-darkmode-auditmd-template.

Constraints

This command MUST NOT (per ../../reference/shared-preamble.md#output-contract-reminders):

  • Write to DESIGN.md, DESIGN-SUMMARY.md, DESIGN-VERIFICATION.md, DESIGN-CONTEXT.md, or .design/STATE.md.
  • Invoke design-auditor (Pitfall 4 - this is a separate audit with its own inline checks).
  • Execute any fixes - audit-only (V2-07 deferred).
  • Write scores back to DESIGN.md (V2-05 deferred - two-sources-of-truth risk).
  • Add rows to DESIGN.md or append to pipeline-owned artifacts.

MUST write exactly one output file: .design/DARKMODE-AUDIT.md.


Completion

After writing the audit, print:

Dark mode audit complete. Architecture: <X>. Fixes: P0=<N>, P1=<M>, P2=<K>, P3=<J>. See .design/DARKMODE-AUDIT.md.

Do not summarize individual issues in the completion message - the file contains the full detail.

DARKMODE AUDIT COMPLETE

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Gdd Darkmode AI skill do?

Audit a project's dark mode implementation - detects architecture (CSS custom props, Tailwind `dark:` prefix, or JS class toggle), runs architecture-specific contrast / token-override / anti-pattern / meta-property checks, and writes a prioritized fix list to `.design/DARKMODE-AUDIT.md`. Use when the user wants to verify dark mode quality without re-running the full design pipeline. Read-only - no score writeback to `DESIGN.md`. Activates for requests involving auditing dark mode, checking dark-theme contrast, or dark-mode anti-patterns.

Why use Gdd Darkmode on TypingMind?

Because you install it once and use it with any model. Gdd Darkmode is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Gdd Darkmode in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/hegemonart/get-design-done/tree/main/scripts/skill-templates/darkmode. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Gdd Darkmode?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Gdd Darkmode?

As many as you like. As long as a model supports skills, you can use Gdd Darkmode with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Gdd Darkmode AI skill free?

Yes. It is published on GitHub by hegemonart under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇