create-component
Skill by pinpoint-apm
Creates new React components for the pinpoint-apm project, following its shadcn/ui and Tailwind patterns. It covers both UI primitives like buttons and dialogs and domain components like ServerMap or Inspector.
Install create-component
Built from the published package, never by AI.
git clone --depth 1 https://github.com/pinpoint-apm/pinpoint /tmp/pinpoint && mkdir -p ~/.claude/skills && cp -r /tmp/pinpoint/web-frontend/src/main/v3/.claude/skills/create-component ~/.claude/skills/create-componentRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/pinpoint-apm/pinpoint /tmp/pinpoint && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/pinpoint/web-frontend/src/main/v3/.claude/skills/create-component ~/.gemini/antigravity-cli/skills/create-componentAntigravity 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
This agent skill generates a new React component from a user's description, following the shadcn/ui and Tailwind patterns used in the pinpoint-apm project. It first asks the assistant to decide whether the component is a UI primitive, placed under packages/ui/src/components/ui/, or a domain component, placed in its own subfolder of packages/ui/src/components/. Primitives use Radix UI, class-variance-authority variants and React.forwardRef. Domain components combine UI primitives with React Query hooks, Jotai atoms, Suspense and an error boundary.
The skill also sets styling rules: Tailwind CSS only, CSS variables for theme colors, and the cn() helper for class names. To finish, it tells the assistant to export the component from the index file and run yarn build to check for TypeScript errors. It is aimed at developers working in that repository who want new components to match the existing code.
Written from the project's SKILL.md and checked against it.
What it can do
- Create UI primitivesBuilds reusable components with Radix UI, CVA variants and React.forwardRef, following the shadcn/ui pattern.
- Create domain componentsBuilds feature components from UI primitives, with React Query, Jotai, Suspense and ErrorBoundary.
- Apply styling rulesEnforces Tailwind CSS only, theme CSS variables and the cn() helper for class names.
- Export and verifyAdds the component to the index file and runs yarn build to check for TypeScript errors.
What you need
- Yarn, for the yarn build step
- The pinpoint-apm project layout with a packages/ui directory
Try asking
- Create a dialog UI primitive with size and variant options
- Create a ServerMap domain component that fetches data with React Query
- Create an Inspector component and export it from the index file
Good to know
- Written for the pinpoint-apm project paths under packages/ui
- Inline styles and CSS modules are not allowed under its styling rules
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: web-frontend/src/main/v3/.claude/skills/create-component/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md4 KB
Alternatives to create-component
All alternatives →PaperBanana generates publication-quality academic diagrams from a paper's methodology text and figure caption. It is aimed at researchers preparing figures for venues such as NeurIPS, ICML, and ACL.
Creates a monochrome technical wireframe design system for dark diagnostic interfaces. It covers layout, typography, info labels, widgets and an exploded wireframe centerpiece. It is for designers and developers building teardown, systems dashboard or specification-style screens.
Guides an AI assistant through embedding interactive Spline.design 3D scenes in web projects. It covers vanilla, React, Next.js, Vue and iframe setups, for developers adding 3D to websites.
Code Slice Hero is a HyperFrames headline block. A tiled surface flips cell by cell to reveal a second headline behind the first, at 1920×1080 and 8 seconds.
Generates patent-office-compliant figures and converts drawings through the PatentFig AI API. Built for patent filers who need USPTO or EPO line art, CAD-ready vectors, or filing-ready TIFF, PDF, or PNG files.
Creates a framed dark technical design system for AI assistants, using border-gradient shells, asymmetrical grid panels, and mono labels. Suited to premium, instrument-like interfaces that need visible boundaries. Published by MengTo.
Compare with paperbanana, technical-wireframe-info-layout or spline-3d-integration
create-component: common questions
Does this skill follow shadcn/ui conventions?
Yes. The skill says UI primitives should follow the shadcn/ui pattern, using Radix UI, CVA and Tailwind.
Where does the new component file go?
UI primitives go in packages/ui/src/components/ui/. Domain components go in a subdirectory of packages/ui/src/components/.
How is the generated component checked?
The skill says to run yarn build and confirm there are no TypeScript errors.
How do I install create-component?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is create-component free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is create-component safe to use?
It scores 84 of 100. Grades: maintenance A, licence A, quality A. 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 create-component?
Similar skills: paperbanana, technical-wireframe-info-layout, spline-3d-integration, code-slice-hero.
