knofler/myai/tailwind-config-extend

Claude Code and agent skill by knofler/myai

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Extend Tailwind CSS configuration. Add custom colors, fonts, spacing, breakpoints, and plugins. Update PostCSS config if needed. Triggers: Tailwind config, extend Tailwind, custom Tailwind, Tailwind theme, Tailwind plugin

Install

npx vskill@latest install knofler/myai/tailwind-config-extend

SKILL.md

The same SKILL.md was published earlier as knofler/myai/tailwind-config-extend.

Tailwind Config Extension Playbook

1. Identify Customization Needs

  • Clarify what needs to be added or changed (colors, fonts, spacing, etc.).
  • Read existing tailwind.config.js or tailwind.config.ts.
  • Check documentation/AI_RULES.md for any styling mandates.

2. Update Tailwind Config

  • Open tailwind.config.js (or .ts).
  • Use theme.extend to add without overriding defaults:
js
module.exports = {
theme: {
extend: {
colors: {
primary: { 50: '#f0f9ff', 500: '#3b82f6', 900: '#1e3a5f' },
},
fontFamily: {
display: ['Inter', 'sans-serif'],
},
},
},
};

3. Add Custom Colors

  • Define semantic color scales (primary, secondary, accent).
  • Include full shade ranges (50, 100, 200, ..., 900, 950).
  • Ensure contrast ratios meet WCAG 2.1 AA (4.5:1 for text).

4. Add Custom Fonts

  • Add font family to fontFamily in config.
  • Import font files or Google Fonts in layout/global CSS.
  • Define fallback stack (e.g., ['Inter', 'system-ui', 'sans-serif']).

5. Add Custom Spacing/Breakpoints

  • Extend spacing for non-standard values: '18': '4.5rem'.
  • Add custom breakpoints if design requires them:

``js screens: { 'xs': '475px', '3xl': '1920px' } ``

6. Configure Plugins

  • Add official plugins as needed:
  • @tailwindcss/forms for form styling.
  • @tailwindcss/typography for prose content.
  • @tailwindcss/container-queries for container queries.
  • Install via npm and add to plugins array in config.

7. Update PostCSS Config (if needed)

  • Verify postcss.config.js includes tailwindcss and autoprefixer.
  • Add any required PostCSS plugins (e.g., postcss-import).

8. Verify Changes

  • Run the dev server and inspect rendered output.
  • Check that new utility classes generate correctly.
  • Verify no existing styles are broken by the changes.
  • Test responsive behavior at all breakpoints.

9. Update State

  • Update state/STATE.md with Tailwind config changes.
  • Log the session in logs/claude_log.md.

10. Review Checklist

  • [ ] Used theme.extend (not theme override) to preserve defaults.
  • [ ] Custom colors meet contrast requirements.
  • [ ] Fonts load correctly with fallbacks.
  • [ ] Plugins installed and configured.
  • [ ] PostCSS config verified.
  • [ ] Changes render correctly in browser.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
1
7-day trend score
8

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/knofler/myai/tailwind-config-extend/badge)](https://verified-skill.com/skills/knofler/myai/tailwind-config-extend)

Something wrong with this skill or its page? Tell us.