General

styling - Claude MCP Skill

CSS and Tailwind styling guidelines. Use when writing styles, creating UI components, reviewing CSS/Tailwind code, or deciding on wrapper element structure.

SEO Guide: Enhance your AI agent with the styling tool. This Model Context Protocol (MCP) server allows Claude Desktop and other LLMs to css and tailwind styling guidelines. use when writing styles, creating ui components, reviewing css/... Download and configure this skill to unlock new capabilities for your AI workflow.

🌟283 stars • 267 forks
📥0 downloads

Documentation

SKILL.md
# Styling Guidelines

## Minimize Wrapper Elements

Avoid creating unnecessary wrapper divs. If classes can be applied directly to an existing semantic element with the same outcome, prefer that approach.

### Good (Direct Application)

```svelte
<main class="flex-1 mx-auto max-w-7xl">
	{@render children()}
</main>
```

### Avoid (Unnecessary Wrapper)

```svelte
<main class="flex-1">
	<div class="mx-auto max-w-7xl">
		{@render children()}
	</div>
</main>
```

This principle applies to all elements where the styling doesn't conflict with the element's semantic purpose or create layout issues.

## Tailwind Best Practices

- Use the `cn()` utility from `$lib/utils` for combining classes conditionally
- Prefer utility classes over custom CSS
- Use `tailwind-variants` for component variant systems
- Follow the `background`/`foreground` convention for colors
- Leverage CSS variables for theme consistency

Signals

Avg rating0.0
Reviews0
Favorites0

Information

Repository
EpicenterHQ/epicenter
Author
EpicenterHQ
Last Sync
1/26/2026
Repo Updated
1/26/2026
Created
1/12/2026

Reviews (0)

No reviews yet. Be the first to review this skill!

styling - Claude/MCP Skill for AI Agents | SkillAvatars | SkillAvatars