بنقرة واحدة
db-migrate
Create and apply a database migration. Usage: /db-migrate <migration_name>
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Create and apply a database migration. Usage: /db-migrate <migration_name>
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Systematic walkthrough for diagnosing Playwright E2E failures in the Bullhorn repo — production build mismatches, auth gate regressions, navigation races, schema drift, test isolation.
Scan Supabase for tables missing RLS policies. Usage: /audit-rls
Check Vercel deployment status, compare deployed vs main, and report recent errors. Usage: /deploy-check
Generate Vitest tests for a file following project conventions. Use when asked to create tests for a source file.
Monitor CI status for the current branch, diagnose failures, and summarize results.
Generate a boilerplate API route following project conventions. Usage: /scaffold-api <path> <methods>
| name | db-migrate |
| description | Create and apply a database migration. Usage: /db-migrate <migration_name> |
Create a new Supabase migration, write the SQL, apply it locally, and optionally push to remote.
$ARGUMENTS is the migration name in snake_case (e.g., add_tags_column). If missing, stop and ask the user for a name.
Show current state — Run supabase migration list to display existing migrations so you understand what's already been applied.
Create migration file — Run make db-new name=$ARGUMENTS to scaffold the empty migration file. Note the path of the created file.
Write SQL — Read the new empty migration file. Based on the user's intent (from conversation context or $ARGUMENTS), write the appropriate SQL. If the intent is unclear, ask the user what schema changes they need before writing.
Review — Show the user the SQL you wrote and confirm they want to proceed.
Apply locally — Run make db-migrate (supabase migration up) to apply the migration to the local Supabase instance. If it fails, diagnose the error, fix the SQL, and retry.
Verify — Run make db-diff to confirm no remaining schema drift between local and remote.
Prompt for remote push — Ask the user: "Ready to push this migration to remote Supabase? This affects the production database." Only run make db-push after explicit confirmation.
make db-pushadd_user_preferences, create_tags_table)auth.uid() = user_id)