Agent Skills
› alamenai/terrae
› release
release
GitHub用于准备Terrae组件发布,依次执行类型检查、Lint、格式检查及测试。通过后构建注册表和Next.js生产环境,报告状态并验证结果,不自动推送或打标签。
Trigger Scenarios
需要发布组件前进行完整检查和构建
运行预发布清单以确认代码质量
Install
npx skills add alamenai/terrae --skill release -g -y
SKILL.md
Frontmatter
{
"name": "release",
"description": "Prepare a Terrae component for release by running all checks and builds",
"allowed-tools": "Bash(npx tsc *), Bash(npm run *)",
"disable-model-invocation": true
}
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:run -
Build 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
Version History
- ea9a480 Current 2026-07-25 11:49


