frontend-ui-engineering

frontend-ui-engineering is a skill for Claude Code from helderberto/agent-skills. It costs 69 tokens per session (674 once invoked), scanned A, original, MIT.

A planning guide for building frontend components and pages. It helps decide the component’s public inputs, state, data handling, required screen states, responsive behavior, and accessibility before coding.

In plain words
What is it for?
Use it when creating or refactoring a component, page, or reusable design-system building block. It helps shape the work before implementation and later checks.
Why use it?
It prevents common UI problems from being discovered late, such as missing loading or error states, hard-to-use controls, poor mobile behavior, and an overly complicated component interface.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Part of the hb plugin — 41 skills, 4 agents shipped together

Good fit Use it when creating or refactoring a component, page, or reusable design-system building block. It helps shape the work before implementation and later checks.

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

Made for: Claude Code.

Or install hb, the plugin that ships this one along with the rest of its 41 skills, 4 agents.

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-ui-engineering

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/helderberto/agent-skills/frontend-ui-engineering"><img src="https://agentmods.dev/badge/skills/helderberto/agent-skills/frontend-ui-engineering.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 674 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.00069 $0.00674
Opus 5.5 $0.00028 $0.00270
Sonnet 5.5 $0.00014 $0.00135
Haiku 4.5 $0.00007 $0.00067

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

Security

Grade A, and why

frontend-ui-engineering 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 11d 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-ui-engineering/SKILL.md · 36 lines

How it starts

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

Frontend UI Engineering

Decide how to structure a UI unit before writing it, so the choices audits would catch late (accessibility, i18n, bundle cost, missing states) are made up front. Frontend counterpart to codebase-design: a component is a deep module — a lot of behaviour behind a small prop surface. This skill decides; tdd/build implement; the audit skills verify. Framework-agnostic.

1. Classify the unit

Kind Emphasis
Design-system primitive (Button, Input) prop API, variants via props, tokens, a11y contract
Composite component composition, state placement, required states
Page / route data-fetching boundary, layout, loading/error at the route
Refactor of existing UI shrink prop surface, extract states, remove magic values

2. Decision pass — state each choice before coding

  1. Boundary & prop API. Smallest surface that serves callers. Prefer composition (children/slots) over configuration. A growing set of boolean flags (isPrimary, isSmall, isLoading…) is a smell — three booleans is eight states, most untested; reach for a variant/size union or composition.
  2. Where state lives. The lowest owner that still works: local → lifted → server state → URL. No derived state stored twice; compute from source.
  3. Data & async. Decide the fetch boundary (route/loader vs. inside the component) and who owns caching. Keep rendering components separate from fetching ones where practical.
  4. Required UI states. Enumerate and design loading, empty, error, disabled (and partial/optimistic where relevant) now. Happy-path-only is unfinished.
  5. Styling. Design-system tokens, no magic colors/spacing. Variants through props, not one-off overrides.
  6. Responsive. Mobile-first; intentional breakpoints; no fixed widths that break small screens.
  7. Accessibility by construction. Semantic HTML first, ARIA last; keyboard + focus order; a label for every control; visible focus. Full WCAG pass belongs to a11y-audit.
  8. User-facing strings. Through the project's i18n path from the start. Coverage check belongs to i18n.

Read the full file on GitHub · 36 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. 11d ago Changed · +1 lines d91ffe501583
  2. 14d ago Changed adbd4db9c3fd
  3. 1mo ago Changed · -14 tokens per session b6dd3c382962
  4. 1mo ago Changed · -55 lines · -19 tokens per session bb63956ccb03
  5. 1mo ago First seen · 90 lines · 102 tokens per session scan A b788c0e252dc

Subscribe to this mod's changes

frontend-ui-engineering is a skill published in the GitHub repository helderberto/agent-skills (17 stars, last pushed today), licensed MIT. It adds 69 tokens to every session and 674 once invoked, about $0.0003 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-30.

Related

Other skills, from other repositories

frontend-ui-engineering

Builds production-quality, accessible, responsive user-facing UIs. Use when building or modifying interfaces and pages, creating components, implementing layouts, meeting WCAG accessibility requirements, managing state, or when the output needs to look and feel production-quality rather than AI-generated.

addyosmani/agent-skills · 58 tokens

bootstrap

Expert Bootstrap 5 assistance covering 12-column grid system, flexbox utilities, components, and responsive breakpoints. Use when rapidly prototyping responsive, mobile-first web layouts.

G1Joshi/Agent-Skills · 37 tokens

shadcnui

Expert shadcn/ui assistance covering Radix UI primitives, Tailwind CSS styling, copy-paste architecture, and accessibility. Use when building modern React component systems and accessible design systems.

G1Joshi/Agent-Skills · 42 tokens

tailwindcss

Expert Tailwind CSS assistance covering utility classes, responsive variants, arbitrary values, and configuration. Use when styling modern web applications with speed and consistency.

G1Joshi/Agent-Skills · 33 tokens

design-system-architect

Expert guide for designing, building, and maintaining scalable UI design systems with design tokens, headless primitives, Material Design 3 (M3), Tailwind v4 @theme, Modern Web Guidance, and WCAG 2.2 accessibility.

roedyrustam/vibes-plug · 54 tokens

website-design-cloner

Analyzes and reverse-engineers website designs directly from a target URL, extracting layout structures, design tokens (colors, typography, spacing), component hierarchies, visual assets, and responsive behaviors to enable full 1:1 duplication into modern code (Tailwind CSS v4, React/Next.js, HTML/CSS). / Mempelajari…

roedyrustam/vibes-plug · 129 tokens