react-page-scaffolder
Creates a complete React page directory (page.tsx, index.ts, styles.css) with routing integration. Use when asked to create a new page, view, or route handler that combines components and layouts.
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
Purpose
Creates a complete React page directory structure (page.tsx, index.ts, styles.css) with routing integration via a helper script.
When to Use
- When adding a new page, view, or route handler to the application.
- When establishing a consistent layout and style pattern for new sections.
- When needing to rapidly scaffold the boilerplate for a complex page component.
Process
-
Page Naming: Get name in
PascalCase(e.g.,UserProfile). -
Environment Prep: Ensure the helper script is executable (
chmod +x). -
Execution: Run
create-page.sh {{PAGE_NAME}}. - Reporting: Display script output and file paths to the user.
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-01-20
- Index updated
- 2026-03-03
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!