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.
npx skills add punkadillo/figma-code-composer --skill frontend-css-patternsgit clone --depth 1 https://github.com/punkadillo/figma-code-composerWrote 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.
[](https://agentmods.dev/skills/punkadillo/figma-code-composer/frontend-css-patterns)<a href="https://agentmods.dev/skills/punkadillo/figma-code-composer/frontend-css-patterns"><img src="https://agentmods.dev/badge/skills/punkadillo/figma-code-composer/frontend-css-patterns/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.
<a href="https://agentmods.dev/skills/punkadillo/figma-code-composer/frontend-css-patterns"><img src="https://agentmods.dev/badge/skills/punkadillo/figma-code-composer/frontend-css-patterns.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00022 | $0.00921 |
| Opus 5.5 | $0.00009 | $0.00368 |
| Sonnet 5.5 | $0.00004 | $0.00184 |
| Haiku 4.5 | $0.00002 | $0.00092 |
Grade A, and why
frontend-css-patterns 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.
How it starts
The opening of the file, as written. The whole thing — 143 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Frontend CSS Patterns
Implementation patterns for distinctive visual design.
Design Token Integration
If the project contains a DESIGN.md file, use its tokens as the source of truth:
/* Map DESIGN.md tokens to CSS custom properties */
:root {
--color-primary: /* from {colors.primary} */;
--color-accent: /* from {colors.accent} */;
--font-display: /* from {typography.display.fontFamily} */;
--spacing-md: /* from {spacing.md} */;
}
Do not invent colors, fonts, or spacing values when tokens are defined. Resolve {token.ref} references from YAML frontmatter before generating CSS.
Typography
/* AVOID: Generic defaults */
font-family: Inter, system-ui, sans-serif;
/* PREFER: Distinctive pairings */
--font-display: 'Clash Display', 'Space Grotesk', sans-serif;
--font-body: 'Satoshi', 'General Sans', sans-serif;
/* Specific moods */
--font-luxury: 'Cormorant Garamond', serif;
--font-brutalist: 'JetBrains Mono', monospace;
--font-playful: 'Fredoka', 'Quicksand', sans-serif;
Typography scale:
:root {
--text-hero: clamp(3rem, 10vw, 8rem);
--text-display: clamp(2rem, 5vw, 4rem);
--text-heading: clamp(1.5rem, 3vw, 2.5rem);
--text-body: clamp(1rem, 1.5vw, 1.125rem);
}
Color & Theme
:root {
/* Dominant + sharp accent */
--color-bg: #0a0a0a;
--color-fg: #fafafa;
--color-accent: #ff3366;
--color-accent-muted: #ff336633;
}
Commit to: high contrast, limited palette (3-4 colors), accent colors that pop.
Motion
Focus on high-impact moments over scattered micro-interactions:
@keyframes fadeInUp {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
.reveal {
animation: fadeInUp 0.6s ease-out forwards;
}
.reveal:nth-child(1) { animation-delay: 0.1s; }
.reveal:nth-child(2) { animation-delay: 0.2s; }
Focus on: page load sequences, scroll-triggered reveals, state transitions.
Spatial Composition
Break the grid:
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.
- 3mo ago First seen · 143 lines · 22 tokens per session scan A 85af357f7d42
frontend-css-patterns is a skill published in the GitHub repository punkadillo/figma-code-composer (3 stars, last pushed 3mo ago), licensed MIT. It adds 22 tokens to every session and 921 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-09-03.
frontend-css-patterns compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| frontend-css-patternspunkadillo/figma-code-composer | Skill | 3 | 3mo ago | MIT | A | 22 | Claude Code, Codex |
| genuiLodyAI/Lody | Skill | 1.9k | today | Apache-2.0 | A | 66 | Claude Code, Codex |
| moai-design-toolsmodu-ai/moai-adk | Skill | 1.3k | today | Apache-2.0 | A | 45 | Claude Code |
| mcp-host-styling-integrationa5c-ai/babysitter | Skill | 1.9k | 1mo ago | MIT | A | 44 | Claude Code |
| moai-ref-ui-polishmodu-ai/moai-adk | Skill | 1.3k | today | Apache-2.0 | A | 98 | Claude Code |
| ui-first-builderwasintoh/toh-framework | Skill | 99 | 24d ago | MIT | A | 75 | Claude Code, Codex |
| gen-uiKunAgent/Kun | Skill | 6.4k | 2d ago | none | A | 27 | Claude Code, Codex |