front-component-generator

front-component-generator is a skill for Claude Code from guyoung/boxagnts. It costs 27 tokens per session (3,195 once invoked), scanned A, original, MIT.

A guide for generating React or Vue user-interface components from a plain-language description, including TypeScript types, styles, and basic tests. React and Vue are tools for building web interfaces, while TypeScript adds type checking to JavaScript.

In plain words
What is it for?
Use it to plan and build typed React or Vue components with their styles, component interface, and basic tests.
Why use it?
It helps create components that fit the existing project's technology choices and coding conventions. It also calls for handling loading, empty, and error states and reviewing the proposed files before creation.

Skill for Claude Code

Written for Claude Code: when-to-use in frontmatter.

Good fit Use it to plan and build typed React or Vue components with their styles, component interface, and basic tests.

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

Made for: Claude Code.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/guyoung/boxagnts/front-component-generator"><img src="https://agentmods.dev/badge/skills/guyoung/boxagnts/front-component-generator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,195 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.00027 $0.03195
Opus 5.5 $0.00011 $0.01278
Sonnet 5.5 $0.00005 $0.00639
Haiku 4.5 $0.00003 $0.00319

Measured 2mo ago against content hash e3e279469664, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

front-component-generator 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 2mo 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.

app/extensions/skills/front-component-generator/SKILL.md · 235 lines

How it starts

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

GUIDANCE SKILL — INSTRUCTIONS ONLY Frontend component generation follows a convention-first approach: inspect the existing project's tech stack, align with its conventions, and produce a complete, type-safe component with styles, types, and tests — all from a natural language description. This skill provides patterns, conventions, and constraints. It contains no executable code — apply the guidance to your context, adapting specifics as needed per C2-B.

CRITICAL: Guidance Principles

The instructions below define the REQUIRED APPROACH — you MUST follow the prescribed patterns, conventions, and constraints.

Mandatory adherence:

  • Follow all stated conventions and naming patterns
  • Respect all constraints and boundaries
  • Apply the recommended patterns to your implementation
  • Do NOT deviate from prescribed architectural decisions
  • Never install new dependencies unless explicitly requested by the user and truly necessary
  • Never overwrite an existing file without warning the user first
  • Always present the file list and component API overview, then wait for user confirmation before creating any files
  • Every component MUST handle loading, empty, and error states where applicable
  • Every component MUST include necessary accessibility attributes (e.g., aria-label, role)

Correct Application Pattern

  1. Read and absorb all guidance sections below
  2. Map the prescribed patterns to your current context
  3. Implement following the stated conventions — adapt specifics to fit, but preserve the intent
  4. Validate against the C3 checklist at the end

Argument Details

Arg Type Required Default Description
description string Yes — Natural language description of the desired component
framework string No react Target framework; valid values: react or vue

Design Patterns & Conventions

Architectural Pattern

Convention-first generation pipeline: every component MUST be produced by first inspecting the host project's existing tech stack and conventions, then aligning all generated code to those conventions. The pipeline proceeds as: Inspect → Analyze → Design API → Present → Confirm → Generate. This ensures generated components integrate seamlessly rather than introducing foreign patterns.

Read the full file on GitHub · 235 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. 2mo ago First seen · 235 lines · 27 tokens per session scan A e3e279469664

Subscribe to this mod's changes

front-component-generator is a skill published in the GitHub repository guyoung/boxagnts (11 stars, last pushed 3mo ago), licensed MIT. It adds 27 tokens to every session and 3,195 once invoked, about $0.0001 per session on Opus 5.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

front-component-generator compared with skills from other repositories

front-component-generator next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
front-component-generatorguyoung/boxagntsSkill113mo agoMITA27Claude Code
formkitformkit/formkitSkill4.8kyesterdayMITA28Codex
ui-developmentCrowdStrike/foundry-skillsSkill36yesterdayMITA113Claude Code
vibe-codingdtyq/magicSkill5.1k13d agononeA178Claude Code, Codex
frontend-ui-designoyi77/1ai-skillsSkill17yesterdayMITA51Claude Code
frontend-specialistglincker/claude-code-marketplaceSkill381mo agoApache-2.0A20Claude Code
motion-migration-guideS3YED/appie-kitSkill142mo agoMITA41Claude Code, Codex