code-style-css

code-style-css is a skill for Claude Code from fubits1/svelte-skills. It costs 37 tokens per session (367 once invoked), scanned A, original, MIT.

A set of code-style rules for CSS, SCSS, and style blocks in Svelte files. It focuses on layout and flow styles such as flexbox and grid, with required CSS nesting conventions.

In plain words
What is it for?
Use it when writing or modifying Svelte styles, CSS, or SCSS, especially layout rules.
Why use it?
It gives style edits a consistent structure and helps avoid adding decorative styling when it was not requested.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Part of the frontend plugin — 13 skills shipped together

Good fit Use it when writing or modifying Svelte styles, CSS, or SCSS, especially layout rules.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fubits1/svelte-skills/code-style-css
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 fubits1/svelte-skills --skill code-style-css
Clone the repo
git clone --depth 1 https://github.com/fubits1/svelte-skills

Made for: Claude Code.

Or install frontend, the plugin that ships this one along with the rest of its 13 skills.

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 code-style-css

README.md
[![agentmods](https://agentmods.dev/badge/skills/fubits1/svelte-skills/code-style-css/github.svg)](https://agentmods.dev/skills/fubits1/svelte-skills/code-style-css)
Your own site
<a href="https://agentmods.dev/skills/fubits1/svelte-skills/code-style-css"><img src="https://agentmods.dev/badge/skills/fubits1/svelte-skills/code-style-css/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 code-style-css

Your own site · 80×15
<a href="https://agentmods.dev/skills/fubits1/svelte-skills/code-style-css"><img src="https://agentmods.dev/badge/skills/fubits1/svelte-skills/code-style-css.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 367 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.
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.00037 $0.00367
Opus 5.5 $0.00015 $0.00147
Sonnet 5.5 $0.00007 $0.00073
Haiku 4.5 $0.00004 $0.00037

Measured 12d ago against content hash c8cfcace5d39, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

code-style-css 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 12d 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.

plugins/frontend/skills/code-style-css/SKILL.md · 24 lines

What it actually says

CSS Code Style

  • Only add layout/flow styles (flex, grid). No decorative styles unless asked.
  • ALWAYS nest CSS and ALWAYS nest with &. For the full nesting workflow (specificity analysis, block ordering, stylelint compliance), use frontend:css-nesting.

Rules for styles you write

These rules apply to styles the task already calls for; they don't license decorative styles you weren't asked for.

  • Never transition: all; list the animated properties. Set the right transform-origin; for SVG, transform a <g> wrapper with transform-box: fill-box; transform-origin: center.
  • Lay out with flex or grid rather than JS measurement. Fix content that overflows instead of hiding scrollbars.
  • Size text containers for short, average and very long content. A flex child that truncates text needs min-width: 0; clamp multi-line text with line-clamp.
  • Full-bleed layouts pad with env(safe-area-inset-*) so notches don't cover content.
  • Number columns and compared numbers use font-variant-numeric: tabular-nums.
  • Group focus with :focus-within on compound controls.
  • Set -webkit-tap-highlight-color on purpose. During a drag, disable text selection (user-select: none; inert placement: frontend:code-style).
  • Give native <select> an explicit background-color and color, or Windows dark mode renders it unreadable.
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. 12d ago Changed · +13 lines c8cfcace5d39
  2. 2mo ago First seen · 11 lines · 37 tokens per session scan A 68536789b96c

Subscribe to this mod's changes

code-style-css is a skill published in the GitHub repository fubits1/svelte-skills (10 stars, last pushed 12d ago), licensed MIT. It adds 37 tokens to every session and 367 once invoked, about $0.0001 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-31.

Related

code-style-css compared with skills from other repositories

code-style-css next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
code-style-cssfubits1/svelte-skillsSkill1012d agoMITA37Claude Code
anti-slop-designsickn33/agentic-awesome-skillsSkill49kyesterdayMITA34Claude Code
chakra-ui-builderchakra-ui/chakra-uiSkill41kyesterdayMITA214Claude Code, Codex
visual-ralphYeachan-Heo/oh-my-codexSkill34k4d agoMITA52Codex
open-design-setupcompozy/compozySkill2.8kyesterdayMITA67Claude Code, Codex
edit-sitemicrosoft/power-platform-skillsSkill1.1kyesterdayMITA104Claude Code
frontend-visual-qadaymade/claude-code-skillsSkill1.5kyesterdayMITA125Claude Code, Codex