指导在前端项目中按团队规范创建和拆分 React 组件,包括目录结构、文件命名、样式与主题变量使用。当前端需要新增或重构组件时使用本技能。
$npx -y skills add antonhu/ai-coding-project --skill create-componentInstalls into the current project.
Run `npx skills use "https://github.com/antonhu/ai-coding-project" --skill "antonhu/ai-coding-project/create-component"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/antonhu/ai-coding-project" that are relevant to the current task. Run `npx skills add "https://github.com/antonhu/ai-coding-project"` and select the relevant skills, then follow their instructions.