full-stack-design-skills: Skill for Claude Code

.claude/skills/css-styling-pixel-perfect/SKILL.md

css-styling-pixel-perfect is a skill for Claude Code from plugin87/full-stack-design-skills. It costs 126 tokens per session (2,828 once invoked), scanned A, original, MIT.

A guide to organising CSS, the language that controls how web pages look. It covers approaches such as BEM naming, Tailwind utility classes, CSS-in-JS, and CSS Modules for styling components.

In plain words
What is it for?
Use it when designing CSS architecture, configuring Tailwind, styling components, using CSS-in-JS or CSS Modules, building responsive layouts, and improving styling performance.
Why use it?
It helps prevent stylesheets from becoming difficult to maintain, inconsistent, or prone to conflicting rules. It also supports choosing a styling approach that fits the project.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is plugin87/full-stack-design-skills's own configuration. It tells Claude Code how to work on full-stack-design-skills itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything full-stack-design-skills configures →

Reuse

Borrowing it

Nothing to install: this file belongs to plugin87/full-stack-design-skills. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/plugin87/full-stack-design-skills/main/.claude/skills/css-styling-pixel-perfect/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/plugin87/full-stack-design-skills

Made for: Claude Code.

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 css-styling-pixel-perfect

README.md
[![agentmods](https://agentmods.dev/badge/skills/plugin87/full-stack-design-skills/css-styling-pixel-perfect/github.svg)](https://agentmods.dev/skills/plugin87/full-stack-design-skills/css-styling-pixel-perfect)
Your own site
<a href="https://agentmods.dev/skills/plugin87/full-stack-design-skills/css-styling-pixel-perfect"><img src="https://agentmods.dev/badge/skills/plugin87/full-stack-design-skills/css-styling-pixel-perfect/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 css-styling-pixel-perfect

Your own site · 80×15
<a href="https://agentmods.dev/skills/plugin87/full-stack-design-skills/css-styling-pixel-perfect"><img src="https://agentmods.dev/badge/skills/plugin87/full-stack-design-skills/css-styling-pixel-perfect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 126 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,828 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.00126 $0.02828
Opus 5.5 $0.00050 $0.01131
Sonnet 5.5 $0.00025 $0.00566
Haiku 4.5 $0.00013 $0.00283

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

Security

Grade A, and why

css-styling-pixel-perfect 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 2mo 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.

.claude/skills/css-styling-pixel-perfect/SKILL.md · 544 lines

How it starts

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

CSS Styling & Pixel-Perfect Design

Practical CSS patterns and strategies for building scalable, maintainable, and performant stylesheets.

CSS is often overlooked, but architectural decisions made early determine scalability, maintainability, and performance. Understanding CSS architecture, choosing the right approach (BEM vs Tailwind vs CSS-in-JS), and applying best practices is essential for professional development.


Core Principle: Choose an Architecture

CSS Architecture Options

Traditional CSS (BEM, OOCSS):

  • Classes and naming conventions
  • Organized by specificity
  • Pros: Simple, works everywhere
  • Cons: Class naming is hard, specificity conflicts

Utility-First (Tailwind):

  • Predefined utility classes
  • Build custom designs from utilities
  • Pros: Fast development, consistent spacing/colors
  • Cons: HTML feels cluttered, learning curve

CSS-in-JS (styled-components, emotion):

  • Write CSS in JavaScript
  • Scoped to component
  • Pros: No naming conflicts, dynamic styles
  • Cons: Runtime cost, harder to debug

CSS Modules:

  • Local-scoped CSS
  • Imports into components
  • Pros: No naming conflicts, traditional CSS
  • Cons: Extra build step, less reusable

Architecture Pattern 1: BEM (Block Element Modifier)

Naming convention: .block__element--modifier

/* Block: main component */
.button { ... }

/* Element: part of block */
.button__text { ... }

/* Modifier: state or variation */
.button--primary { ... }
.button--disabled { ... }

/* Usage */
.button--primary.button--large { ... }

HTML:

<button class="button button--primary">
  <span class="button__text">Click me</span>
</button>

Pros:

  • Clear structure
  • No cascading issues
  • Reusable across projects

Cons:

  • Verbose class names
  • Takes discipline to maintain

Architecture Pattern 2: Tailwind CSS (Utility-First)

Apply utility classes to build components:

<!-- Direct in HTML -->
<button class="px-4 py-2 bg-blue-500 text-white rounded hover:bg-blue-600 focus:outline-none focus:ring-2">
  Click me
</button>

<!-- Or extract to component -->
<button class="btn btn-primary">Click me</button>

Read the full file on GitHub · 544 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2mo ago First seen · 544 lines · 0 tokens per session scan A ecf4a495dce6

Subscribe to this mod's changes

css-styling-pixel-perfect is a skill published in the GitHub repository plugin87/full-stack-design-skills (11 stars, last pushed 3mo ago), licensed MIT. It adds 126 tokens to every session and 2,828 once invoked, about $0.0005 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

css-styling-pixel-perfect compared with skills from other repositories

css-styling-pixel-perfect next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
css-styling-pixel-perfectplugin87/full-stack-design-skillsSkill113mo agoMITA126Claude Code
anti-slop-designsickn33/agentic-awesome-skillsSkill49kyesterdayMITA34Claude Code
chakra-ui-builderchakra-ui/chakra-uiSkill41kyesterdayMITA214Claude Code, Codex
visual-ralphYeachan-Heo/oh-my-codexSkill34k3d agoMITA52Codex
open-design-setupcompozy/compozySkill2.8kyesterdayMITA67Claude Code, Codex
edit-sitemicrosoft/power-platform-skillsSkill1.1kyesterdayMITA104Claude Code
frontend-visual-qadaymade/claude-code-skillsSkill1.5kyesterdayMITA125Claude Code, Codex