一键导入
create-migration
Create a Knex database migration for the backend. Use when asked to create a migration, add a table, add columns, or change the database schema.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create a Knex database migration for the backend. Use when asked to create a migration, add a table, add columns, or change the database schema.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Backend architecture conventions for controllers, domains, and repositories. Use when implementing new API features, adding routes, or working with the domain/repository pattern.
How to run and extend Playwright E2E tests in this repo. Use when running, debugging, or adding end-to-end tests, or when validating UI/API flows through the browser.
基于 SOC 职业分类
| name | create-migration |
| description | Create a Knex database migration for the backend. Use when asked to create a migration, add a table, add columns, or change the database schema. |
Read backend/docs/database-migrations.md before doing anything — it contains all patterns, conventions, and examples for this skill.
Run the migrate:make script to generate the file, then implement up and down following the patterns in that doc:
cd backend && npm run migrate:make <migration_name>