blikblum/firebase-starter/create-components
Claude Code and agent skill by blikblum/firebase-starter
- community
Checking that the SKILL.md file is still in the repository.
Create or update React components in this repo, including adding or updating adjacent Storybook stories for component testing. Use when asked to build new UI components or adjust existing ones (e.g., "Create a login page component", "Update Login component to show error message").
Install
npx vskill@latest install blikblum/firebase-starter/create-componentsSKILL.md
The same SKILL.md was published earlier as blikblum/firebase-starter/create-components.
Create Components
Overview
Provide a consistent workflow for adding or updating components under src/components, using shadcn UI building blocks and project conventions, and always create or update a ComponentName.stories.tsx story alongside the component.
Workflow
1) Scope and location
- Determine whether the component is a reusable UI piece or a feature component.
- Place feature components in
src/components/; keep shadcn primitives insrc/components/ui/. - Prefer one file per component; keep naming and casing consistent with nearby files.
2) Implement the component
- Match the local file style (quotes, semicolons, formatting) and prefer function components.
- Keep types strict and explicit; add explicit return types for functions and typed props.
- Use
React.JSX.Elementinstead of the globalJSX.Elementnamespace for component return types. - Use existing UI components from
@/components/uibefore creating new primitives. - Use
@/path aliases for internal imports. - Import shared domain types from their
base/*module. Do not redeclare domain models or add domain validation and normalization to a component. - Accept validated domain values through props or stores. Keep display formatting and transient interaction state in the component.
- When a component is tightly coupled to store state, consider extracting a presentational component to keep stories simple.
3) Add or update Storybook stories
- Create
ComponentName.stories.tsxnext to the component if it does not exist; update it when behavior or props change. - Use
@storybook/react-viteMeta/StoryObjand prefer args-based stories. - Include a
Defaultstory plus variants for important states (error, loading, empty, etc.). - Use
fn()fromstorybook/testfor callback props. - If a component needs providers (store/router), wrap it via a
renderfunction ordecoratorson the story.
Use this template as a starting point:
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingpackages/react-reatom-shadcn/.agents/skills/create-components/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/blikblum/firebase-starter/create-components)