返回 Skill 列表
extension
分类: 开发与工程无需 API Key

react-page-scaffolder

创建一个完整的React页面目录(page.tsx, index.ts, styles.css),并集成路由。当需要创建结合组件和布局的新页面、视图或路由处理器时使用。

person作者: jakexiaohubgithub

React Page Scaffolder Workflow

  1. Ask the user for the new page name in PascalCase (e.g., UserProfile).
  2. Make the helper script executable: chmod +x .claude/skills/react-page-scaffolder/scripts/create-page.sh
  3. Execute the scaffolding script: .claude/skills/react-page-scaffolder/scripts/create-page.sh {{PAGE_NAME}}
  4. Report the full output of the script to the user.