원클릭으로
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 직업 분류 기준
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.
| 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.