What problem does it solve?
This Skill eliminates the risk of shipping code with hidden technical regressions (like type errors, schema mismatches, or leftover test debugging code) that are easily missed during human code review, reducing production bugs and unnecessary rework.
Core Features & Use Cases
- Pre-Review Type Safety Checks: Clears stale TypeScript build caches and validates compilation for both web and API codebases, including test files, to catch hidden type regressions that standard builds might miss.
- Code Hygiene Validation: Detects forbidden patterns like
any types, console.log statements, and .only() calls in test files that violate project coding standards.
- Cross-Layer Consistency Guards: Verifies alignment between frontend mutation data shapes and backend validation schemas, plus matches Prisma migration foreign key constraints to schema definitions to prevent silent persistence failures.
- Use Case: A developer finishing a new feature branch can run this Skill to automatically catch 10+ common pre-review issues in seconds, instead of relying on human reviewers to spot them during code review.
Quick Start
Use the ship-preflight skill to run all final technical checks on your current feature branch worktree before requesting human code review.