agentsclimarketplace

Component scaffold

Skill K95M65/AI_ONBOARD/skills/component-scaffold

Portable agent workflow framework for Codex, Claude Code, and OpenCode—shared project context, focused skills, independent review, and safe updates.

Install
npx -y skills add K95M65/AI_ONBOARD --skill component-scaffold

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • 19 days oldThe repository was created 19 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Scaffolds a new React/TypeScript UI component (component + test + index) from a consistent template. Use when creating a new frontend component and you want the standard file layout without hand-copying boilerplate.

SKILL.md

1.2 KB, as published. Nobody here has run it

Component scaffold

When to use

Creating a new UI component. Skip it for one-off inline elements — this is for components that get their own folder, test, and export.

Steps

  1. Run the scaffold script:
    bash scripts/scaffold.sh <ComponentName> [target-dir]
    
    • <ComponentName> must be PascalCase (e.g. UserCard).
    • target-dir defaults to components.
  2. It creates <target-dir>/<ComponentName>/ with <ComponentName>.tsx, <ComponentName>.test.tsx, and index.ts.
  3. Fill in the props interface and the render body. Use the project's design tokens — no hard-coded hex, spacing, or font sizes.
  4. Run the frontend tests to confirm it compiles and the placeholder test passes.

Notes

  • Refuses to overwrite an existing component directory.
  • Templates live in templates/. Adapt them to your stack once (styling approach, test library) and every future scaffold follows suit.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.