tailwind-v4
Tailwind v4 Custom Color Detection
Protocol
When using Tailwind CSS v4, check for custom theme configuration first:
- Read
src/index.css(or main CSS entry point). - Look for the
@theme { ... }directive with color variables. - If found, use the defined semantic names (e.g.,
bg-brand,text-primary). - If not found, use Tailwind default color classes (e.g.,
bg-blue-500). - Never hardcode hex colors in class names (e.g.,
bg-[#3b82f6]).
Detection
- Tailwind v4 if
package.jsonhastailwindcss: ^4.x. - Load this skill when working with React/Angular/Tailwind projects.
Docs: Context7 /websites/tailwindcss · Fallback: https://tailwindcss.com/docs
More from plutowang/term.conf
csharp
Auto-apply when working with C# and the .NET ecosystem. Trigger this skill when the user asks to create, modify, or debug C#, ASP.NET, Blazor, Entity Framework, MAUI, or use the dotnet CLI.
27react
Auto-apply when working with React, Next.js, or Vite. Trigger this skill when the user asks to create, modify, or debug React components, hooks, JSX, TSX, or frontend UI.
1rust
Auto-apply when working with Rust. Trigger this skill when the user asks to create, modify, or debug Rust code, Cargo projects, crates, or Rust tests.
1zig
Auto-apply when working with Zig. Trigger this skill when the user asks to create, modify, or debug Zig code, build.zig scripts, or Zig tests.
1angular
Auto-apply when working with Angular. Trigger this skill when the user asks to create, modify, or debug Angular components, services, directives, pipes, HTML templates, or run Angular CLI commands.
1aws
Auto-apply when working with Amazon Web Services (AWS) or cloud infrastructure. Trigger this skill for CDK stacks, CloudFormation, Terraform, SAM, Lambda, S3, EC2, IAM, or any AWS cloud deployments.
1