ui-and-theme

ui-and-theme is a skill for Claude Code, Codex from pinebasedev/svelteflare. It costs 159 tokens per session (3,790 once invoked), scanned A, original, MIT.

A set of rules for building user interfaces in the SvelteFlare monorepo, which is a repository containing multiple related projects or packages. It covers shared components, colors, typography, layout, and light or dark themes.

In plain words
What is it for?
Use it when creating or changing pages, components, forms, cards, tables, dialogs, dashboards, layouts, or theme settings.
Why use it?
It keeps new screens consistent with the existing design system and prevents unsupported colors or styling choices from being introduced.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it when creating or changing pages, components, forms, cards, tables, dialogs, dashboards, layouts, or theme settings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pinebasedev/svelteflare/ui-and-theme
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add pinebasedev/svelteflare --skill ui-and-theme
Clone the repo
git clone --depth 1 https://github.com/pinebasedev/svelteflare

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ui-and-theme

README.md
[![agentmods](https://agentmods.dev/badge/skills/pinebasedev/svelteflare/ui-and-theme/github.svg)](https://agentmods.dev/skills/pinebasedev/svelteflare/ui-and-theme)
Your own site
<a href="https://agentmods.dev/skills/pinebasedev/svelteflare/ui-and-theme"><img src="https://agentmods.dev/badge/skills/pinebasedev/svelteflare/ui-and-theme/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ui-and-theme

Your own site · 80×15
<a href="https://agentmods.dev/skills/pinebasedev/svelteflare/ui-and-theme"><img src="https://agentmods.dev/badge/skills/pinebasedev/svelteflare/ui-and-theme.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 159 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,790 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00159 $0.03790
Opus 5.5 $0.00064 $0.01516
Sonnet 5.5 $0.00032 $0.00758
Haiku 4.5 $0.00016 $0.00379

Measured 1mo ago against content hash 591e205bedbd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ui-and-theme scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/ui-and-theme/SKILL.md · 356 lines

How it starts

The opening of the file, as written. The whole thing — 356 lines — stays where its author put it; the contents beside it link to each section on GitHub.

UI and Theme

Build all UI from shadcn-svelte components and the shared theme system. The theme includes semantic CSS variables in packages/ui/src/global.css and the visual implementations in packages/ui/src/components/**/*.svelte. Never use raw hex/rgb colors, Tailwind palette classes, or arbitrary color values — the app has a founder-approved theme, and every screen must look like it belongs to it.

Allowed vs forbidden styling

❌ Never ✅ Instead
bg-blue-500, text-green-500, bg-zinc-900, bg-white, text-black bg-primary, text-primary, bg-card, bg-background, text-foreground
bg-[#1e40af], text-[oklch(0.6 0.2 30)], border-[rgb(30,40,50)] a semantic token utility: bg-secondary, border-border, …
style="color: #333", color: red in <style> blocks token utilities, or var(--muted-foreground) etc. in CSS
text-green / bg-amber (token doesn't exist) check packages/ui/src/global.css for real tokens first
success/warning states via palette colors text-primary, text-destructive, text-muted-foreground, bg-primary/10

Non-color arbitrary values (w-[420px], grid-cols-[1fr_2fr]) are fine. Lint enforces the color rules (theme/no-hardcoded-colors) and fails just check — if lint flags a color, replace it with a token; never suppress the error.

Stack at a glance

Layer Detail
Component library shadcn-svelte (style: vega), built on bits-ui primitives
CSS framework Tailwind CSS v4 (no tailwind.config.js — all config lives in CSS)
Token system CSS custom properties in packages/ui/src/global.css, bridged via @theme inline
Dark mode Class-based (.dark on <html>), managed by mode-watcher
Icons unplugin-icons — import as ~icons/lucide/<name>
Fonts Inter Variable (sans), Geist Mono (mono)

Read the full file on GitHub · 356 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 356 lines · 159 tokens per session scan A 591e205bedbd

Subscribe to this mod's changes

ui-and-theme is a skill published in the GitHub repository pinebasedev/svelteflare (50 stars, last pushed 25d ago), licensed MIT. It adds 159 tokens to every session and 3,790 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

ui-ux-design-best-practices

UI/UX polish, component design, animation decisions, and Tailwind v4 patterns for making interfaces feel right. Use when reviewing, writing, or refactoring UI code involving animations, transitions, CSS transforms, gestures, Tailwind utility classes, or interactive component behavior. Triggers on tasks involving…

louisbrulenaudet/monorepo-template · 96 tokens

impeccable

Use when the user wants to design, redesign, shape, critique, audit, polish, clarify, distill, harden, optimize, adapt, animate, colorize, extract, or otherwise improve a frontend interface. Covers websites, landing pages, dashboards, product UI, app shells, components, forms, settings, onboarding, and empty states.…

f-amine/vibe-stack · 189 tokens

design-loop

Autonomous multi-page site builder using a baton-passing loop. Each iteration reads a task from .design/next-prompt.md, generates a page in HTML/Tailwind, integrates it into the site, verifies visually, then writes the next task to keep the loop alive. Use whenever the user asks to build an entire site autonomously…

jezweb/claude-skills · 130 tokens

color-palette

Generate complete, accessible colour palettes from a single brand hex. Produces 11-shade scale (50-950), semantic tokens, dark mode variants, Tailwind v4 CSS output, WCAG contrast checks. Use whenever the user supplies a brand hex and asks for a palette, mentions setting up a design system, wants Tailwind theme…

jezweb/claude-skills · 87 tokens

tailwind-theme-builder

Set up Tailwind v4 + shadcn/ui themed UI with dark mode. Install deps, configure CSS variables via @theme inline, wire dark mode toggle, verify. Use whenever the user mentions Tailwind v4, setting up Tailwind theming, shadcn/ui colours, dark mode, or troubleshooting colours not working, tw-animate-css errors, @theme…

jezweb/claude-skills · 98 tokens

design-review

Review a web app or page for visual design quality — layout, typography, spacing, colour, hierarchy, consistency, interaction patterns, and responsive behaviour. Not a UX audit (that checks usability) — this checks whether it looks professional and polished. Produces a design findings report with screenshots.…

jezweb/claude-skills · 108 tokens