agentsclimarketplace

Tailwind

Skill PIXARTSeu/Synapse/packages/codegraph/data/skill/tailwind

Tailwind CSS 4 knowledge base - utility classes, configuration, best practices. Use when styling components, configuring design tokens, implementing responsive layouts, or managing dark mode.From its SKILL.md

Install
npx -y skills add PIXARTSeu/Synapse --skill tailwind

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 8 stars8 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

1.4 KB, 338 tokens by cl100k_base, as published. Nobody here has run it

Tailwind CSS 4 Knowledge Base

Setup

npm install tailwindcss @tailwindcss/postcss postcss
// postcss.config.js
export default {
  plugins: {
    '@tailwindcss/postcss': {},
  },
};
/* globals.css */
@import 'tailwindcss';

Configuration (CSS-first in v4)

/* globals.css */
@import 'tailwindcss';

@theme {
  --color-primary: #3b82f6;
  --color-secondary: #10b981;
  --font-display: "Inter", sans-serif;
  --breakpoint-3xl: 1920px;
}

cn() Utility (Merge Classes Safely)

import { clsx, type ClassValue } from 'clsx';
import { twMerge } from 'tailwind-merge';

export function cn(...inputs: ClassValue[]) {
  return twMerge(clsx(inputs));
}

// Usage
<div className={cn(
  'base-classes',
  condition && 'conditional-classes',
  className
)}>

Best Practices

  1. Mobile-first - Start with mobile, add breakpoints (sm, md, lg, xl)
  2. Use cn() - Merge classes safely to avoid conflicts
  3. Design tokens - Use CSS variables for consistency
  4. Consistent spacing - Stick to scale (4, 8, 12, 16, 20, 24...)
  5. Dark mode - Always add dark: variants for theme support

What ships with it: 3 files

2.4 KB alongside SKILL.md

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.