diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-02-24 12:05:54 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-02-24 12:05:54 +0900 |
| commit | 64c88ef21ac3369e4e4fad179dfd641722a1f349 (patch) | |
| tree | 145c442d7bea65b7602271d5fa3265ff0a279afb /ar/.config/claude/commands/create-page.md | |
| parent | f3b515d8d9e8ed57d2c5302b53009ea9241e22f2 (diff) | |
updates
Diffstat (limited to 'ar/.config/claude/commands/create-page.md')
| -rw-r--r-- | ar/.config/claude/commands/create-page.md | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/ar/.config/claude/commands/create-page.md b/ar/.config/claude/commands/create-page.md deleted file mode 100644 index 4572b9f..0000000 --- a/ar/.config/claude/commands/create-page.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -description: Create a new Next.js 15 App Router page with proper structure -argument-hint: "[route-path] [page-type]" -allowed-tools: Write, Read, Bash ---- - -Create a new Next.js 15 App Router page: $ARGUMENTS - -Follow Next.js 15 best practices: -1. Create app/[route-path]/page.tsx with async params/searchParams -2. Add loading.tsx with proper Suspense fallback -3. Add error.tsx as Client Component with error boundary -4. Include proper TypeScript types for route parameters -5. Use Server Components by default -6. Add proper metadata for SEO - -Page types available: -- **default** - Standard page with basic layout -- **dynamic** - Dynamic route with [id] parameter -- **protected** - Page with authentication check -- **api** - API route handler - -Example: `/create-page dashboard/analytics dynamic` |
