scaffold-page

Scaffold Next.js App Router pages with FixNow route group conventions.

Updated Jun 8, 2026
One-click install
npx skills add https://github.com/manhthien2005/FixNow --skill scaffold-page-manhthien2005
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scaffold-page
Source: https://github.com/manhthien2005/FixNow/tree/main/.claude/skills/scaffold-page
Command: npx skills add https://github.com/manhthien2005/FixNow --skill scaffold-page-manhthien2005

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you quickly create a new Next.js App Router page that matches FixNow’s routing, layout, and component conventions, without having to remember the project’s structure each time.

Core Features & Use Cases

  • Route Group Selection: Chooses the correct placement for public, auth, customer, or admin pages.
  • Page File Scaffolding: Sets up page.tsx, loading.tsx, and error.tsx with the expected server/client split.
  • FixNow Conventions: Uses mobile-first Tailwind styling, metadata, and layout integration patterns that fit the repo.
  • Use Case: Create a new pricing page, add a customer appointments screen, or scaffold an admin management route with the right file structure from the start.

Quick Start

Ask the assistant to scaffold a new FixNow page for the route you want, and specify whether it is public, customer, or admin, plus any database or form requirements.

Frequently Asked Questions about scaffold-page

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a Next.js App Router page with loading and error states?

Scaffolding a Next.js App Router page generates page.tsx, loading.tsx, and error.tsx files simultaneously. This establishes the expected server and client component split, providing immediate loading states and error boundaries for production-ready routes.

What's the best way to structure public and admin routes in Next.js?

Structuring public and admin routes uses route group conventions to organize pages by access level. This approach places public, auth, customer, and admin pages into distinct directories, ensuring correct layout integration and metadata separation.

How do I add Tailwind styling and metadata to a new Next.js page?

Adding Tailwind styling and metadata to a new Next.js page applies mobile-first design conventions automatically during scaffolding. This ensures the generated server components include proper route mapping and consistent styling fitted to the project.

Can I include database integration and zod validation when generating a Next.js page?

Including database integration and zod validation when generating a Next.js page is supported as an optional configuration. This adds data fetching capabilities and form validation directly to the scaffolded server components for production use.

Do I need to manually configure route groups for customer and auth pages?

Manually configuring route groups for customer and auth pages is unnecessary. The scaffolding process automatically selects the correct placement based on FixNow conventions, applying the appropriate layout patterns and route mapping for each page type.