| 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 --noEmit
b. Lint
npm run lint
c. Format Check
npm run format:check
d. Tests
npm run test:run
-
Build Registry
If all checks pass:
npm run registry:build
This builds the component registry to ./public/maps.
-
Build Project
npm run build
This 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