semantic-release
$ semantic-release Community High RiskAnalyzes commit messages to determine the next semantic version, generates release notes, tags Git, and publishes packages via plugins. Includes --dry-run and --no-ci flags so agents can preview version calculations locally without publishing.
npm install -D semantic-release Runs plugin pipelines directly over local Git history and package registries; not suited for MCP delegation.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Built for headless CI execution with --dry-run and --no-ci, though logs are unstructured text rather than JSON.
- Supports
--dry-runand--no-ciflags - Zero interactive prompts during execution
--dry-run blocks publishing and Git writes, but running without --dry-run when tokens exist immediately tags and publishes.
--dry-runskips Git push and registry publish- High blast radius when executed live with
NPM_TOKEN
Cross-platform Node.js CLI installable per-project or run via npx.
- Runs on macOS, Linux, and Windows via Node.js
Mature plugin architecture automates commit analysis, changelog updates, GitHub releases, and npm publishing.
- Extensible plugin lifecycle for release steps
Widely adopted community-maintained MIT package.
- Long-running
semantic-release/semantic-releaserepository
Detailed GitBook documentation covering CLI flags, plugins, and CI setup.
- Official docs at semantic-release.gitbook.io
Security, Auth & Guardrails
Reads GH_TOKEN/GITHUB_TOKEN, NPM_TOKEN, and plugin credentials purely from environment variables.
MIT open-source npm package; completely free.
# semantic-release Agent Rules - ALWAYS pass `--dry-run` when invoking `semantic-release` during development or diagnosis. - Never run live `semantic-release` outside protected CI pipelines when `NPM_TOKEN` or `GITHUB_TOKEN` is set.
Agent-Ready Command Recipes
Safe Read-Only Queries
npx semantic-release --dry-run --no-ci
Computes the next version and release notes from local commits without tagging or publishing.
Strengths for Agents
- + Designed from the ground up for non-interactive CI environments.
- +
--dry-runaccurately previews version bumps and generated release notes. - + Clean environment-variable credential model (
GITHUB_TOKEN,NPM_TOKEN).
Caveats & Pitfalls
- ! High blast radius if invoked without
--dry-runin an environment holding publish tokens. - ! Output is human-readable log text without
--jsonsupport.