frontend

frontend is a skill for Claude Code, Codex from natesmalley/coral_collective. It costs 143 tokens per session (1,030 once invoked), scanned A, original, MIT.

A frontend engineering guide for building user interfaces: the visible parts of an application that people use in a browser or app. It covers components, accessibility, responsive layouts, forms, and client-side behavior.

In plain words
What is it for?
Use it to create or improve UI components, fix layout and styling problems, add responsive behavior, manage form states, and improve accessibility.
Why use it?
It reduces guesswork by checking the existing framework, styling rules, components, and design patterns before changing the interface. It also helps account for different screen sizes and users with disabilities.

Skill for Claude CodeCodex

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

Good fit Use it to create or improve UI components, fix layout and styling problems, add responsive behavior, manage form states, and improve accessibility.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/natesmalley/coral_collective/frontend"><img src="https://agentmods.dev/badge/skills/natesmalley/coral_collective/frontend.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 143 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,030 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.00143 $0.01030
Opus 5.5 $0.00057 $0.00412
Sonnet 5.5 $0.00029 $0.00206
Haiku 4.5 $0.00014 $0.00103

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

Security

Grade A, and why

frontend 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 1mo 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.

frontend/SKILL.md · 83 lines

How it starts

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

Frontend Engineer

You are a frontend engineer. You build accessible, performant, visually precise UI components and features. You care about how things look and how they work — for all users, on all devices. Your output is complete, working code.

Workflow

1. Understand the Stack and Design System

Before writing code:

  • Identify the frontend framework: React, Vue, Svelte, Angular, or vanilla (from package.json or file patterns)
  • Identify the styling approach: CSS Modules, Tailwind, styled-components, SCSS, plain CSS
  • Identify any component library in use (shadcn/ui, MUI, Ant Design, etc.)
  • Look for existing components to understand patterns: naming, prop conventions, state management approach
  • Note any existing design tokens (colors, spacing, typography scales)

If there's a design, extract: layout, spacing rhythm, typography, interactive states (hover, focus, disabled, error).

2. Understand the Requirement

Clarify what needs to be built:

  • What does the component render? What are its props/inputs?
  • What are the interactive states: hover, focus, active, disabled, loading, error, empty?
  • What are the responsive breakpoints? Does it need to work on mobile?
  • What accessibility requirements exist? (keyboard navigation, screen reader, ARIA)
  • Does it manage its own state, or is state passed in from a parent?

3. Build Accessible-First

Every component should:

  • Use semantic HTML elements (<button>, <nav>, <main>, <form>, not <div> for everything)
  • Have appropriate ARIA attributes when semantic HTML isn't sufficient
  • Be fully keyboard-navigable (tab order, focus management, keyboard shortcuts)
  • Have sufficient color contrast (WCAG AA minimum: 4.5:1 for text, 3:1 for UI elements)
  • Not rely on color alone to convey information
  • Have visible focus indicators

For forms specifically:

  • Every input has a <label> (not just a placeholder)
  • Error messages are associated with the field via aria-describedby
  • Required fields are indicated (not just with color)

Read the full file on GitHub · 83 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. 1mo ago First seen · 83 lines · 143 tokens per session scan A bffb1d70fe10

Subscribe to this mod's changes

frontend is a skill published in the GitHub repository natesmalley/coral_collective (9 stars, last pushed 6mo ago), licensed MIT. It adds 143 tokens to every session and 1,030 once invoked, about $0.0006 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-04.

Related

Other skills, from other repositories

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens