knofler/myai/nextjs-page-create

Claude Code and agent skill by knofler/myai

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Create a Next.js App Router page with loading and error boundaries. Triggers: page, route, Next.js page, new page, app router page

Install

npx vskill@latest install knofler/myai/nextjs-page-create

SKILL.md

The same SKILL.md was published earlier as knofler/myai/nextjs-page-create.

Skill: Create a Next.js Page / Route

Scaffold a complete Next.js App Router page with metadata, loading state, and error boundary.

Playbook

1. Determine Route Path
  • Confirm the desired URL path (e.g., /dashboard/settings).
  • Map to file system: src/app/dashboard/settings/.
  • Check for route conflicts with existing pages.
2. Choose Component Type
  • Server Component (default): data fetching, no interactivity.
  • Client Component: user interactions, hooks, browser APIs.
  • If both are needed, create a server component page that imports client sub-components.
3. Create page.tsx
  • Create the directory structure under src/app/.
  • Add page.tsx with:
  • Metadata export (export const metadata or generateMetadata).
  • TypeScript props interface for any route params.
  • Main component with semantic HTML and Tailwind CSS classes.
  • Data fetching if server component (async component or fetch calls).
4. Create loading.tsx
  • Add loading.tsx in the same directory.
  • Implement a skeleton/spinner UI using Tailwind.
  • Match the layout structure of the page for smooth transitions.
5. Create error.tsx
  • Add error.tsx in the same directory.
  • Mark as 'use client' (required by Next.js).
  • Accept error and reset props.
  • Display a user-friendly error message with a retry button.
6. Add Layout (If Needed)
  • If this route needs a unique layout, create layout.tsx.
  • Wrap children with shared UI (sidebar, header, etc.).
  • Reuse existing layout components from src/components/.
7. Add to Navigation
  • Find the navigation component (header, sidebar, or nav bar).
  • Add a link to the new route using next/link.
  • Set active state styling if the nav supports it.
8. Verify
  • Confirm the page renders without errors.
  • Check metadata appears correctly.
  • Log action to logs/claude_log.md.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
1
7-day trend score
8

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/knofler/myai/nextjs-page-create/badge)](https://verified-skill.com/skills/knofler/myai/nextjs-page-create)

Something wrong with this skill or its page? Tell us.