Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

semantic-release

$ semantic-release Community High Risk
semantic-release Contributors · Code & DevOps · MIT · macos / linux / windows

Analyzes 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.

FCRS-1.0 Score
80 /100
Good
Medium Confidence
Zero-Friction Install
npm install -D semantic-release
CLI vs MCP Decision CLI Only

Runs plugin pipelines directly over local Git history and package registries; not suited for MCP delegation.

Agent-Readiness Checklist

— JSON Output
— Field Filtering
✓ Non-Interactive
✓ Dry-Run
— Read-Only Mode
✓ NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 19 / 25

Built for headless CI execution with --dry-run and --no-ci, though logs are unstructured text rather than JSON.

  • Supports --dry-run and --no-ci flags
  • Zero interactive prompts during execution
Trust & Safety 19 / 25

--dry-run blocks publishing and Git writes, but running without --dry-run when tokens exist immediately tags and publishes.

  • --dry-run skips Git push and registry publish
  • High blast radius when executed live with NPM_TOKEN
Setup & Portability 13 / 15

Cross-platform Node.js CLI installable per-project or run via npx.

  • Runs on macOS, Linux, and Windows via Node.js
Utility & Efficiency 13 / 15

Mature plugin architecture automates commit analysis, changelog updates, GitHub releases, and npm publishing.

  • Extensible plugin lifecycle for release steps
Maintenance & Lineage 8 / 10

Widely adopted community-maintained MIT package.

  • Long-running semantic-release/semantic-release repository
Docs & Verifiability 8 / 10

Detailed GitBook documentation covering CLI flags, plugins, and CI setup.

  • Official docs at semantic-release.gitbook.io

Security, Auth & Guardrails

Auth Modes
Env API Key
Credential Storage

Reads GH_TOKEN/GITHUB_TOKEN, NPM_TOKEN, and plugin credentials purely from environment variables.

Side Effects
Read-Only Local Write Remote Write
Cost & Quotas

MIT open-source npm package; completely free.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# 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

Dry-run next semantic version calculation
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-run accurately 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-run in an environment holding publish tokens.
  • ! Output is human-readable log text without --json support.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI