一键导入
preflight
Run all quality gates before any major change. Checks TypeScript types, Vite build, ESLint, and backend tests.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run all quality gates before any major change. Checks TypeScript types, Vite build, ESLint, and backend tests.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | preflight |
| description | Run all quality gates before any major change. Checks TypeScript types, Vite build, ESLint, and backend tests. |
| disable-model-invocation | true |
| user-invocable | true |
| allowed-tools | Bash |
Run all quality checks for the FloodSafe codebase. Use before commits, deployments, or after major changes.
cd apps/frontend && npx tsc --noEmit
cd apps/frontend && npm run build
cd apps/frontend && npm run lint
cd apps/backend && python -m pytest -m "not db_required" -q
Report results clearly:
Preflight Results:
1. TypeScript ✅ Pass / ❌ Fail (N errors)
2. Build ✅ Pass / ❌ Fail
3. Lint ✅ Pass / ❌ Fail (N warnings)
4. Backend ✅ Pass / ❌ Fail (N failed)
Overall: ✅ All gates passed / ❌ N gates failed
If any gate fails, show the relevant error output so the user can fix it.
Query the CodeGraphContext code graph for cross-cutting analysis (callers, callees, dead code, dependency chains)
Check health of all production services — frontend (Vercel), backend + domain-specific (Koyeb), ML service, key API endpoints, per-city integrations
Scan codebase for real counts (hotspots, contexts, tables, cities, routers, screens) and compare against FEATURES.md, CLAUDE.md, README.md. Reports drift and optionally applies fixes.
Deploy frontend (Vercel) and/or backend (Koyeb) to production with pre-deploy quality gates
Manage Koyeb backend services - check status, view logs, redeploy, list deployments
Visual verification of frontend UI using Claude-in-Chrome browser automation. Takes screenshots of all screens at desktop and mobile viewports.