einverne/dotfiles/react-component-generator
Claude Code and agent skill by einverne/dotfiles
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
生成符合项目规范的 React 组件。当用户要求创建组件、新建 React 组件或生成组件文件时使用
Install
npx vskill@latest install einverne/dotfiles/react-component-generatorSKILL.md
React 组件生成器
组件规范
项目使用以下约定:
- TypeScript + React
- 函数式组件 + Hooks
- CSS Modules 样式
- 完整的 JSDoc 注释
- 配套的测试文件
生成流程
- 确认组件信息
- 组件名称(PascalCase)
- 组件类型(基础组件、容器组件、页面组件)
- 所需 props
- 创建文件结构
`` src/components/{ComponentName}/ ├── index.tsx ├── {ComponentName}.module.css └── {ComponentName}.test.tsx ``
- 生成组件文件
index.tsx 模板:
- 生成样式文件
{ComponentName}.module.css 模板:
- 生成测试文件
{ComponentName}.test.tsx 模板:
质量检查
生成后自动运行:
- TypeScript 类型检查:
npm run type-check - ESLint 检查:
npm run lint - 测试:
npm test -- {ComponentName}
如有错误,显示错误信息并提供修复建议。
Security
- Security scanPassed, 100 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 repositoryCheckingskills/react-component-generator/SKILL.md
Popularity
- Repository stars
- 118
- Repository forks
- 22
- 7-day trend score
- 24
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 17 Mar 2026, 7 months ago.
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/einverne/dotfiles/react-component-generator)