Agent skill

Add Dark Mode Support

by codecrafters-io in codecrafters-io/frontend

Add dark mode styles to components using Tailwind dark: variant classes.

Custom licenceAuto-check passedFrontend & Design

Install Add Dark Mode Support

skills CLI
$ npx skills add codecrafters-io/frontend --skill add-dark-mode-support -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install codecrafters-io/frontend add-dark-mode-support --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/codecrafters-io/frontend.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.cursor/skills/add-dark-mode .claude/skills/add-dark-mode-support && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
add-dark-mode-support
GitHub stars
127
Token cost
~1.1k tokens
SKILL.md length
246 words
Files
1
Skills in repo
3
Repo updated
First seen
Licence
Custom licence

At a glance

Add dark mode styles to components using Tailwind dark: variant classes.

  • Creating new components
  • SKILL.md covers How Dark Mode Works, Route Color Scheme Support, Common Color Patterns and Implementation Examples, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Adding dark mode support to existing components

What it does

Add Dark Mode Support is an agent skill from codecrafters-io/frontend. Add dark mode styles to components using Tailwind dark: variant classes. Use when creating new components, adding dark mode support to existing components, or when the user mentions dark mode, theming, or light/dark variants.

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Frontend & Design, covering Theming and dark mode. It works with Tailwind CSS. The repository describes itself as: Rebuild complex systems from scratch.

When your agent uses it

  • Creating new components
  • Adding dark mode support to existing components
  • The user mentions dark mode
  • Light/dark variants

Example prompts

  • “/add-dark-mode-support”

What it can do on your machine

Read from SKILL.md and the folder at commit 4d815f7. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are handlebars and typescript).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Add Dark Mode Support loads about 1.1k tokens when it runs. Until then it costs about 62 tokens; SKILL.md has 246 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~62
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 246 words (~1,051 tokens).

“This skill guides you through adding dark mode support to components in the CodeCrafters frontend.”

— opening of SKILL.md by codecrafters-io, Custom licence
name
add-dark-mode-support

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .cursor/skills/add-dark-mode of codecrafters-io/frontend.

Open the folder on GitHubat commit 4d815f7

Compare with similar skills

Add Dark Mode Support next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Add Dark Mode Support compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Add Dark Mode Support this skillcodecrafters-io/frontend127—~1.1kAutomated safety check: PassCustom licence
Tailwindcss Developmentanonaddy/anonaddy4.9k10 repos~865Automated safety check: PassMIT
UI StylingOhh-889/skyroc79513 repos~2.5kAutomated safety check: PassMIT
MCP Developmentcoollabsio/coolify63k1 repos~949Automated safety check: PassMIT
Scalar Design Systemscalar/scalar16k—~2.7kAutomated safety check: PassMIT
DaisyUI 5 Color Rulessaadeghi/daisyui43k—~1.7kAutomated safety check: PassMIT

Similar skills

  • Tailwindcss Development

    anonaddy/anonaddy

    Always invoke when the user's message includes 'tailwind' in any form.

    4.9k GitHub starsUsed in 10 repos~865 tokens
    Frontend & DesignAuto-check passed
  • UI Styling

    Ohh-889/skyroc

    Create beautiful, accessible user interfaces with shadcn/ui components (built on Radix UI + Tailwind), Tailwind CSS utility-first styling, and canvas-based visual designs.

    795 GitHub starsUsed in 13 repos~2.5k tokens
    Frontend & DesignAuto-check passed
  • MCP Development

    coollabsio/coolify

    A skill your agent uses for Laravel MCP development. An agent skill from coollabsio/coolify.

    63k GitHub starsUsed in 1 repo~949 tokens
    Frontend & DesignAuto-check passed
  • Scalar's design system — design tokens, theming (@scalar/themes), CSS variables, and the @scalar/components library.

    16k GitHub stars~2.7k tokensUpdated today
    Frontend & DesignAuto-check passed
  • DaisyUI 5 Color Rules

    saadeghi/daisyui

    Rules for using daisyUI 5's semantic color names, such as primary and base-100, so interfaces stay readable across themes.

    43k GitHub stars~1.7k tokensUpdated 8 days ago
    Frontend & DesignAuto-check passed
  • Nuxt UI

    megaarmos/vue-spring-bottom-sheet

    Build UIs with @nuxt/ui v4 — 125+ accessible Vue components with Tailwind CSS theming.

    141 GitHub starsUsed in 1 repo~2.5k tokens
    Frontend & DesignAuto-check passed

More from codecrafters-io/frontend

  • Create Frontend PR

    codecrafters-io/frontend

    Use the GitButler CLI (but) to create a branch, commit changes, push, and open a GitHub PR in the frontend repo.

    127 GitHub stars~387 tokensUpdated 2 days ago
    Auto-check passed
  • Toggle Maintenance Mode

    codecrafters-io/frontend

    Enable or disable maintenance mode for the frontend. An agent skill from codecrafters-io/frontend.

    127 GitHub stars~206 tokensUpdated 2 days ago
    Auto-check passed

Works with

Questions about Add Dark Mode Support

What does Add Dark Mode Support do?

Add dark mode styles to components using Tailwind dark: variant classes. Add Dark Mode Support is an agent skill from codecrafters-io/frontend. Add dark mode styles to components using Tailwind dark: variant classes.

When should I use Add Dark Mode Support?

Add Dark Mode Support fits situations like: creating new components; adding dark mode support to existing components; the user mentions dark mode; light/dark variants.

How do I install Add Dark Mode Support in Claude Code?

Run `npx skills add codecrafters-io/frontend --skill add-dark-mode-support -a claude-code`. Or copy the skill folder (.cursor/skills/add-dark-mode in codecrafters-io/frontend) into .claude/skills/add-dark-mode-support in your project. Claude Code loads it when a task matches its description.

How do I install Add Dark Mode Support in Codex?

Run `npx skills add codecrafters-io/frontend --skill add-dark-mode-support -a codex`. Or copy the skill folder (.cursor/skills/add-dark-mode in codecrafters-io/frontend) into .agents/skills/add-dark-mode-support in your project. Codex loads it when a task matches its description.

Can I use Add Dark Mode Support in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add codecrafters-io/frontend --skill add-dark-mode-support -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/add-dark-mode-support, .gemini/skills/add-dark-mode-support, .github/skills/add-dark-mode-support and .opencode/skills/add-dark-mode-support in your project.

What does Add Dark Mode Support need to run?

SKILL.md names no scripts, command-line tools or credentials: Add Dark Mode Support is instructions for the agent only.

Does Add Dark Mode Support access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Add Dark Mode Support safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Add Dark Mode Support use?

Add Dark Mode Support has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Add Dark Mode Support use?

About 1.1k tokens (SKILL.md is roughly 4.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Add Dark Mode Support?

Skills that share tags, products or a category with Add Dark Mode Support: Tailwindcss Development (anonaddy/anonaddy, 4.9k stars), UI Styling (Ohh-889/skyroc, 795 stars), MCP Development (coollabsio/coolify, 63k stars) and Scalar Design System (scalar/scalar, 16k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Add Dark Mode Support?

codecrafters-io (a GitHub organization) maintains it in codecrafters-io/frontend, which has 127 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on October 6, 2026.

Source: codecrafters-io/frontend on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.