name: release description: Prepare a Terrae component for release by running all checks and builds disable-model-invocation: true allowed-tools: Bash(npx tsc *), Bash(npm run *)
Release Skill
Prepare a Terrae component for release.
Instructions
Pre-release Checklist Run these checks in order:
a. Type Check
npx tsc --noEmitb. Lint
npm run lintc. Format Check
npm run format:checkd. Tests
npm run test:runBuild Registry If all checks pass:
npm run registry:buildThis builds the component registry to
./public/maps.Build Project
npm run buildThis runs the Next.js production build.
Report Status
- Show results of each step
- If any step fails, stop and report the issue
- Offer to help fix any issues found
Final Verification
- Confirm all checks passed
- Show the built files in
./public/maps - Remind user to commit changes if needed
Do NOT
- Automatically push to remote
- Automatically create tags or releases
- Modify version numbers without explicit request