frontend-standards

frontend-standards is a skill for Claude Code from Vimalk0703/shipworthy. It costs 22 tokens per session (523 once invoked), scanned A, original, MIT.

A collection of conventions for building modern frontend interfaces, the parts of applications that users see and interact with.

In plain words
What is it for?
It helps organize components, choose where state belongs, manage data from servers, decide when browser-side code is needed, and select rendering approaches.
Why use it?
Without shared conventions, components, styling, and application state can become inconsistent and difficult to maintain.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the shipworthy plugin — 66 skills, 7 commands, 3 hooks shipped together

Good fit It helps organize components, choose where state belongs, manage data from servers, decide when browser-side code is needed, and select rendering approaches.

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

Made for: Claude Code.

Or install shipworthy, the plugin that ships this one along with the rest of its 66 skills, 7 commands, 3 hooks.

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-standards

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/vimalk0703/shipworthy/frontend-standards"><img src="https://agentmods.dev/badge/skills/vimalk0703/shipworthy/frontend-standards.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 523 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.00022 $0.00523
Opus 5 $0.00011 $0.00262
Sonnet 5 $0.00004 $0.00105
Haiku 4.5 $0.00002 $0.00052

Measured 9d ago against content hash 3da0956d42d9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

frontend-standards 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 9d 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/frontend-standards/SKILL.md · 67 lines

How it starts

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

Frontend Standards

Component Patterns

File Organization

  • One component per file
  • Co-locate styles, tests, and types with the component
  • Name files after the component: UserProfile.tsx

Component Rules

  • Prefer function components over class components
  • Keep components small — if it exceeds ~150 lines, split it
  • Extract custom hooks for reusable logic
  • Props interfaces defined above the component

Server vs Client Components (Next.js App Router)

  • Default to server components (no 'use client')
  • Add 'use client' ONLY when needed: useState, useEffect, event handlers, browser APIs
  • Keep client components as leaf nodes (small, focused)
  • Never make a layout or page a client component unless absolutely necessary

State Management

Local State

  • useState for component-specific state
  • useReducer for complex state logic within a component

Shared State

  • Lift state to the nearest common parent
  • Use React Context for truly global state (theme, auth, locale)
  • Consider Zustand or Jotai for complex client state
  • Server state: use TanStack Query or SWR (not manual fetch + useState)

Rules

  • State should live as close to where it's used as possible
  • Avoid prop drilling beyond 2 levels — use Context or composition
  • Never store derived data in state (compute it)
  • Never mutate state directly — always create new references

Styling

  • Prefer Tailwind CSS or CSS Modules — not inline styles
  • Follow the project's established styling approach (check architecture.md)
  • Design tokens (colors, spacing, typography) from a single source
  • Responsive by default — mobile-first approach

Data Fetching

  • Server components: fetch directly (Next.js) or in loaders
  • Client components: use data fetching libraries (TanStack Query, SWR)
  • Show loading states for async data
  • Handle error states — don't assume fetches succeed
  • Implement optimistic updates for better UX on mutations

Performance

  • Use React.memo only when profiling shows re-render problems
  • Lazy-load routes and heavy components
  • Optimize images (next/image, WebP, explicit dimensions)
  • Avoid unnecessary re-renders (stable references, proper deps arrays)

Read the full file on GitHub · 67 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. 9d ago First seen · 67 lines · 22 tokens per session scan A 3da0956d42d9

Subscribe to this mod's changes

frontend-standards is a skill published in the GitHub repository Vimalk0703/shipworthy (7 stars, last pushed 5mo ago), licensed MIT. It adds 22 tokens to every session and 523 once invoked, about $0.0001 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.

Related

Other skills, from other repositories

dare-rust-leptos

Guia DARE para desenvolvimento Leptos (Rust + WASM) — decisão CSR vs Fullstack, idioms 0.7, antipatterns, tipos compartilhados server+WASM com cfgattr, workspace misto WASM+nativo, templates de tasks.

dewtech-technologies/dare-method · 64 tokens

dare-frontend-design

Arquitetura frontend DARE para projetos React e Vue. Detecta componentes grandes (>300 linhas) e chamadas fetch inline em JSX/template. Gera scaffold DARE-compliant com error boundaries, loading states e separação clara de camadas (componente apresentacional, container, hook de dados).

dewtech-technologies/dare-method · 66 tokens

team-ui

Orchestrate the UI team through the full UX pipeline: from UX spec authoring through visual design, implementation, review, and polish. Integrates with /ux-design, /ux-review, and studio UX templates.

Donchitos/Claude-Code-Game-Studios · 47 tokens

design-patterns

Detect, suggest, and evaluate GoF design patterns in TypeScript/JavaScript codebases. Use when refactoring code, applying singleton/factory/observer/strategy patterns, reviewing pattern quality, or finding stack-native alternatives for React, Angular, NestJS, and Vue.

FlorianBruniaux/claude-code-ultimate-guide · 59 tokens

landing-page-generator

Generate complete, deploy-ready landing pages from any repository. Use when creating a homepage for an open-source project, building a project website, converting a README into a marketing page, or standardizing landing pages across multiple repos.

FlorianBruniaux/claude-code-ultimate-guide · 48 tokens

accessibility-a11y

WCAG 2.2 compliance, ARIA patterns, keyboard navigation, screen readers, automated testing.

travisjneuman/.claude · 26 tokens