| name | release |
| description | Pre-deployment verification including tsc, lint, build, security scan, and console.log cleanup |
| user-invocable | true |
Release Checklist
Pre-deployment verification checklist. Run this before pushing to dev or merging to main.
Steps
-
Git status — Check for uncommitted changes:
git status
All changes should be committed or intentionally unstaged.
-
TypeScript check — Must have 0 errors:
npx tsc --noEmit
-
Lint check — Must have 0 errors:
npm run lint
-
Production build — Must complete successfully:
npm run build
-
Security scan — Check for committed secrets:
git ls-files | grep -iE '\.env|credentials|secret'
-
Console.log cleanup — Check for debug logging in production code:
grep -rn "console.log" src/pages/ src/components/ src/lib/ --include="*.ts" --include="*.tsx"
Remove any non-essential console.log statements.
-
Dependency audit — Check for known vulnerabilities:
npm audit
-
Output verdict:
- If all checks pass: "Ready to deploy"
- If any check fails: List specific blockers with file:line references
Post-Deploy Verification
After deployment, verify visually:
See docs/runbooks/deploy.md for full deployment procedure.