AGENT SKILL

release-check

Validate release readiness - changesets, policy compliance, build, test, and dependency sync

License 许可
MIT
最近更新
2026-11-15
Stars
★ 3
Forks
1

01 前言 Front Matter

name
release-check
description
Validate release readiness - changesets, policy compliance, build, test, and dependency sync
disable-model-invocation
true

02 资源文件 1

03 SKILL.md 正文

Release Readiness Check

Run a comprehensive validation before merging to main or publishing.

Checklist

Run each step and report results. Stop early if a critical failure is found.

  1. Check branch state

    git status
    git log --oneline main..HEAD
    

    Verify: clean working tree, commits ahead of main

  2. Verify changesets exist for affected packages

    ls .changeset/*.md 2>/dev/null
    pnpm nx affected --base=main -t build --dry-run
    

    Cross-reference: every affected non-private package should have a changeset entry. Packages in the changeset ignore list (dill-docs, repopo-docs) can be skipped. Verify bump types make sense (patch for fixes, minor for features, major for breaking).

  3. Policy compliance

    ./packages/repopo/bin/dev.js check
    

    Must pass with zero violations.

  4. Dependency sync

    pnpm syncpack list-mismatches
    

    Must have zero mismatches.

  5. Build all affected packages

    pnpm nx affected -t build --base=main
    

    Must succeed with no errors.

  6. Run all affected tests

    pnpm nx affected -t test --base=main
    

    Must pass with no failures.

  7. Format and lint check

    pnpm nx affected -t check --base=main
    pnpm nx affected -t lint --base=main
    

    Must pass with no issues.

Report Format

Summarize results:

  • Total affected packages
  • Changeset coverage (which packages have changesets, which are missing)
  • Build/test/lint status per package
  • Any warnings or issues found
  • Final verdict: READY or NOT READY with reasons

04 同仓库更多 Skills