front-component-generator

front-component-generator is a skill for Claude Code, Codex 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 CodeCodex

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.

agentmods
npx agentmods add skills/guyoung/boxagnts/front-component-generator
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, 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 front-component-generator

README.md
[![agentmods](https://agentmods.dev/badge/skills/guyoung/boxagnts/front-component-generator.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00027 $0.03195
Opus 5 $0.00014 $0.01597
Sonnet 5 $0.00005 $0.00639
Haiku 4.5 $0.00003 $0.00319

Measured 5d ago against content hash e3e279469664, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 5d 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. 5d 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 1mo ago), licensed MIT. It adds 27 tokens to every session and 3,195 once invoked, about $0.0001 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

formkit

Use when working with FormKit forms, validation, schema, or custom inputs in React, Vue, or Nuxt projects.

formkit/formkit · 28 tokens

ui-development

Build UI pages and extensions for Falcon Foundry apps using React or Vue with the Shoelace design system and Foundry-JS. TRIGGER when user asks to "create a UI page", "build a UI extension", "add a Shoelace component", "call an API from the UI", runs foundry ui pages create or foundry ui run, or needs help with Vite…

CrowdStrike/foundry-skills · 113 tokens

frontend-ui-design

Use when design and build production-grade UI components using React, Vue, or vanilla HTML/CSS. Create responsive layouts, design systems, and accessible interfaces. Use when designing and build production-grade ui components using react, vue, or.

oyi77/1ai-skills · 51 tokens

motion-migration-guide

Guide for migrating from framer-motion to Motion (motion/react) v12.42+. Covers the new import paths, animateView API for View Transitions, and breaking changes.

S3YED/appie-kit · 41 tokens

frontend-best-practices

写 React/Vue 前端代码时使用。组件、状态、性能、可访问性的实战规范。.

Wade-DevCode/awesome-coding-skills-cn · 29 tokens

feature

Use this whenever the user asks to "implement", "add", "build", "create", or "modify" a feature, page, view, component, or module in this Vue project. Three phases: Phase 0 scope analysis (flows + edge cases + UI needs + plan validation, STOP for user), Phase 1 implementation (layered UI → Store → API, Vue 3…

pierreb-devkit/Vue · 123 tokens