بنقرة واحدة
implement-phase
Implement a numbered phase from docs/phases/phase-$ARGUMENTS.md step by step
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Implement a numbered phase from docs/phases/phase-$ARGUMENTS.md step by step
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Implement a numbered testing strategy phase from docs/testing_strategy_phases/phase_$ARGUMENTS_*.md step by step
Review changed code for correctness, security, and project conventions. Invoke this skill automatically whenever a complete unit of work is done — a full implementation phase, a complete feature (repository + service + route + component all connected), or just before creating a PR. Do NOT invoke after editing a single file or mid-way through a feature. If the user says "done", "finished", "phase complete", "ready to commit", or similar, trigger this review immediately.
Run prisma migrate dev, regenerate client to the correct output path, and verify import paths
Scaffold a Prisma-backed repository for a given Prisma model
Scaffold a service class for a given domain following project conventions
Final pre-commit check: run type-check (npx tsc --noEmit), lint (npm run lint), and tests (npm test)
| name | implement-phase |
| description | Implement a numbered phase from docs/phases/phase-$ARGUMENTS.md step by step |
| disable-model-invocation | true |
| argument-hint | [phase-number] |
Read @docs/phases/readme.md. You are about to implement Phase $ARGUMENTS.
npm install only (never yarn, pnpm, or bun).@/app/generated/prisma/client — NEVER @prisma/clientInvoiceStatus, etc.) also come from @/app/generated/prisma/clientPrismaClient outside src/lib/prisma.tscookies() from next/headers is async — always await cookies()const { id } = await params where params: Promise<{ id: string }>@supabase/ssr only — never @supabase/auth-helpers-nextjssetAll must set cookies on BOTH request AND responseprisma directlyrecord.userId === requestingUserId before returningkebab-case.ts / kebab-case.tsxPascalCase.tsx*.spec.ts in tests/ (not co-located)Follow the plan's numbered subsections in sequence — they are ordered by dependency.
npx tsc --noEmit
npm run lint
Manual checklist:
@/app/generated/prisma/clientcookies() calls are awaited.env or .env.local files were touchedThen invoke the code-review skill — a completed phase is a full feature boundary.