frontend-component

frontend-component is a skill for Claude Code from alekspetrov/navigator. It costs 40 tokens per session (4,257 once invoked), scanned A, original, no licence file.

A component-building tool for React or Vue using TypeScript. It creates the component together with its tests and styles.

In plain words
What is it for?
Use it to add a new React or Vue component, including its TypeScript code, test coverage, and styling.
Why use it?
It brings the main files needed for a component into one task, reducing setup work and helping ensure the new component is tested and styled.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the navigator plugin — 32 skills, 2 agents shipped together

Good fit Use it to add a new React or Vue component, including its TypeScript code, test coverage, and styling.

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

Made for: Claude Code.

Or install navigator, the plugin that ships this one along with the rest of its 32 skills, 2 agents.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/alekspetrov/navigator/frontend-component"><img src="https://agentmods.dev/badge/skills/alekspetrov/navigator/frontend-component.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,257 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 unknown 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.00040 $0.04257
Opus 5 $0.00020 $0.02129
Sonnet 5 $0.00008 $0.00851
Haiku 4.5 $0.00004 $0.00426

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

Security

Grade A, and why

frontend-component 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 11d ago.

The scan reads SKILL.md. This mod also ships 5 executable files (functions/component_generator.py, functions/file_generator.py, functions/name_validator.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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-component/SKILL.md · 610 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 11d ago First seen · 610 lines · 40 tokens per session scan A acd387f5dc44

Subscribe to this mod's changes

frontend-component is a skill published in the GitHub repository alekspetrov/navigator (231 stars, last pushed 9d ago), with no licence file. It adds 40 tokens to every session and 4,257 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-30.

Related

Other skills, from other repositories

aio-xstate

Implement XState v5 state machines with strict patterns — setup().createMachine(), actors, and TypeScript typing. Use when working with finite state machines (FSM), statecharts, state diagrams, or the actor model in TypeScript. Covers @xstate/react integration (useMachine, useActor, useSelector), parallel states…

aiocean/claude-plugins · 103 tokens

react-modernization

Upgrade React applications to latest versions, migrate from class components to hooks, and adopt concurrent features. Use when modernizing React codebases, migrating to React Hooks, or upgrading to latest React versions.

HermeticOrmus/LibreUIUX-Claude-Code · 43 tokens

react-component-generator

Generate React components with TypeScript, proper props, hooks, and accessibility. Use when creating new React components, UI elements, or refactoring existing components.

OneWave-AI/claude-skills · 35 tokens

react-frontend

React, TypeScript, and Next.js patterns for frontend development. Use when building React components, managing state, fetching data, optimizing performance, or working with Next.js App Router. Covers React 18-19, hooks, Server Components, and type-safe patterns.

iliaal/whetstone · 57 tokens

react-component-design

Designs or reviews React component APIs. Handles prop drilling decisions, composition patterns, controlled/uncontrolled contracts, and minimal public API surfaces for React 18+ TypeScript components. Invoked when creating new components, refactoring existing ones, or reviewing component contracts.

soulcodex/agentic · 56 tokens

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