component-forge

component-forge is a skill for Claude Code from EliasOulkadi/shokunin. It costs 112 tokens per session (3,693 once invoked), scanned A, original, MIT.

A component-building toolkit for React, Vue 3, and Svelte 5. It scaffolds component files and guides implementation of loading, empty, error, success, and idle states, with TypeScript and accessibility support.

In plain words
What is it for?
Use it to create buttons, modals, forms, lists, layouts, and data-driven components with defined states and reusable patterns.
Why use it?
It reduces the chance of shipping components that work only in the normal case or fail on smaller screens and with assistive technology.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions OpenCode.

Good fit Use it to create buttons, modals, forms, lists, layouts, and data-driven components with defined states and reusable patterns.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/eliasoulkadi/shokunin/component-forge"><img src="https://agentmods.dev/badge/skills/eliasoulkadi/shokunin/component-forge.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 112 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,693 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00112 $0.03693
Opus 5 $0.00056 $0.01847
Sonnet 5 $0.00022 $0.00739
Haiku 4.5 $0.00011 $0.00369

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

Security

Grade A, and why

component-forge 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 9d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/scaffold-component.sh), 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.

.pack/skills/component-forge/SKILL.md · 457 lines

How it starts

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

Component Forge

Build components that survive every state, at every screen size, under every edge case. Inspired by Heydon Pickering (Inclusive Components), React core team patterns, and Emil Kowalski's design engineering philosophy.

Workflow

Step 1: Determine component type

Type Description Example
Presentational Pure rendering, props-driven Button, Card, Badge
Composable Wraps children with behavior Modal, Tooltip, Accordion
Data-fetching Reads from API/store UserProfile, OrderList
Layout Arranges children Sidebar, Grid, Stack
Form Input + validation LoginForm, SearchInput

Step 2: Scaffold component

scripts/scaffold-component.sh Button react
scripts/scaffold-component.sh Modal vue
scripts/scaffold-component.sh Accordion svelte

Windows: The scaffold script requires Git Bash or WSL. Not compatible with PowerShell or CMD.

Creates:

Button/
  Button.tsx
  Button.types.ts
  Button.test.tsx
  index.ts

Step 3: Implement states with discriminated union

type State<T> =
  | { status: 'idle' }
  | { status: 'loading' }
  | { status: 'empty' }
  | { status: 'error'; error: Error }
  | { status: 'success'; data: T }

function Profile({ userId }: { userId: string }) {
  const [state, setState] = useState<State<User>>({ status: 'idle' })

  if (state.status === 'loading') return <LoadingSkeleton />
  if (state.status === 'error') return <ErrorState error={state.error} onRetry={fetch} />
  if (state.status === 'empty') return <EmptyState message="No user found" />
  if (state.status === 'success') return <UserProfile user={state.data} />
  return null
}

Every data-fetching component renders all five states.

Step 4: Apply accessibility checklist

  • All interactive elements keyboard reachable (Tab ? Enter/Space)
  • ARIA labels on icon-only buttons
  • Focus trap in modals and dialogs
  • Loading state announced via aria-live="polite"
  • Error state has role="alert"
  • Color is not the only differentiator (add icon/text)
  • Proper heading hierarchy (h1 ? h2 ? h3, no skips)
  • Touch targets = 44-44px
  • prefers-reduced-motion respected

Read the full file on GitHub · 457 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago First seen · 457 lines · 112 tokens per session scan A e014f0ee7c56

Subscribe to this mod's changes

component-forge is a skill published in the GitHub repository EliasOulkadi/shokunin (113 stars, last pushed 1mo ago), licensed MIT. It adds 112 tokens to every session and 3,693 once invoked, about $0.0006 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

micro-frontend-architect

Expert guide for designing Micro-Frontend architectures using Webpack Module Federation, Vite Federation, and Single-SPA for large scale Vue and React applications.

roedyrustam/vibes-plug · 36 tokens

web-3d-graphics-expert

Expert guide for WebGL and 3D graphics in the browser using Three.js, Babylon.js, React Three Fiber (R3F), and TresJS. Covers scene optimization, shaders, lighting, 3D model loading (GLTF/GLB), and performance tuning.

roedyrustam/vibes-plug · 65 tokens

mastermind-component-research

Ground a UI change in the codegraph before writing it — find whether the component already exists, who renders it, and what its props contract is. Use before creating or changing any React or Vue component; triggers "add a component", "change these props", "build this screen", or a Figma frame handed over for…

xcrft/mastermind · 73 tokens

Astro Content-Driven Web Framework

Astro is a modern web framework for building content-driven websites. It ships zero JavaScript by default, supports multiple UI frameworks (React, Vue, Svelte, Solid), and provides islands architecture for optimal performance.

agentskillexchange/skills · 51 tokens

state-management

Choose and implement state management for React Native + React + Vue + Svelte clients. Use when adding any client state — server-cache, global UI state, form state, navigation state. Covers the layer hierarchy (server-state vs client-state vs URL state vs local state), Zustand / Redux Toolkit / MobX / Pinia / Riverpod…

kouroshez/coding-os · 110 tokens

frappe-frontend

Frappe frontend guidance for Vue and React, including desk pages, www pages, frappe-ui, Doppio-style frontends, client scripts, and external SPA integrations. Use when building or reviewing Frappe UI work.

Dkm0315/frappe-agent · 55 tokens