Agent skill

tailwind-ui

Tailwind CSS v4.1 best practices with WCAG 2.1 AA accessibility, theming, and dark mode support. Use when working with HTML, CSS, styling components, accessibility (a11y), WCAG compliance, color contrast, focus states, screen readers, theming, light mode, dark mode, or building accessible UI patterns like buttons, forms, cards, and navigation. Complements the angular-best-practices skill for Angular frontends.

Stars 5
Forks 8

Install this agent skill to your Project

npx add-skill https://github.com/Boise-State-Development/agentcore-public-stack/tree/main/.claude/skills/tailwind-ui

SKILL.md

Tailwind UI Skill

Tailwind CSS v4.1 development with accessibility and theming baked in.

Quick Reference

v4.1 Critical Changes

Never use deprecated utilities — always use replacements:

Deprecated Replacement
bg-opacity-* bg-black/50 (opacity modifier)
bg-gradient-* bg-linear-*
shadow-sm shadow-xs
shadow shadow-sm
rounded-sm rounded-xs
rounded rounded-sm
ring ring-3
outline-none outline-hidden
leading-* Use text-base/7 line-height modifiers
flex-shrink-* / flex-grow-* shrink-* / grow-*
space-x-* in flex/grid Use gap-* instead

Essential Patterns

html
<!-- Gap over space utilities -->
<div class="flex gap-4">...</div>

<!-- Opacity modifiers -->
<div class="bg-primary-500/60">...</div>

<!-- Line height modifiers -->
<p class="text-base/7">...</p>

<!-- Dynamic viewport height (mobile-safe) -->
<div class="min-h-dvh">...</div>

<!-- Size utility for equal dimensions -->
<div class="size-12">...</div>

Reference Files

Load these based on the task:

  • references/v4-migration.md — Full v4.1 breaking changes, upgrade process, new features
  • references/accessibility.md — WCAG 2.1 AA patterns: contrast, focus, screen readers
  • references/theming.md — @theme setup, CSS variables, light/dark mode
  • references/components.md — Accessible component patterns (buttons, forms, cards, nav)

Theme Asset

  • assets/theme-starter.css — Starter @theme with primary/secondary/tertiary color scales

Core Principles

  1. Use Tailwind's scale — Avoid arbitrary values like ml-[16px]; use ml-4
  2. Never use @apply — Use CSS variables or framework components
  3. Gap over margins — Use gap-* in flex/grid, not space-* or child margins
  4. Test both modes — Always verify light AND dark mode appearance
  5. Accessibility first — Every interactive element needs visible focus states and proper contrast

Expand your agent's capabilities with these related and highly-rated skills.

Boise-State-Development/agentcore-public-stack

version

Bump the monorepo version using SemVer. Use when creating releases, updating the VERSION file, or syncing version across package manifests.

5 8
Explore
Boise-State-Development/agentcore-public-stack

angular-best-practices

Angular 21 development with modern best practices including signals, standalone components, reactive patterns, and accessibility. Use when creating Angular components, services, templates, or performing any Angular frontend development work. Covers TypeScript strict typing, signal-based state management, reactive forms, lazy loading, ng-icon setup, and Tailwind styling.

5 8
Explore
Boise-State-Development/agentcore-public-stack

cdk-infrastructure

AWS CDK infrastructure development with TypeScript. Use when creating or modifying CDK stacks, constructs, DynamoDB tables, ECS/Fargate services, Lambda functions, S3 buckets, networking, IAM roles, or any CloudFormation resources. Covers configuration patterns, cross-stack references via SSM, naming conventions, and Bedrock AgentCore integration.

5 8
Explore
Boise-State-Development/agentcore-public-stack

frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, Angular components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.

5 8
Explore
mattpocock/skills

handoff

Compact the current conversation into a handoff document for another agent to pick up.

111,310 9,758
Explore
mattpocock/skills

obsidian-vault

Search, create, and manage notes in the Obsidian vault with wikilinks and index notes. Use when user wants to find, create, or organize notes in Obsidian.

111,310 9,758
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results