styling
Skill by EpicenterHQ
Guides an AI assistant through CSS and Tailwind styling in Svelte code. It covers class merging, flex layout fixes, and scroll containment for developers who need to style components or fix overflow.
Install styling
Built from the published package, never by AI.
git clone --depth 1 https://github.com/EpicenterHQ/epicenter /tmp/epicenter && mkdir -p ~/.claude/skills && cp -r /tmp/epicenter/.agents/skills/styling ~/.claude/skills/stylingRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/EpicenterHQ/epicenter /tmp/epicenter && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/epicenter/.agents/skills/styling ~/.gemini/antigravity-cli/skills/stylingAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The styling skill gives an AI assistant guidance for CSS and Tailwind work in Svelte code. It explains how to combine classes with cn(), prefer utility classes and shared semantic tokens, and avoid extra wrapper divs when a semantic element can take the classes directly. It also covers using the HTML disabled attribute with Tailwind's enabled: and group-disabled: variants instead of JavaScript click guards.
The skill includes a detailed fix for flex column scroll bugs. It recommends replacing h-full on a flex child that shares a column with siblings by flex-1 min-h-0 overflow-hidden, and explains how this works with paneforge panes and bits-ui ScrollArea. When styling depends on shadcn-svelte or Bits UI structure, it points to a ui-design reference. It is written for developers working in the Epicenter repository.
Written from the project's SKILL.md and checked against it.
What it can do
- Class merging with cn()Combines Tailwind classes conditionally using cn() from @epicenter/ui/utils in apps.
- Wrapper reductionApplies classes directly to semantic elements instead of adding unnecessary wrapper divs.
- Disabled state stylingUses the HTML disabled attribute with enabled: and group-disabled: Tailwind variants.
- Flex scroll fixReplaces h-full on flex children with flex-1 min-h-0 overflow-hidden so content scrolls.
- Primitive override guidanceKeeps overrides on shared UI primitives to parent layout or product state, not visual budgets.
- ScrollArea guidanceRecommends overflow-y-auto or a bounded wrapper div around ScrollArea.Root.
What you need
- Svelte project
- Tailwind CSS
- @epicenter/ui package for cn() in apps
Try asking
- Fix the CSS so this panel scrolls inside the flex column
- Style this card with cn() so the active state applies conditionally
- Replace the JS click guard on this button with the disabled attribute
Good to know
- Written for the Epicenter repository and its repo-local layout rules.
- Some guidance depends on a separate ui-design reference file linked from the skill.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/styling/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to styling
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
styling: common questions
Does this skill cover shadcn-svelte or Bits UI?
It points to a ui-design component-system reference for shadcn-svelte structure, variants, and Bits UI composition. The source says ordinary Tailwind utilities need no external lookup.
How does it fix content that will not scroll?
It says an h-full flex child with siblings overflows the column. The fix is flex-1 min-h-0 overflow-hidden, and the source says all three utilities are required.
Should I use ScrollArea or overflow-auto?
The source prefers plain overflow-y-auto on a div with flex-1 min-h-0. It suggests wrapping ScrollArea.Root in a bounded div only when styled scrollbars are needed.
How do I install styling?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is styling free?
The code is published under the AGPL-3.0 licence. The service it connects to may have its own pricing.
Is styling safe to use?
It scores 77 of 100. Grades: maintenance A, licence C, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to styling?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
