Install
npx skillscat add thanhnk1602/ai-ass-training/deploy Install via the SkillsCat registry.
SKILL.md
Deployment Pipeline
Deploy to the specified environment with safety checks.
Pre-flight Checks
- Verify all tests pass:
npm test - Verify build succeeds:
npm run build - Check for uncommitted changes:
git status - Verify correct branch:
- staging: any branch
- production: must be
main
Deploy Steps
- Run pre-flight checks (STOP if any fail)
- Create deployment tag:
v{date}-{short-sha} - Deploy command:
- staging:
npx vercel --env preview - production:
npx vercel --prod
- staging:
- Verify deployment health check
- Report deployment summary
Output
Provide deployment summary with:
- Environment deployed to
- Git SHA and tag
- Pre-flight check results
- Deployment URL
- Health check status