ワンクリックで
gen-test
Generate Vitest tests for a file following project conventions. Use when asked to create tests for a source file.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Generate Vitest tests for a file following project conventions. Use when asked to create tests for a source file.
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
Create and apply a database migration. Usage: /db-migrate <migration_name>
Check Vercel deployment status, compare deployed vs main, and report recent errors. Usage: /deploy-check
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 | gen-test |
| description | Generate Vitest tests for a file following project conventions. Use when asked to create tests for a source file. |
| disable-model-invocation | true |
Generate tests for: $ARGUMENTS
vitest run)@testing-library/react with @testing-library/jest-domexpect for everything, @testing-library/jest-dom for DOM matchersvi.mock() for modules, vi.fn() for functions$ARGUMENTS<filename>.test.ts or <filename>.test.tsxdescribe blocks grouped by function/component, with it for individual cases@supabase/supabase-js or @supabase/ssrprocess.env in beforeEach, restore in afterEachgetState()requireAuth() call, request validation, success paths, and error handlingtransformXFromDb/ToDb): test snake_case <-> camelCase conversionrequireAuth() from @/lib/auth to return { userId: 'test-user-id' }createClient from @/lib/supabase/server to return chainable query builderdedup from @/lib/requestDedup when testing store fetch actionsRun the tests to verify they pass:
npx vitest run --reporter=verbose <test-file-path>
Fix any failures before finishing.