frontend-coding

frontend-coding is a skill for Claude Code, Codex from DauQuangThanh/hanoi-rainbow. It costs 93 tokens per session (1,018 once invoked), scanned A, original, MIT.

Frontend development guidance for building web applications with tools such as React, Vue, Angular, Svelte, TypeScript, and browser APIs.

In plain words
What is it for?
Use it when building components, managing application state, adding type safety, improving loading speed, supporting assistive technologies, or writing frontend tests.
Why use it?
It helps keep user-interface code organized, responsive, accessible, and testable as the application grows.

Skill for Claude CodeCodex

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

Good fit Use it when building components, managing application state, adding type safety, improving loading speed, supporting assistive technologies, or writing frontend tests.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/dauquangthanh/hanoi-rainbow/frontend-coding"><img src="https://agentmods.dev/badge/skills/dauquangthanh/hanoi-rainbow/frontend-coding.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 93 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,018 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.00093 $0.01018
Opus 5 $0.00046 $0.00509
Sonnet 5 $0.00019 $0.00204
Haiku 4.5 $0.00009 $0.00102

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

Security

Grade A, and why

frontend-coding 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 8d 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-coding/SKILL.md · 134 lines

How it starts

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

Frontend Coding

Overview

Expert frontend development guidance covering React, Vue, Angular, TypeScript, state management, component architecture, performance optimization, accessibility, testing, and modern web APIs.

Core Capabilities

  1. Framework Expertise - React, Vue, Angular, Svelte
  2. TypeScript - Type-safe development
  3. State Management - Redux, Vuex, Pinia, Context API
  4. Component Patterns - Composition, hooks, composables
  5. Performance - Code splitting, lazy loading, optimization
  6. Accessibility - WCAG compliance, ARIA
  7. Testing - Jest, Testing Library, Cypress

Quick Start

React Component Example:

import React, { useState, useEffect } from 'react';

interface User {
  id: number;
  name: string;
}

export const UserList: React.FC = () => {
  const [users, setUsers] = useState<User[]>([]);
  const [loading, setLoading] = useState(true);

  useEffect(() => {
    fetch('/api/users')
      .then(res => res.json())
      .then(data => {
        setUsers(data);
        setLoading(false);
      });
  }, []);

  if (loading) return <div>Loading...</div>;

  return (
    <ul>
      {users.map(user => (
        <li key={user.id}>{user.name}</li>
      ))}
    </ul>
  );
};

Critical Tips

  1. Use TypeScript - Type safety prevents runtime errors
  2. Component composition - Build reusable, composable components
  3. Performance matters - Memoization, lazy loading, code splitting
  4. Accessibility first - WCAG compliance from the start
  5. Test thoroughly - Unit, integration, E2E testing

Framework-Specific Guidance

React Development - See react-development.md for:

  • Functional components and hooks (useState, useEffect, useCallback, useMemo)
  • Custom hooks and composition patterns
  • Context API and prop drilling solutions
  • React Server Components and Next.js

React Advanced Patterns - See react-patterns.md for:

Read the full file on GitHub · 134 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. 8d ago First seen · 134 lines · 93 tokens per session scan A 656bef85a229

Subscribe to this mod's changes

frontend-coding is a skill published in the GitHub repository DauQuangThanh/hanoi-rainbow (16 stars, last pushed 7mo ago), licensed MIT. It adds 93 tokens to every session and 1,018 once invoked, about $0.0005 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-typescript-rules

Applies React/TypeScript type safety, component design, and state management rules. Use when implementing React components.

shinpr/ai-coding-project-boilerplate · 29 tokens

angular

Use when building, refactoring, or debugging Angular (v20/21+): standalone components, signals, zoneless change detection, @if/@for/@defer control flow, inject() DI, resource()/httpResource(), RxJS interop, NgRx SignalStore, ng CLI. NOT React (that is react), NOT Next.js (that is nextjs), NOT a TypeScript language…

ericrisco/rsc-harness · 89 tokens

shared-tooling-biome

Biome v2 unified linter, formatter, and import organizer — single Rust-powered tool replacing ESLint + Prettier with 97% Prettier compatibility and 20x faster performance.

agents-inc/skills · 44 tokens

migrate

Code migration assistant — upgrade frameworks, convert languages, modernize patterns.

vikisingh23/neuraforge-ai · 16 tokens

typescript-expert

Use this skill when writing or reviewing TypeScript/JavaScript code. Covers modern TS patterns, React best practices, Node.js patterns, type system mastery, bundler config, testing, and production-...

ApexIQ/skillsmith · 45 tokens

react-dev

This skill should be used when building React components with TypeScript, typing hooks, handling events, or when React TypeScript, React 19, Server Components are mentioned. Covers type-safe patterns for React 18-19 including generic components, proper event typing, and routing integration (TanStack Router, React…

saajunaid/caddis-plugin · 66 tokens