component-scaffold
Skill by kinncj
Generates a UI component file tree wired to design tokens, with an implementation stub, Storybook story, unit test and Gherkin step binding. It is meant for scaffolding a new UI component.
Install component-scaffold
Built from the published package, never by AI.
git clone --depth 1 https://github.com/kinncj/Heimdall /tmp/Heimdall && mkdir -p ~/.claude/skills && cp -r /tmp/Heimdall/.cursor/skills/component-scaffold ~/.claude/skills/component-scaffoldRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/kinncj/Heimdall /tmp/Heimdall && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Heimdall/.cursor/skills/component-scaffold ~/.gemini/antigravity-cli/skills/component-scaffoldAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
component-scaffold is an agent skill that generates a new UI component as a file tree wired to design tokens. For a component such as PasswordResetForm, it creates an implementation file, a Storybook story, a unit test file and a Gherkin step binding file. The generated files are runnable skeletons with TODO stubs rather than empty files.
The stack is detected from project.config.yaml and supports react-mantine, react-tailwind, html and a Python alternative for Django or HTMX. The scaffold script checks for existing files and skips them rather than overwriting. If the tokens file is missing, it scaffolds without the token import and logs a warning. It is meant for scaffolding a new UI component.
Written from the project's SKILL.md and checked against it.
What it can do
- Component file treeGenerates implementation, Storybook story, unit test and Gherkin spec files for a component.
- Token wiringInjects a design token import and warns when mantine.theme.ts is missing.
- Stack detectionReads the stack setting from project.config.yaml to choose the template.
- Python alternativeCreates a Django or HTMX layout with a template, tests and step bindings.
- Safe scaffoldingSkips files that already exist and never overwrites existing implementations.
- Name conversionConverts names such as password-reset-form to PascalCase like PasswordResetForm.
What you need
- project.config.yaml in the project
- docs/design/identity/tokens.json design tokens file
- Storybook for the generated story file
- Vitest or Jest for the generated unit tests
- Cucumber (@cucumber/cucumber) for Gherkin step bindings
Try asking
- Scaffold a PasswordResetForm component using the react-mantine stack
- Create the file tree for a new UI component from story auth-reset-0001
- Scaffold a Python Django password_reset_form component with HTMX steps
Good to know
- Generated implementation and tests are TODO stubs that must be filled in.
- Gherkin bindings stay pending until copied from cucumber-automation output.
- An unknown stack defaults to react-mantine with a warning.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .cursor/skills/component-scaffold/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to component-scaffold
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
component-scaffold: common questions
Does component-scaffold overwrite existing component files?
No. The source says existing files are skipped with a SKIP log, so existing implementations are never overwritten.
What happens if the design tokens file is missing?
The skill scaffolds the component without the token import and adds a TODO comment to wire it to design tokens later. It also logs a warning.
Which front-end stacks does component-scaffold support?
The source lists react-mantine, react-tailwind and html as stack values, plus a Python layout for Django or HTMX.
How do I install component-scaffold?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is component-scaffold free?
The code is published under the AGPL-3.0 licence. The service it connects to may have its own pricing.
Is component-scaffold safe to use?
It scores 73 of 100. Grades: maintenance A, licence C, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to component-scaffold?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
