AgentSkillsCN

check-deploy

运行部署前检查(类型检查、测试、构建)

SKILL.md
--- frontmatter
name: check-deploy
description: Run pre-deploy checks (types, tests, build)
disable-model-invocation: true

Pre-deploy Check

Run all validation steps before deploying to Vercel. Report results for each step. If any step fails, stop and show the errors.

Steps

  1. TypeScript type checknpx tsc -b
  2. Run testsnpm run test
  3. Production buildnpm run build

On Success

Report all three steps passed and confirm the app is ready to deploy.

On Failure

Stop at the first failing step. Show the full error output and suggest fixes. Do not proceed to later steps — a type error means the build will also fail.