A collection of skills for AI coding agents. Skills are packaged instructions that extend agent capabilities.
Skills follow the Agent Skills format.
Fix or implement dark mode in Tailwind CSS v4 projects. Encodes the correct patterns and common pitfalls for TW4's @theme, @custom-variant, and CSS variable-based dark mode.
Use when:
- Dark mode colors are wrong or CSS variables aren't switching
dark:variants useprefers-color-schemeinstead of class-based.dark- Setting up semantic design tokens with dark mode
- Migrating a Tailwind v3 dark mode setup to v4
Install all skills:
npx skills add lohnim/skills --allInstall a specific skill:
npx skills add lohnim/skills@tailwind-v4-dark-modeEach skill contains:
SKILL.md- Instructions for the agentscripts/- Helper scripts for automation (optional)references/- Supporting documentation (optional)
-
Create a new directory under
skills/:skills/my-new-skill/SKILL.md -
Add YAML frontmatter to
SKILL.md:--- name: my-new-skill description: What this skill does and when to use it. ---
-
Write the skill instructions in the markdown body.
-
Update this README with the new skill's description.
MIT