2f61ad7f1a
- 项目级 skill: .claude/skills/code-review/ (398行SKILL.md + 参考文件) - 自动触发: AI修改.py/.cbl/.cpy/.lark后自动review - CLAUDE.md: 定义触发规则、review流程、严重级别 - .code-review.yaml: tier=standard, 高风险模块配置 效果: clone即用, 每次代码变更后自动审查, 防止低质量代码入库 Co-Authored-By: Claude <noreply@anthropic.com>
968 B
968 B
Data Migration — Manual Review Checklist
Rollback Plan
- Rollback script tested and ready before migration
- Rollback handles partial migration state
- Rollback is idempotent
- Database backup taken before migration
Consistency Verification
- Migration verification query defined (row count, checksum, sample compare)
- Old and new data validated before old table dropped
- Foreign key constraints preserved
- Indexes migrated or recreated
Large Table Strategy
- Batch processing with configurable batch size
- Migration doesn't lock table for extended period
- Progress tracking (how many rows processed)
- Rate limiting to avoid DB overload
- Dry-run mode tested before actual migration
Idempotency
- Migration script is idempotent (can be re-run safely)
- Uses INSERT ON CONFLICT / INSERT IGNORE / MERGE as appropriate
- Migration tracks what has been processed (checkpoint table)