release

Prepare a Terrae component for release by running all checks and builds

SKILL.md

GitHub

Release Skill

Prepare a Terrae component for release.

Instructions

  1. 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
    
  2. Build Registry If all checks pass:

    npm run registry:build
    

    This builds the component registry to ./public/maps.

  3. Build Project

    npm run build
    

    This runs the Next.js production build.

  4. Report Status

    • Show results of each step
    • If any step fails, stop and report the issue
    • Offer to help fix any issues found
  5. Final Verification

    • Confirm all checks passed
    • Show the built files in ./public/maps
    • Remind user to commit changes if needed
  6. Do NOT

    • Automatically push to remote
    • Automatically create tags or releases
    • Modify version numbers without explicit request