AgentSkillsCN

Release Smoke Check

以清晰的通过/失败报告,开展最小化的预发布检查。

SKILL.md
--- frontmatter
name: Release Smoke Check
description: Minimal pre-release checks with clear pass/fail reporting
owner: Undangan team
last_updated: 2026-01-24

Release Smoke Check Skill

Purpose

Provide a consistent, low-friction pre-release check to catch regressions early.

When to Use

  • Before tagging or shipping a release
  • After dependency or config updates
  • When CI failures need local reproduction

Inputs

  • Target branch/commit
  • package.json scripts

Outputs

  • Pass/fail summary stored under .agent/artifacts/{conversation-id}/release_smoke_check.md
  • Command list with exit codes and key errors

Prerequisites

  • Node/npm installed
  • Dependencies installed (npm install)

Tools & Availability

  • Local shell + npm scripts
  • If a script is missing, record it explicitly

Methodology

  1. Run npm run lint
  2. Run npm run typecheck
  3. Run npm run test
  4. Run npm run build
  5. Capture exit codes and first actionable error line for failures

Verification

  • All four commands executed or documented as missing
  • Pass/fail summary includes exit codes
  • Failure notes include the first actionable error

Pass/Fail: Pass only if all checks above are satisfied.

Risks & Mitigations

  • Flaky tests → rerun once and record both outcomes
  • Slow builds → run during low-activity periods