원클릭으로
add-migration
Guides database schema changes across SQLite and PostgreSQL, including seed updates and schema push.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Guides database schema changes across SQLite and PostgreSQL, including seed updates and schema push.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Implement a backlog story following the layer order (Domain, Database, API, Frontend, E2E) with TDD.
Review the backlog to determine what to work on next by checking epic and story statuses in docs/backlog/.
Automates pre-commit workflow: lint, test, review changes, then commit with conventional commit format.
Verify a story is complete by checking acceptance criteria, running all tests, and updating status.
Add end-to-end Playwright tests for a feature using data-testid selectors, with API and UI test patterns.
Add unit tests for domain logic, database adapters, API endpoints, or frontend components using Vitest patterns.
| name | add-migration |
| description | Guides database schema changes across SQLite and PostgreSQL, including seed updates and schema push. |
| disable-model-invocation | true |
packages/database/src/schema.sqlite.tspackages/database/src/schema.postgres.tspackages/database/src/seed.tse2e/seed.tspnpm --filter @acme/database db:pushpnpm --filter @acme/database db:seedsnake_case (e.g., user_id, created_at)text('id').primaryKey() with UUIDinteger('created_at', { mode: 'timestamp_ms' }).notNull() (SQLite)integer('is_active', { mode: 'boolean' }) (SQLite).references(() => parentTable.id, { onDelete: 'cascade' })// schema.sqlite.ts
export const notes = sqliteTable('notes', {
// ... existing columns
tags: text('tags'), // JSON string of tag names
});
// schema.postgres.ts
export const notes = pgTable('notes', {
// ... existing columns
tags: text('tags'),
});