frontend-dev-guidelines

frontend-dev-guidelines is a skill for Claude Code, Codex from KunanonJ/ai-skills-hub. It costs 37 tokens per session (2,038 once invoked), scanned A, original, MIT.

A set of rules for building React and TypeScript user interfaces with consistent structure, data loading, type checking, and performance practices. React is a tool for building web interfaces, while TypeScript adds checks to JavaScript code.

In plain words
What is it for?
Use it when creating or changing React components, pages, or data-related features. It helps organize frontend code and review risks such as rendering delays, large bundles, and layout shifts.
Why use it?
It reduces inconsistent code, avoidable slowdowns, and difficult-to-maintain components. It also provides a way to assess complexity before adding a page or feature.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is import { featureApi } from '../api/featureApi';.

Good fit Use it when creating or changing React components, pages, or data-related features. It helps organize frontend code and review risks such as rendering delays, large bundles, and layout shifts.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/KunanonJ/ai-skills-hub
agentmods
npx agentmods add skills/kunanonj/ai-skills-hub/frontend-dev-guidelines

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-dev-guidelines

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/kunanonj/ai-skills-hub/frontend-dev-guidelines"><img src="https://agentmods.dev/badge/skills/kunanonj/ai-skills-hub/frontend-dev-guidelines.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,038 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.00037 $0.02038
Opus 5 $0.00018 $0.01019
Sonnet 5 $0.00007 $0.00408
Haiku 4.5 $0.00004 $0.00204

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

Security

Grade A, and why

frontend-dev-guidelines 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 10d 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.

.agents/skills/frontend-dev-guidelines/SKILL.md · 370 lines

How it starts

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

Frontend Development Guidelines

(React · TypeScript · Suspense-First · Production-Grade)

You are a senior frontend engineer operating under strict architectural and performance standards.

Your goal is to build scalable, predictable, and maintainable React applications using:

  • Suspense-first data fetching
  • Feature-based code organization
  • Strict TypeScript discipline
  • Performance-safe defaults

This skill defines how frontend code must be written, not merely how it can be written.


1. Frontend Feasibility & Complexity Index (FFCI)

Before implementing a component, page, or feature, assess feasibility.

FFCI Dimensions (1–5)

Dimension Question
Architectural Fit Does this align with feature-based structure and Suspense model?
Complexity Load How complex is state, data, and interaction logic?
Performance Risk Does it introduce rendering, bundle, or CLS risk?
Reusability Can this be reused without modification?
Maintenance Cost How hard will this be to reason about in 6 months?

Score Formula

FFCI = (Architectural Fit + Reusability + Performance) − (Complexity + Maintenance Cost)

Range: -5 → +15

Interpretation

FFCI Meaning Action
10–15 Excellent Proceed
6–9 Acceptable Proceed with care
3–5 Risky Simplify or split
≤ 2 Poor Redesign

2. Core Architectural Doctrine (Non-Negotiable)

1. Suspense Is the Default

  • useSuspenseQuery is the primary data-fetching hook
  • No isLoading conditionals
  • No early-return spinners

2. Lazy Load Anything Heavy

Read the full file on GitHub · 370 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. 10d ago First seen · 370 lines · 37 tokens per session scan A 20b4e743d94e

Subscribe to this mod's changes

frontend-dev-guidelines is a skill published in the GitHub repository KunanonJ/ai-skills-hub (5 stars, last pushed 1mo ago), licensed MIT. It adds 37 tokens to every session and 2,038 once invoked, about $0.0002 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

frontend-patterns

A collection of frontend development patterns for React and Next.js, including component composition, shared state, and performance practices.

loulanyue/awesome-claude-notes · 41 tokens

coding-standards

A set of general coding standards and practical patterns for TypeScript, JavaScript, React, and Node.js. It covers readable naming, simple designs, avoiding repetition, and delaying unnecessary features.

loulanyue/awesome-claude-notes · 41 tokens

generic-react-ux-designer

Professional UI/UX design expertise for React applications. Covers design thinking, user psychology (Hick's/Fitts's/Jakob's Law), visual hierarchy, interaction patterns, accessibility, performance-driven design, and design critique. Use when designing features, improving UX, solving user problems, or conducting design…

travisjneuman/.claude · 69 tokens

generic-react-feature-developer

Guide feature development for React applications with architecture focus. Covers Zustand/Redux patterns, IndexedDB usage, component systems, lazy loading strategies, and seamless integration. Use when adding new features, refactoring existing code, or planning major changes.

travisjneuman/.claude · 53 tokens

generic-react-code-reviewer

Review React/TypeScript code for bugs, security vulnerabilities, performance issues, accessibility gaps, and CLAUDE.md workflow compliance. Enforces TypeScript strict mode, GPU-accelerated animations, WCAG AA accessibility, bundle size limits, and surgical simplicity. Use when completing features, before commits, or…

travisjneuman/.claude · 71 tokens

generic-react-design-system

Complete design system reference for React applications. Covers colors, typography, spacing, component patterns, glassmorphism effects, GPU-accelerated animations, and WCAG AA accessibility. Use when implementing UI, choosing colors, applying spacing, creating components, or ensuring brand consistency.

travisjneuman/.claude · 59 tokens