一键导入
preflight
Run the 15-check pre-launch preflight and interpret results with context-aware fix suggestions
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run the 15-check pre-launch preflight and interpret results with context-aware fix suggestions
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | preflight |
| description | Run the 15-check pre-launch preflight and interpret results with context-aware fix suggestions |
| disable-model-invocation | true |
Run the full pre-launch preflight checklist and interpret results.
pnpm preflight
This runs 15 checks covering lint, types, tests, build, security, and structure.
| Check | What It Means | Common Fix |
|---|---|---|
| Biome lint | Code style or correctness violation | pnpm lint:fix then review remaining |
| TypeScript | Type errors across workspaces | pnpm typecheck:all to see full list |
| Build | Compilation failure in one or more packages | Check dist/ output, tsup config |
| Tests | Unit/integration test failures | pnpm test to see which tests fail |
| Check | What It Means | Common Fix |
|---|---|---|
any audit | Avoidable any types found | pnpm audit:any — use unknown + type guards |
| Console audit | console.* in production code | pnpm audit:console — use @revealui/utils logger |
| Structure | Import-boundary or package-structure issues | pnpm validate:structure |
| Security | CSP, CORS, or header issues | Check packages/security/ |
| Dependencies | Version mismatches across workspaces | pnpm deps:check then pnpm deps:fix |
If all hard checks pass:
pnpm gate for the full CI gate (superset of preflight)git status/deploy-checkIf checks fail, fix in priority order:
Create and apply Drizzle ORM migrations against the single Neon-primary PostgreSQL database
Next.js App Router best practices for routing, data fetching, rendering, and optimization.
Next.js Cache Components, 'use cache' directive, PPR, cacheLife, cacheTag, and migration from unstable_cache.
Turborepo monorepo task orchestration, caching, and pipeline configuration guidance.
React composition patterns for building maintainable, reusable component architectures.
Deployment to Vercel including configuration, environment variables, and production best practices.