frontend-design

frontend-design is a skill for Claude Code, Codex from tmj-90/gaffer. It costs 96 tokens per session (2,375 once invoked), scanned A, original, Apache-2.0.

A design guide for building distinctive user-facing web screens such as landing pages, dashboards, and marketing sections.

In plain words
What is it for?
It helps choose a visual style and apply it consistently when creating or redesigning frontend screens where appearance matters.
Why use it?
It helps avoid interfaces that look like generic templates and provides direction for making visual decisions before coding.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

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.

agentmods
npx agentmods add skills/tmj-90/gaffer/frontend-design
Any agent
npx skills add tmj-90/gaffer --skill frontend-design
Clone the repo
git clone --depth 1 https://github.com/tmj-90/gaffer

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 frontend-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/tmj-90/gaffer/frontend-design.svg)](https://agentmods.dev/skills/tmj-90/gaffer/frontend-design)
Your own site
<a href="https://agentmods.dev/skills/tmj-90/gaffer/frontend-design"><img src="https://agentmods.dev/badge/skills/tmj-90/gaffer/frontend-design.svg" alt="Measured on agentmods" height="20"></a>
Per session 96 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,375 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00096 $0.02375
Opus 5 $0.00048 $0.01188
Sonnet 5 $0.00019 $0.00475
Haiku 4.5 $0.00010 $0.00237

Measured 5d ago against content hash 90d485f31cad, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

frontend-design 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 5d 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.

runner/skills/frontend-design/SKILL.md · 154 lines

How it starts

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

Design distinctive, production-grade frontend

Build frontend that looks intentional, opinionated, and specific to the product — not a default template. The bar is: would this look believable in a real product screenshot? This pack is about visual quality and design judgement; pair it with frontend-component, frontend-a11y, and frontend-responsive for structure, semantics, and breakpoints, and with design-system for the structural layer beneath the aesthetic — the three-tier token architecture (primitive → semantic → component) and full component state specs. This pack decides how it should look; design-system decides how that look is structured so it scales. Don't re-derive tokens or component-state matrices here — consume them from there.

Before you write any code — pick a direction

Generic defaults ("clean minimal") are not a direction. Commit to a specific one and let it drive every decision:

  • Editorial / magazine, Swiss / International, Neo-brutalism, Bento layouts, Glassmorphism with real depth, dark or light luxury (disciplined contrast), Scrollytelling, retro-futurism, 3D integration.
  • Do not default to dark mode. Choose the direction the product wants.
  • Define the palette deliberately (semantic roles, not one accent on grey-on-white) and a real typography pairing strategy — pick fonts with character, with a reason.
  • Read the repo's existing tokens/brand first. If a brand exists, extend it in its idiom; do not re-pitch the aesthetic.

Required qualities

Every meaningful surface must demonstrate at least four:

  1. Hierarchy through scale contrast — a real type scale, not uniform sizes.
  2. Intentional rhythm in spacing — not the same padding on everything.
  3. Depth / layering — overlap, shadows, surfaces, or motion; not a flat stack.
  4. Typography with character and a deliberate pairing.
  5. Colour used semantically, not just decoratively.
  6. Designed hover / focus / active states — interaction feels considered.
  7. Grid-breaking editorial or bento composition where it fits.
  8. Texture, grain, or atmosphere when the direction calls for it.
  9. Motion that clarifies flow, never distracts.
  10. Data visualisation treated as part of the design system, not an afterthought.

Read the full file on GitHub · 154 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. 5d ago First seen · 154 lines · 96 tokens per session scan A 90d485f31cad

Subscribe to this mod's changes

frontend-design is a skill published in the GitHub repository tmj-90/gaffer (2 stars, last pushed 5d ago), licensed Apache-2.0. It adds 96 tokens to every session and 2,375 once invoked, about $0.0005 per session on Opus 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.