Skip to content
Back to skills

Release Orchestrator

ASecurity

Gates a release from a live git checkout: preflight checks, secret scan, tag-based SemVer bump, changelog and GO/NO-GO score. Use when cutting a release from a repo, before tagging or deploying (offline notes and plans from text: release-manager).

  • 1,271 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added May 29, 2026
ai-agentspythongobashawsgcpgitdatabasedevopsci/cdsecurity

Security analysis

A100/100

Pro scans all 10 files and shows the line behind each finding

Scanned December 4, 2026

npx -y skills add borghei/Claude-Skills --skill release-orchestrator --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Release Orchestrator?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Release Orchestrator
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/borghei-release-orchestrator/badge)](https://www.skillsdirectory.com/skills/borghei-release-orchestrator)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: release-orchestrator
description: >
  Gates a release from a live git checkout: preflight checks, secret scan, tag-based SemVer
  bump, changelog and GO/NO-GO score. Use when cutting a release from a repo, before tagging
  or deploying (offline notes and plans from text: release-manager).
license: MIT + Commons Clause
metadata:
  version: 2.3.0
  author: borghei
  category: engineering
  domain: release-engineering
  updated: 2026-11-08
  tags: [release-pipeline, versioning, pre-flight, readiness]
  python-tools: preflight_checker.py, changelog_generator.py, version_bumper.py, release_readiness_scorer.py
  tech-stack: python, git, semver, conventional-commits, ci-cd
---
# Release Orchestrator

The agent runs pre-flight validation, generates changelogs from conventional commits, auto-bumps semantic versions, and scores deployment readiness with a GO/CONDITIONAL/NO-GO decision.

## Core Capabilities

- **Pre-flight validation** — 8 automated checks: branch sync, merge conflicts, dirty tree, secret scanning (AWS/GCP/GitHub/Stripe/JWT), gitignore coverage, conventional commits, dependency lock consistency.
- **Version management** — auto-detect semver bump (PATCH/MINOR/MAJOR) from commit history across `package.json`, `pyproject.toml`, `Cargo.toml`, etc.; pre-release tags (`--pre alpha|beta|rc`).
- **Changelog generation** — Keep a Changelog markdown grouped by type (Added/Changed/Fixed/Security/Breaking) with hashes and `@author` attribution.
- **Deployment readiness** — 7 categories (Tests, Code Quality, Docs, Security, Breaking Changes, Dependencies, Rollback) with hard gates (failing tests, secrets, critical CVEs, ...) → GO / CONDITIONAL / NO-GO, or INCOMPLETE when data is missing.
- **End-to-end pipeline** — chain all tools non-interactively; blocks on pre-flight failure, test failure, or NO-GO. CI/CD steps and pre-push git hook provided.
- **Release types** — hotfix, patch, minor, major, and pre-release flows with branch patterns and bump rules.

## When to Use

- Running pre-release validation or gating a release with secret scanning and GO/NO-GO checks.
- Generating a changelog from conventional commits before tagging.
- Auto-bumping a semantic version from commit history.
- Scoring deployment readiness across tests, quality, security, and rollback.
- Wiring release validation into a CI/CD pipeline or pre-push hook.

## Clarify First

Before orchestrating the release, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.

- **Base branch & ref range:** what HEAD is compared against (drives pre-flight branch-sync and the changelog `--from`/`--to`).
- **Release type:** hotfix / patch / minor / major / pre-release (sets the branch pattern and bump rule).
- **Gate strictness:** block on CONDITIONAL (exit 1) or only on NO-GO (decides whether the pipeline halts).

Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.

## Tools

| Tool | Purpose | Command |
|------|---------|---------|
| `preflight_checker.py` | 8 checks: repo, dirty tree, branch sync, merge conflicts, secrets, gitignore, commit format, lock files | `python3 scripts/preflight_checker.py --repo . --base main --format json` |
| `changelog_generator.py` | Keep a Changelog markdown from a ref range | `python3 scripts/changelog_generator.py --repo . --from latest --to HEAD --output CHANGELOG.md` |
| `version_bumper.py` | Next SemVer from commits since the last tag; writes version files unless `--dry-run` | `python3 scripts/version_bumper.py --repo . --dry-run --format json` |
| `release_readiness_scorer.py` | GO / CONDITIONAL / NO-GO / INCOMPLETE from a release-data JSON | `python3 scripts/release_readiness_scorer.py release_data.json --format json` |
| `make_sample_repo.py` | Build a sound or flawed throwaway git repo to try the tools on | `python3 scripts/make_sample_repo.py --kind flawed --out-dir demo` |

All tools take `--format json` (legacy `--json` still works); the changelog tool also takes `--format text`, the scorer `--format summary`.

## Exit codes

| Code | Meaning |
|------|---------|
| 0 | Clean: all checks pass, bump computed, changelog written, scorer says GO |
| 1 | Findings to act on: failed preflight check, disagreeing version files, empty changelog range, scorer says CONDITIONAL, NO-GO or INCOMPLETE |
| 2 | Unusable input: not a git repository, no version found, unknown ref, bad or empty JSON, wrong field type. One-line message, no traceback |

Version bumping needs a version source (`package.json`, `pyproject.toml`, `setup.py`, `setup.cfg`, `Cargo.toml`, `VERSION` or a git tag) and, without `--bump`, at least one commit since the last tag. Neither is invented: the tool exits 2 and names what is missing.

## Readiness data

`release_readiness_scorer.py` reads one JSON object with the keys `tests`, `code_quality`, `documentation`, `security`, `breaking_changes`, `dependencies`, `rollback_plan` (see `assets/sample_release_data.json` for every field). Rules:

- A missing required field is reported as missing and the decision is `INCOMPLETE`; it is never scored as clean.
- Hard gates force NO-GO regardless of score: any failing test, any secret, any critical CVE, any yanked package, undocumented breaking changes, no documented rollback.
- The 0-100 score uses internal heuristic weights (tests 25, quality 20, docs 15, security 15, breaking 10, dependencies 10, rollback 5). It is shown only for complete input; below 60 is NO-GO.
- Any remaining finding makes the result CONDITIONAL; GO means the data is complete and nothing is wrong.

## Example

```bash
python3 scripts/release_readiness_scorer.py assets/flawed_release_data.json
```

```
RELEASE READINESS 1.3.0
Read 32 field(s); 0 required field(s) missing.
Score: 90/100 (heuristic weights)

  Tests               94/100  [HARD BLOCKER]
  ...
Hard blockers:
  [!] tests.passed_tests = 340/342: every test must pass (hard gate)

Findings (field = value: fix):
  - tests.passed_tests = 340/342  [every test must pass (hard gate)]
      fix: fix or remove the 2 failing test(s), then re-run
  ...
NO-GO: 1 hard blocker(s), 6 finding(s)
```

Try the git tools without touching a real repo: `python3 scripts/make_sample_repo.py --kind flawed --out-dir demo`, then `python3 scripts/preflight_checker.py --repo demo/flawed` (exit 1: uncommitted edit, credential-shaped string, non-conventional commit).

## Reference Documentation

Load the reference that matches the task — keep this file lean and pull detail on demand:

- **[references/release-workflows-and-operations.md](references/release-workflows-and-operations.md)** — quick-start commands, the three core workflows (pre-flight, version/changelog, readiness) with their checkpoint tables, the end-to-end pipeline script, release-type matrix, CI/CD integration YAML, anti-patterns, and the troubleshooting table. Read when running or chaining any workflow.
- **[references/release_engineering_guide.md](references/release_engineering_guide.md)** — release strategies (rolling, blue-green, canary) and release engineering practice. Read when choosing a deployment strategy.
- **[references/rollback_strategies.md](references/rollback_strategies.md)** — database migration rollbacks, reversible-migration rules, and rollback playbooks. Read when planning the rollback portion of a release.
- **[references/ci_cd_best_practices.md](references/ci_cd_best_practices.md)** — pipeline design patterns (stage-gate, fan-out/fan-in) and CI/CD best practices. Read when designing the surrounding pipeline.

## Anti-Patterns

**Mistake:** Tagging a release from a dirty or unpushed working tree.
**Why it matters:** The tag then points at code nobody reviewed, and the build cannot be reproduced.
**Instead:** Let the preflight checker fail the release until the tree is clean and in sync with the remote.

**Mistake:** Overriding a NO-GO score because the date is fixed.
**Why it matters:** The checks that fail (tests, secrets, missing changelog) are the ones that cause rollbacks.
**Instead:** Fix the failing input or record an explicit, named exception with a rollback plan.

**Mistake:** Hand-editing the version in one file.
**Why it matters:** Manifests, in-app constants and docs drift apart, and users see two versions.
**Instead:** Bump with `version_bumper.py` from the commit history, then grep for the old version.

## Files

| File | Purpose |
|------|---------|
| `scripts/preflight_checker.py` | Repo-state checks (clean tree, branch, remote sync, tests, secrets) |
| `scripts/version_bumper.py` | SemVer bump from conventional commits since the last tag |
| `scripts/changelog_generator.py` | Changelog from a git range |
| `scripts/release_readiness_scorer.py` | Weighted GO/NO-GO score from release data |
| `assets/sample_release_data.json` | Sound release data (GO, exit 0) |
| `assets/flawed_release_data.json` | Two failing tests and other findings (NO-GO, exit 1) |
| `assets/incomplete_release_data.json` | Most fields missing (INCOMPLETE, exit 1) |
| `assets/malformed_release_data.json` | Wrong field type (exit 2) |
| `scripts/make_sample_repo.py` | Sound / flawed sample git repos for the git tools |
| `assets/contract.json` | Runs checked by `scripts/skill_contract_check.py` |

## Scope & Limitations

**This skill covers:** pre-flight validation, semantic version bumping, changelog generation, deployment-readiness scoring, and gating releases with GO/NO-GO decisions for git + conventional-commits projects.

**This skill does NOT cover:** the actual deploy/orchestration execution (handled by `senior-devops` / `devops-workflow-engineer`), test authoring (`senior-qa`), or deep security scanning beyond secret pattern-matching (`senior-secops`).

**Pick this or `engineering/release-manager`:** this skill works against a live checkout (preflight checks, secret scan, tag-based bumps, GO/NO-GO). `release-manager` works offline on commit text and a release-plan file (notes, version, readiness, rollback runbook, comms plan).

Files in this skill

  • SKILL.md8.8 KB
  • assets/release_checklist_template.md2.3 KB
  • assets/sample_release_data.json1.1 KB
  • references/ci_cd_best_practices.md5.8 KB
  • references/release_engineering_guide.md5.9 KB
  • references/rollback_strategies.md5.2 KB
  • scripts/changelog_generator.py17.3 KB
  • scripts/preflight_checker.py25.1 KB
  • scripts/release_readiness_scorer.py23.6 KB
  • scripts/version_bumper.py18 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.