Archive the differentiated YuXinGu product docs, AI engineering system, design contract, and Go/Vue scaffold. Next execution prioritizes Cece-parity over early innovation (see .ai/product/STRATEGY.md). Co-authored-by: Cursor <cursoragent@cursor.com>
382 B
382 B
Playbook: New Table
Use when: “新建表 / 加字段”
Steps
- Name with
snake_case(.ai/database.md+.ai/domain.md) - Columns include
id, created_at, updated_at, deleted_at - Write migration Up (+ Down)
- Index FKs
- Update
model+ repository - Never ship app code that queries columns not migrated
- Document in PR
- Review (Deployment + Docs items)