Tailwind
Skill PIXARTSeu/Synapse/packages/codegraph/data/skill/tailwind
Self-improving AI brain for Claude Code & Desktop — 28 MCP tools, 253 skills, collective memory, project tracking, work logs. One server, all your sessions share the same knowledge. Deploy on Coolify in 2 minutes.
npx -y skills add PIXARTSeu/Synapse --skill tailwindAssembled 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.
What its author says it does
Copied from the file, not written here
Tailwind CSS 4 knowledge base - utility classes, configuration, best practices. Use when styling components, configuring design tokens, implementing responsive layouts, or managing dark mode.
SKILL.md
1.4 KB, 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
- Mobile-first - Start with mobile, add breakpoints (sm, md, lg, xl)
- Use cn() - Merge classes safely to avoid conflicts
- Design tokens - Use CSS variables for consistency
- Consistent spacing - Stick to scale (4, 8, 12, 16, 20, 24...)
- Dark mode - Always add dark: variants for theme support