بنقرة واحدة
add-page
Scaffold a new Next.js App Router page following existing frontend conventions.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Scaffold a new Next.js App Router page following existing frontend conventions.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Scaffold a new React component following frontend conventions — shadcn/ui, Tailwind, functional style.
Debug frontend auth state — inspect localStorage, decode JWTs, check token expiry, show current auth type and DID.
Start the frontend dev server with dependency install and venue connectivity check.
Run frontend lint, type-check, and Jest tests. Reports a summary of all results.
| name | add-page |
| description | Scaffold a new Next.js App Router page following existing frontend conventions. |
| argument-hint | <route-path> |
Scaffold a new page in the Next.js App Router.
Create the route directory under src/app/<route-path>/
Create page.tsx following this pattern:
"use client";
import { useAuthenticatedVenue } from "@/hooks/use-authenticated-venue";
export default function PageName() {
const venue = useAuthenticatedVenue();
if (!venue) return null;
return (
<div>
{/* Page content */}
</div>
);
}
layout.tsx in the same directory."use client" directive — the app uses client-side rendering with ZustanduseAuthenticatedVenue() for any page that calls venue APIs@/components/ui/ for UI elements(group-name)/src/app/(signup)/signUp/page.tsxsrc/app/auth/callback/page.tsxsrc/app/layout.tsx