一键导入
migrate
Database migration helper
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Database migration helper
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
List and invoke specialized agents
Create and manage agent teams for multi-agent coordination
Enhance ForemanOS construction document processing pipeline — vision extraction, RAG retrieval, material takeoffs, and cross-reference resolution for construction plans (PDF). Triggers when working on: document-processor-batch.ts (vision prompts), intelligence-orchestrator.ts (Phase A/B/C pipeline), rag.ts (scoring/retrieval), takeoff-memory-service.ts (material quantities), symbol-learner.ts (symbol recognition), or any Prisma schema changes to Document/DocumentChunk/DrawingType/SheetLegend/MaterialTakeoff. Also triggers for: new extraction modules, plan processing improvements, RAG tuning for construction queries, or material takeoff accuracy work.
API route scaffolding
Quick health check (lint, types, tests)
Smart commit with message
| name | migrate |
| description | Database migration helper |
Help with Prisma database migrations.
/migrate - Check migration status/migrate create - Create new migration/migrate apply - Apply pending migrations/migrate reset - Reset database (dev only)# Check status
npx prisma migrate status
# Create migration (dev)
npx prisma migrate dev --name $ARGUMENTS
# Apply migrations (prod)
npx prisma migrate deploy
# Reset database
npx prisma migrate reset
# Regenerate client
npx prisma generate
prisma/schema.prismanpx prisma migrate dev --name descriptionnpx prisma migrate deploy in prod| Issue | Solution |
|---|---|
| Client outdated | npx prisma generate |
| Migration conflict | npx prisma migrate resolve |
| Schema drift | npx prisma db push (dev) |