component-scaffold

component-scaffold is a skill for Claude Code, Codex from m-binimran/dev-pack. It costs 46 tokens per session (371 once invoked), scanned A, original, MIT.

A guide for building React components with shadcn/ui and Tailwind CSS. It covers typed properties, visual variants, shared-state compound components, accessibility, and interaction states.

In plain words
What is it for?
Use it when creating or refactoring React UI components, especially interactive widgets that need a clean interface and keyboard-accessible behavior.
Why use it?
It helps turn a rough component into a reusable one with predictable states such as focus, disabled, loading, empty, and error.

Skill for Claude CodeCodex

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

Good fit Use it when creating or refactoring React UI components, especially interactive widgets that need a clean interface and keyboard-accessible behavior.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/m-binimran/dev-pack/component-scaffold"><img src="https://agentmods.dev/badge/skills/m-binimran/dev-pack/component-scaffold.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 371 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.00046 $0.00371
Opus 5.5 $0.00018 $0.00148
Sonnet 5.5 $0.00009 $0.00074
Haiku 4.5 $0.00005 $0.00037

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

Security

Grade A, and why

component-scaffold 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 3mo 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.

skills/component-scaffold/SKILL.md · 30 lines

What it actually says

component-scaffold

Build components that own their code (shadcn model), are accessible, and don't look like defaults.

Process

  1. Classify: presentational (pure, props-in) or container (data/effects)? Keep them separate.
  2. Start from primitives: shadcn/ui (Radix under the hood) for anything interactive — you get a11y for free. Customize in your own components/ui/* file; it's yours.
  3. Variants via cva: define variant/size with a brand variant wired to your theme tokens — don't ship the raw default look.
  4. Compound pattern for widgets with shared state (<Tabs><Tabs.List>…): parent owns state, children consume via context. No prop drilling.
  5. Design the states: hover, focus-visible, active, disabled, loading, empty, error — all intentional.
  6. Accessibility: real semantics, labelled controls, visible focus, keyboard operable. Icon-only buttons get an accessible name.

Output

  • The component file(s), typed props, variants, and the states handled.
  • A one-line note on which states were implemented and which are N/A.

Guardrails

  • Don't reinvent an accessible primitive Radix/shadcn already provides.
  • Don't exceed 800 lines (the file-size-guard hook blocks it) — split sub-components out.
  • No unmodified default styling passed off as finished (anti-template policy).
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. 3mo ago First seen · 30 lines · 46 tokens per session scan A 4aa7b2d7d298

Subscribe to this mod's changes

component-scaffold is a skill published in the GitHub repository m-binimran/dev-pack (2 stars, last pushed 5mo ago), licensed MIT. It adds 46 tokens to every session and 371 once invoked, about $0.0002 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-31.

Related

component-scaffold compared with skills from other repositories

component-scaffold next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
component-scaffoldm-binimran/dev-packSkill25mo agoMITA46Claude Code, Codex
chakra-ui-builderchakra-ui/chakra-uiSkill41ktodayMITA214Claude Code, Codex
antigravity-design-expertsickn33/agentic-awesome-skillsSkill51kyesterdayMITA39Claude Code
tamagui-v6-configtamagui/tamaguiSkill14k3d agoMITA76Claude Code, Codex
tamagui-theme-generatortamagui/tamaguiSkill14k3d agoMITA48Claude Code, Codex
liquid-metal-borderMengTo/SkillsSkill8.7kyesterdayMITA97Codex
frontend-ui-dark-tsmicrosoft/skillsSkill3.3k3d agoMITA48Claude Code