agentleFS
carlkiblercarlkibler/agent-skills/skills/release-operator/SKILL.md

release-operator

Skill6 starsChanged 4 months agoMITView on GitHub

Run a CLI or app release: verify, version, test, publish, and verify installs.

  • Reads credentials
  • Commits and pushes

The file

We split this skill into the rules it gives an agent

12 rules. About 0 are common, 7 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read the repo instructions and existing release docs/scripts.

    line 39
  2. Distinctive:

    Run the repo's standard checks.

    line 56
  3. Very specific:

    Run a leak audit against the artifact list: no .env, tokens, local logs, private notes, nested .git, test-only fixtures advertised as live …

    line 65
  4. Distinctive:

    Keep changelog user-facing, not just commit-shaped.

    line 71
  5. Distinctive:

    Use the repo's release script if present.

    line 75
  6. Distinctive:

    Verify the published artifact, not just the local checkout:

    line 89
  7. Distinctive:

    If a remote host was named (use the user-supplied name, never guess one):

    line 97
  8. Distinctive:

    Do a rollback drill when feasible: confirm the previous version/tag can be reinstalled or the deployment can be rolled back.

    line 105
  9. Very specific:

    Use status-copy-trust-audit before release when CLI status text changed.

    line 123
  10. Very specific:

    Use changelog-writer when changelog wording needs user-facing translation.

    line 124
  11. Very specific:

    Use support-storm or status-copy-trust-audit when the release changes setup, billing, permissions, status output, or failure modes.

    line 125
  12. Very specific:

    Use remote-host-verifier for local/remote comparison, especially after release, to catch stale package sources and hidden host drift.

    line 126

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Release Operator

A release is not done when the commit is made. It is done when a fresh consumer can install/update and the remote host agrees.

Third-order stance: a release is a trust event with an exit door. Verify not just the happy path, but leakage, rollback, stale consumers, and the support email this version would generate if it went sideways.

When to Use

  • The user says release, deploy, publish, cpd, or "do that release"
  • A packaged CLI/app needs version bump, changelog, tag, and verification
  • A remote host should validate the install/update path

When NOT to Use

  • Pure local prototype work with no publish surface
  • The repo has its own release automation and the user only asked for a small code fix
  • There are unreviewed failing tests that need debugging first

<process>

Phase 1: Establish Release Facts

Publishing, tagging, and pushing are outward-facing and hard to undo. Proceed through them only if the user asked for the release itself; otherwise stop after Phase 3 and confirm. Never publish with failing gates.

Read the repo instructions and existing release docs/scripts. Determine:

  • current version and target version
  • package manager / build tool
  • release target: npm, GitHub release, app notarization, static deploy, etc.
  • required changelog format
  • whether install/update must be verified on a remote host

Run:

git status --short
git tag --list --sort=-version:refname | head

Phase 2: Quality Gates

Run the repo's standard checks. For Node CLIs, default to:

npm run check
npm pack --dry-run

For packaged CLIs, inspect the dry-run tarball contents and confirm support scripts advertised by doctor/live checks are included.

Run a leak audit against the artifact list: no .env, tokens, local logs, private notes, nested .git, test-only fixtures advertised as live features, or generated files that encode local paths.

Phase 3: Version and Changelog

  • Move changelog entries from Unreleased to the target version/date.
  • Bump package metadata and lockfiles together.
  • Keep changelog user-facing, not just commit-shaped. Include changed trust semantics explicitly: install path, migration, telemetry/logging, permissions, reversibility, and support impact.

Phase 4: Commit, Tag, Push, Publish

Use the repo's release script if present. Otherwise:

git add <changed files>
git commit -m "Release vX.Y.Z"
git tag vX.Y.Z
git push
git push origin vX.Y.Z

Then publish using the configured channel. Do not invent a publish command; inspect docs/scripts first.

Phase 5: Post-release Verification

Verify the published artifact, not just the local checkout:

<tool> --version
<tool> doctor --smoke
<tool> update

If a remote host was named (use the user-supplied name, never guess one):

ssh <host> '<tool> update; <tool> --version; <tool> doctor --smoke'

Classify any warnings. Release blockers are install failure, wrong version, missing packaged files, broken smoke test, or stale remote config pointing at the wrong binary.

Do a rollback drill when feasible: confirm the previous version/tag can be reinstalled or the deployment can be rolled back. A release is only safe if the exit door opens.

Phase 6: Report

Return concise evidence:

  • version/tag published
  • checks run
  • package/publish verification
  • local install/update result
  • remote install/update result
  • rollback/exit-door evidence, or why it was not applicable
  • any follow-up issues filed
</process><interlocks>
  • Use status-copy-trust-audit before release when CLI status text changed.
  • Use changelog-writer when changelog wording needs user-facing translation.
  • Use support-storm or status-copy-trust-audit when the release changes setup, billing, permissions, status output, or failure modes.
  • Use remote-host-verifier for local/remote comparison, especially after release, to catch stale package sources and hidden host drift.
</interlocks>

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.