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 3mo 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 3mo 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. 3mo 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 (57 stars, last pushed 2mo 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

ui-and-theme compared with skills from other repositories

ui-and-theme next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ui-and-themepinebasedev/svelteflareSkill572mo agoMITA159Claude Code, Codex
ui-ux-design-best-practiceslouisbrulenaudet/monorepo-templateSkill19todayApache-2.0A96Claude Code, Codex
impeccablef-amine/vibe-stackSkill195mo agoMITA189Claude Code
design-loopjezweb/claude-skillsSkill1.1k1mo agoMITA130Claude Code
color-palettejezweb/claude-skillsSkill1.1k1mo agoMITA87Claude Code
tailwind-theme-builderjezweb/claude-skillsSkill1.1k1mo agoMITA98Claude Code
design-reviewjezweb/claude-skillsSkill1.1k1mo agoMITA108Claude Code