frontend

frontend is a skill for Claude Code, Codex from wewpellex21/code-sensei. It costs 37 tokens per session (715 once invoked), scanned A, a copy of frontend, MIT.

A teaching guide for React, a JavaScript library for building web pages from reusable components. It explains components, inputs, and changing data using simple examples and questions.

In plain words
What is it for?
Use it while working with React components, JSX files, application state, and component settings such as props.
Why use it?
It helps developers understand the structure and behaviour of React code instead of treating a large web page as one file. The explanations connect unfamiliar terms to everyday ideas.

Skill for Claude CodeCodex

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

Good fit Use it while working with React components, JSX files, application state, and component settings such as props.

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

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/wewpellex21/code-sensei/frontend/github.svg)](https://agentmods.dev/skills/wewpellex21/code-sensei/frontend)
Your own site
<a href="https://agentmods.dev/skills/wewpellex21/code-sensei/frontend"><img src="https://agentmods.dev/badge/skills/wewpellex21/code-sensei/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/wewpellex21/code-sensei/frontend"><img src="https://agentmods.dev/badge/skills/wewpellex21/code-sensei/frontend.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 715 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 100% copy Near-identical to another mod 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.00715
Opus 5.5 $0.00015 $0.00286
Sonnet 5.5 $0.00007 $0.00143
Haiku 4.5 $0.00004 $0.00072

Measured 1mo ago against content hash 9a4bc946bb1e, 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.

Origin

This is a copy

100% identical to frontend — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/frontend/SKILL.md · 52 lines

How it starts

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

Frontend Development — CodeSensei Teaching Module

React

  • Analogy: React lets you build a webpage out of LEGO bricks. Each brick (component) is a self-contained piece that knows how to display itself. You snap them together to build the full page.
  • Key insight: Instead of one giant HTML file, React breaks the page into small, reusable pieces. A "Navbar" component, a "Card" component, a "Button" component — each one independent.

Components

  • Analogy: A component is like a custom sticker. You design it once (define the component), then stick it anywhere on the page as many times as you want.
  • Teaching flow:
    1. A component is a function that returns HTML-like code (JSX)
    2. Components can receive data through "props" (like settings or configuration)
    3. Components can have their own memory through "state"
  • Quiz: "If we have a 'UserCard' component, how many times can we use it on a page?"

Props

  • Analogy: Props are like the settings on a TV remote. The TV (component) is always the same, but you can change the channel, volume, and brightness (props) to customize what you see.
  • <UserCard name="Juan" role="CEO" /> — the component receives name and role as props
  • Key insight: Props flow DOWN. A parent component passes data to its children, not the other way around.

State (useState)

  • Analogy: State is the component's personal notebook. It remembers things that can change — like whether a menu is open, what the user typed, or how many items are in a cart.
  • Key insight: When state changes, React automatically re-draws that part of the page. You don't have to manually update the HTML — just change the state and React handles the rest.
  • Quiz: "If a counter starts at 0 and the user clicks '+' three times, what should the state be?"

useEffect

  • Analogy: A "when this happens, do that" instruction. Like setting an alarm — when the component first appears, go fetch the latest data from the server.
  • Key insight: Effects run AFTER the component displays. They're for side effects — things that happen outside the component itself, like loading data or starting a timer.

Read the full file on GitHub · 52 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 · 52 lines · 37 tokens per session scan A 9a4bc946bb1e

Subscribe to this mod's changes

frontend is a skill published in the GitHub repository wewpellex21/code-sensei (3 stars, last pushed 12d ago), licensed MIT. It adds 37 tokens to every session and 715 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to frontend, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

senior-frontend

Frontend development skill for React, Next.js, TypeScript, and Tailwind CSS applications. Use when building React components, optimizing Next.js performance, analyzing bundle sizes, scaffolding frontend projects, implementing accessibility, or reviewing frontend code quality.

composio-community/awesome-claude-plugins · 52 tokens

artifacts-builder

Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.

composio-community/awesome-claude-plugins · 63 tokens

svg-mastery

Expert knowledge for working with SVG (Scalable Vector Graphics) — optimization, embedding, animation, accessibility, responsive scaling, React integration, filters, and programmatic creation. Use when the user asks to "optimize SVG", "clean up SVG", "reduce SVG file size", "embed SVG in HTML", "inline SVG vs img…

lukaskellerstein/claude-my-marketplace · 276 tokens

css-architecture

Project-level CSS architecture for React/Vite websites — Tailwind CSS configuration with design tokens, shadcn/ui theming, CSS custom properties, and responsive strategy. Tailwind-first approach. Use when setting up CSS for a new React/Vite project, mapping a styleguide to Tailwind config, configuring shadcn/ui theme…

lukaskellerstein/claude-my-marketplace · 91 tokens

cloudflare-nextjs

Deploy Next.js to Cloudflare Workers via the OpenNext adapter (@opennextjs/cloudflare). Use for SSR/ISR/SSG/App or Pages Router, getCloudflareContext, bindings (D1/R2/KV/AI/Hyperdrive), caching tiers, skew protection, multi-worker, custom worker, env vars, or worker…

secondsky/claude-skills · 89 tokens

aceternity-ui

100+ animated React components (Aceternity UI) for Next.js with Tailwind. Use for hero sections, parallax, 3D effects, or encountering animation, shadcn CLI integration errors.

secondsky/claude-skills · 48 tokens