agentleFS
yasikyasik/agentlane/.agents/skills/release/SKILL.md

release

Skill9 starsChanged 14 days agoMITView on GitHub

Prepare and publish an AgentLane release with lockstep versioning, generated Keep a Changelog release notes, verification, a release commit, an annotated tag, and a GitHub release.

  • Commits and pushes

196 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use create-agent-adapter, changelog-style and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • MicrosoftSkill

    create-agent-adapter

    Technical guide for creating a new Paperclip agent adapter. Use when building a new adapter package, adding support for a new AI coding tool (e.g. a new CLI agent, API-based agent, or custom process), or when modifying the adapter system. Covers the required interfaces, module structure, registration points, and conventions derived from the existing claude-local and codex-local adapters.

    Also in 5 projects that use this

  • GrinvSkill

    changelog-style

    Turn a commit range into CHANGELOG.md entries following common-changelog style. Use when finishing a PR or cutting a release, to write/fix the [Unreleased] section's entries — moving [Unreleased] under a new dated version heading is a separate, automated step (see the release skill / scripts/sync-version.ts), not this skill's job.

    Also in 4 projects that use this

  • GrinvSkill

    docs-consistency-check

    Check README/manifest.json/server.json/CHANGELOG.md/AGENTS.md and docs/*.md for drift against the actual registered tools and source. Use after adding, renaming, or removing a tool, or as part of a live-audit pass.

    Also in 4 projects that use this

  • Microsoft AzureSkill

    component-release

    Prepares a verifiable Agent Landing Zone UI release. Use for release branches, VERSION, changelog entries, tags, release notes, and compatibility evidence; never publish without explicit human approval.

    Also in 4 projects that use this

  • Microsoft AzureSkill

    documentation-consistency

    Keeps AI Landing Zone contributor, user, and operator documentation aligned with shipped Bicep behavior. Use for parameters, defaults, outputs, topology, deployment flow, operations, or releases.

    Also in 8 projects that use this

  • rivet-devSkill

    launch-graphics

    Generate agentOS marketing/launch graphics (launch & social heroes, code-snippet cards) from the committed generators in docs-internal/graphics. Use when asked to make, update, or render an agentOS launch image, social image, "agentOS Apps" graphic, or technical code-snippet image.

    Also in 3 projects that use this

  • +3 more from Grinv

The file

Show its rules and text

We split this skill into the rules it gives an agent

17 rules. 0 are common, 11 are distinctive, and 6 are very specific to this project.

  • 0

    Common

    Most of the 186 edited versions we read keep these.

  • 11

    Distinctive

    This author's own choices. Worth a look.

  • 6

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use this skill when the user wants to cut an AgentLane release.

    line 8
  2. Very specific:

    Use PATCH for safe fixes, docs, and internal improvements that do not intentionally change documented public behavior.

    line 25
  3. Very specific:

    Use MINOR for new public capabilities or public behavior changes users should notice.

    line 27
  4. Distinctive:

    stop immediately if any guardrail fails

    line 40
  5. Distinctive:

    If there are no remote semver tags, review the initial history:

    line 69
  6. Distinctive:

    All discovered versions must match before release preparation.

    line 86
  7. Distinctive:

    start with one short summary paragraph

    line 105
  8. Very specific:

    use Keep a Changelog sections: Added, Changed, Deprecated, Removed, Fixed, and Security

    line 106
  9. Distinctive:

    update the compare link at the bottom

    line 111
  10. Distinctive:

    keep each summary paragraph on one physical line

    line 112
  11. Distinctive:

    keep each bullet on one physical line

    line 113
  12. Very specific:

    Use references/release_notes_template.md as the body template.

    line 115
  13. Distinctive:

    Do not commit or tag until all verification commands pass.

    line 129
  14. Distinctive:

    Commit only the files changed for the release:

    line 133
  15. Distinctive:

    If workspace package version files exist, add those exact paths before committing.

    line 140
  16. Very specific:

    Create an annotated tag using the new CHANGELOG.md entry as the tag message:

    line 143
  17. Distinctive:

    If confirmation is declined, publishing is skipped and no remote changes are made.

    line 178

“Common” is measured: kept by at least 6 in 10 of the 186 edited versions of this file we could read. “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

Use this skill when the user wants to cut an AgentLane release.

This skill is the release entrypoint. It owns the full workflow: inspect the repository state, choose the target version, update version files, generate the CHANGELOG.md entry from commits, verify the change, create the release commit, create the annotated tag, and publish through the skill-local helper.

Versioning Policy

AgentLane uses lockstep versioning.

Rules:

  1. The root package and all discovered workspace packages must share the same release version.
  2. While the project is pre-1.0, use 0.MINOR.0 for meaningful public changes.
  3. Use PATCH for safe fixes, docs, and internal improvements that do not intentionally change documented public behavior.
  4. Use MINOR for new public capabilities or public behavior changes users should notice.

Workflow

1. Guardrails

Before editing:

  1. confirm the current branch is exactly main
  2. confirm git status --short is empty
  3. fetch tags from origin
  4. confirm local main matches origin/main
  5. stop immediately if any guardrail fails

Useful commands:

git branch --show-current
git status --short
git fetch --tags origin
git rev-parse HEAD
git rev-parse origin/main

2. Release Context

Base the release review on the latest remote semver tag.

Find the latest remote tag with:

git ls-remote --tags --refs origin 'refs/tags/v*'

Review the range:

git log --reverse --no-merges --oneline <last-tag>..HEAD
git diff --name-only <last-tag>..HEAD

If there are no remote semver tags, review the initial history:

git log --reverse --no-merges --oneline HEAD
git log --name-only --pretty=format: --diff-filter=AM HEAD

3. Version Files

Read versions from:

  1. pyproject.toml
  2. any workspace package pyproject.toml files discovered under packages/
  3. packages/process_bridge_ts/package.json
  4. app-facing example package manifests that pin @agentlanejs/process-bridge by version

All discovered versions must match before release preparation.

Apply the target version to every discovered version file. Do not change inter-package dependency bounds as part of release preparation.

4. Changelog

Generate the release entry from:

  1. non-merge commits in the review range
  2. changed files in the review range
  3. user-facing API and behavior changes
  4. examples and documentation changes that affect users

Edit CHANGELOG.md directly.

Format rules:

  1. insert or replace ## [<version>] - <YYYY-MM-DD> near the top
  2. start with one short summary paragraph
  3. use Keep a Changelog sections: Added, Changed, Deprecated, Removed, Fixed, and Security
  4. include only sections that have content
  5. attach commit links or short commit references for each bullet
  6. omit low-signal internal churn unless it materially affects users
  7. update the compare link at the bottom
  8. keep each summary paragraph on one physical line
  9. keep each bullet on one physical line

Use references/release_notes_template.md as the body template.

5. Verify

Run:

/usr/bin/make format
/usr/bin/make lint
/usr/bin/make typecheck
/usr/bin/make tests
cd packages/process_bridge_ts && bun run check && npm pack --dry-run

Do not commit or tag until all verification commands pass.

6. Commit And Tag

Commit only the files changed for the release:

git add pyproject.toml packages/process_bridge_ts/package.json examples/harness/process_bridge_stdio/package.json CHANGELOG.md
git commit -m "release: v<version>"

If workspace package version files exist, add those exact paths before committing.

Create an annotated tag using the new CHANGELOG.md entry as the tag message:

git tag -a v<version> -F <temporary-release-notes-file>

7. Publish

Publish only after the release commit and annotated tag exist locally:

bash .agents/skills/release/scripts/run.sh --tag v<version>

The helper:

  1. requires an explicit --tag v<version>
  2. verifies the local tag exists
  3. reads the GitHub release body from the matching CHANGELOG.md entry
  4. verifies a GitHub release does not already exist for the tag
  5. asks for explicit confirmation
  6. pushes HEAD:main to origin
  7. pushes the tag to origin
  8. creates the GitHub release with gh release create

The GitHub release triggers the package publishing workflows:

  1. Publish Python Packages builds and publishes Python distributions to PyPI.
  2. Publish NPM Packages builds and publishes @agentlanejs/process-bridge to npm with provenance.

The npm package must have trusted publishing configured for .github/workflows/npm-publish.yml and the npm GitHub environment before the first release that should publish to npm.

If confirmation is declined, publishing is skipped and no remote changes are made.

Completion Report

Report:

  1. target version and tag
  2. release range reviewed
  3. files changed
  4. verification results
  5. release commit
  6. whether publishing was confirmed or skipped
  7. PyPI and npm workflow status when publishing was confirmed

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.