一键导入
database-management
When you need to modify the database schema, run migrations, or deploy Supabase changes. Use this for all SQL and Supabase-related tasks.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
When you need to modify the database schema, run migrations, or deploy Supabase changes. Use this for all SQL and Supabase-related tasks.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
When you need to understand the project's core mandate, operational rules, or "Constitution". Use this skill to align with the project's identity and strict coding standards.
Database design principles and decision-making. Schema design, indexing strategy, ORM selection, serverless databases.
When you are creating or modifying UI components. Use this skill to ensure consistency with the design system and shadcn/ui.
When you are working on the Tiptap v3 block editor. Use this for extending the editor, adding nodes, or debugging rich text issues.
When you need to run tasks, build projects, or understand the workspace graph using Nx. Use this for all build, lint, and test operations.
When you need to understand the directory structure, open-core model, or where to add new code.
| name | database-management |
| description | When you need to modify the database schema, run migrations, or deploy Supabase changes. Use this for all SQL and Supabase-related tasks. |
supabase/config.toml manages local settings..env.local is populated with valid Supabase credentials.npm run db:migrate:check
npm run db:migrate or npm run db:push
npm run db:migrate:repair-history:check, then npm run db:migrate:repair-history
npm run db:link
npm run db:types
npm run deploy:supabase
libs/db/src/supabase/migrations.db:reset, sandbox:reset, db:push:sandbox, or db:migrate:fresh against a production/shared database containing orders, users, payments, or customer data.npm run db:migrate:fresh is only for a brand-new empty database.npm run db:migrate. Do not attempt to run mutating DB commands yourself unless explicitly asked and the target is confirmed.next.config.js or middleware.ts.NEXT_PUBLIC_URL matches your site_url in Supabase config to prevent redirect issues with auth.