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

release

Skill9 starsChanged 2 months 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

190 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use watch-pr, marketplace 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.
  • Hugging FaceSkill

    watch-pr

    Monitor a PR's CI checks and Greptile code review after submission. Polls CI status, auto-fixes failures via ralph-loop, waits for Greptile review, addresses comments, and iterates until green.

    Also in 3 projects that use this

  • OpenAISkill

    marketplace

    Vercel Marketplace expert guidance — discovering, installing, and managing third-party integrations via the `vercel integration` CLI. Use when building any app that needs an external capability without a dedicated skill — commerce (stores, storefronts, selling products), payments (checkout, subscriptions, billing), observability/monitoring, messaging/email, search, or CMS — or when discovering, installing, or managing integrations.

    Also in 4 projects that use this

  • Microsoft AzureSkill

    engineering-principles

    GPT-RAG Orchestrator architecture and implementation principles. Use for design, review, meaningful refactoring, runtime strategies, FastAPI, Azure integration, security, testing, or operations.

    Also in 4 projects that use this

  • ZAidBinAsifSkill

    write-readme

    Write README files as landing pages not API docs

    Also in 3 projects that use this

  • polyant-aiSkill

    plugin-authoring

    Use when creating, converting, or loading Polyant agent tools/plugins — authoring a *.tool.ts with defineTool, the serialized (JSON Schema) contract, converting a legacy registerTool tool, or wiring an external plugin via PLUGIN_DIRS / src/plugins. Also covers authoring a *.hook.ts with defineHook (conversation lifecycle hooks + control returns halt/injectContext/replaceResponse/regenerate). Covers the module-resolution rules that decide where a plugin can live.

    Also in 3 projects that use this

  • eugenelimSkill

    new-spec

    Use this skill when the user wants to start a new feature with a spec, or wants to write a spec for something they're about to build. Triggers on "new spec", "write a spec for X", "let's spec this out", "start a feature for…". Spec-driven development; the spec drives implementation. Do NOT use for cross-cutting proposals (use `new-rfc`) or recording decisions (use `new-adr`).

    Also in 3 projects that use this

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