frontend-implementation

frontend-implementation is a skill for Claude Code from mae616/design-skills. It costs 35 tokens per session (1,337 once invoked), scanned A, original, MIT.

A practical guide for turning visual designs and interface requirements into website code. It covers reusable components, responsive layouts, typography, and states such as loading, errors, and empty results.

In plain words
What is it for?
Use it when converting Figma or other designs to code, building interface components, styling pages, or fixing responsive layout problems.
Why use it?
It helps avoid fragile interfaces built from fixed sizes and spacing adjustments that break with different screen sizes or content.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Use it when converting Figma or other designs to code, building interface components, styling pages, or fixing responsive layout problems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mae616/design-skills/frontend-implementation
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 mae616/design-skills --skill frontend-implementation
Clone the repo
git clone --depth 1 https://github.com/mae616/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 frontend-implementation

README.md
[![agentmods](https://agentmods.dev/badge/skills/mae616/design-skills/frontend-implementation/github.svg)](https://agentmods.dev/skills/mae616/design-skills/frontend-implementation)
Your own site
<a href="https://agentmods.dev/skills/mae616/design-skills/frontend-implementation"><img src="https://agentmods.dev/badge/skills/mae616/design-skills/frontend-implementation/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 frontend-implementation

Your own site · 80×15
<a href="https://agentmods.dev/skills/mae616/design-skills/frontend-implementation"><img src="https://agentmods.dev/badge/skills/mae616/design-skills/frontend-implementation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,337 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.00035 $0.01337
Opus 5.5 $0.00014 $0.00535
Sonnet 5.5 $0.00007 $0.00267
Haiku 4.5 $0.00003 $0.00134

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

Security

Grade A, and why

frontend-implementation 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.

skills/frontend-implementation/SKILL.md · 130 lines

How it starts

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

Frontend Implementation Skill

When to Apply

Apply this skill when the request involves:

  • UI implementation, design-to-code, Figma to code, component implementation, styling, responsive design, fixing broken UI
  • UI実装、デザインから実装、Figmaから実装、コンポーネント実装、スタイル調整、レスポンシブ対応、UIの崩れ修正
  • Translating any design tool output (Figma/Pencil/Canva/sketches) to code

Core Principles

  • Goal is not pixel-perfect copying, but maintaining ratios, alignment, resilience, and consistency.
  • Translate, don't transcribe. Design tool values (px) are references; implementation uses scales, ratios, and structure.
  • Fixed values are exceptions. If using fixed values, articulate why (spec requirement, media, tap target, etc.).

Design Philosophy (Decision Rules)

  1. UI is a set of constraints, not a picture. Include states (loading/error/empty/disabled) to be complete.
  2. Don't create alignment with margin tweaks. Use structure (flex/grid) and gap.
  3. Avoid fixed heights. Consider min/max/overflow first.
  4. Typography is role-based. Don't proliferate by copying values.
  5. Handle exceptions upfront. Long text, zero items, failures, delays—no afterthoughts.
  6. Articulate design intent first (what to emphasize, how to guide the eye), then create structure that preserves it.
  7. Width follows the viewport. UI should adapt to screen width (SCALE/FILL intent); don't just crop from the left.

Translation Process (Design Tool → Code)

1) Read Intent Before Numbers

  • Purpose (what should users understand/do first on this screen)
  • Visual flow (first → second → last thing to see)
  • Emphasis (hero / supporting / background elements)
  • Hierarchy (parent-child, groupings)
  • Stretch/state intent (Auto Layout / Constraints / Variants)
  • Spacing rules (gap/padding patterns)
  • Alignment (what aligns to what)
  • Variable elements (text length, list count, image ratio, input values)

2) Convert to Implementation

  • px → Round to scale (e.g., 4/8/12/16/24/32/40/48)
  • font-size → Map to roles (heading/body/caption)
  • Local margin tweaks → Convert to layout structure (flex/grid/gap, clarify parent-child responsibilities)
  • Fixed width/height → Convert to constraints (min/max, wrap, ellipsis, overflow)
  • Width design → Separate background/container/content responsibilities

Read the full file on GitHub · 130 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. 2mo ago First seen · 130 lines · 35 tokens per session scan A a2a3b1719f45

Subscribe to this mod's changes

frontend-implementation is a skill published in the GitHub repository mae616/design-skills (11 stars, last pushed 9mo ago), licensed MIT. It adds 35 tokens to every session and 1,337 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

frontend-implementation compared with skills from other repositories

frontend-implementation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
frontend-implementationmae616/design-skillsSkill119mo agoMITA35Claude Code
webgl-holographic-foilnexu-io/open-designSkill106kyesterdayApache-2.0A41Claude Code, Codex
html-ppt-hermes-cyber-terminalnexu-io/open-designSkill106kyesterdayApache-2.0A53Claude Code, Codex
html-ppt-taste-brutalistnexu-io/open-designSkill106kyesterdayApache-2.0A78Claude Code, Codex
visual-ralphYeachan-Heo/oh-my-codexSkill34k4d agoMITA52Codex
glance-canonical-layoutsandroid/skillsSkill10kyesterdayApache-2.0A56Claude Code
accessibilitymicrosoft/hve-coreSkill1.6kyesterdayMITA47Claude Code