antifragiletech/antifragile-claude-code/component-scaffold
Claude Code and agent skill by antifragiletech/antifragile-claude-code
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install antifragiletech/antifragile-claude-code/component-scaffoldSKILL.md
/component-scaffold — React Component Generator Skill
Trigger
User says: "component-scaffold", "new component", "scaffold component", "create component", "generate component"
Purpose
Generate React/Next.js components following the monorepo's conventions.
Arguments
name(required): Component name in PascalCase (e.g.,UserProfile)app(optional): Target app — marketing, web, or admin (default: web)type(optional): page | component | layout | modal | form (default: component)
Steps
1. Discover Conventions
Before generating, check existing patterns in the target app:
2. Generate Component
Based on type, create the appropriate files:
Standard Component:
Page Component:
Modal Component:
Form Component:
3. Component Template Rules
- TypeScript with explicit prop types (interface, not type)
- Props interface named
ComponentNameProps - Export as named export (not default) from component file
- Default export only from page.tsx files
- Use
'use client'ONLY if the component needs hooks or browser APIs - For notifications: use toast/banner components, NEVER
window.alert()or browser Notification API - For confirmations: use modal dialog component, NEVER
window.confirm()
4. Post-generation
- Run TypeScript check:
npx tsc --noEmit 2>&1 | head -10 - Verify import paths resolve correctly
- Add barrel export to parent index.ts if one exists
Rules
- NEVER use
window.alert(),window.confirm(),window.prompt(), or browser Notification API - NEVER use default exports for components (only for pages)
- Match existing code style — check indentation, quotes, semicolons from nearby files
- Keep generated components under 100 lines — split if larger
- Use Prisma types from the correct package when dealing with data models
Security
- Security scanPassed, 95 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 repositoryCheckingassets/skills/dev/component-scaffold/SKILL.md
Popularity
- Repository stars
- 8
- Repository forks
- 1
- 7-day trend score
- 16
Stars and forks are for the whole GitHub repository, not this skill alone. 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/antifragiletech/antifragile-claude-code/component-scaffold)