agentleFS
leekleek/agent-skills/skills/release/SKILL.md

release

Skill3 starsChanged 2 months agoMITView on GitHub

Commit this session's work, bump the version, tag, push, and publish a GitHub release with grouped notes.

  • 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

We split this skill into the rules it gives an agent

7 rules. 0 are common, 3 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 172 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Very specific:

    Preflight: Run gh auth status, git fetch, and git describe --tags --abbrev=0.

    line 16
  2. Distinctive:

    Commit this session's work: Only files *you* created, edited, or deleted in this conversation.

    line 22
  3. Very specific:

    Never git add -A, git add ., or commit -a.

    line 26
  4. Very specific:

    Commit it alone: git commit --only -m "chore(release): <version>: <summary>" -- <file>.

    line 38
  5. Very specific:

    Publish: Write the notes from the diff, not from the subjects: one bullet per user-visible change, grouped under ## headings by area (the …

    line 48
  6. Distinctive:

    Never force-push, and never move or delete a tag.

    line 61
  7. Distinctive:

    If the push in step 5 fails, leave the local tag in place and report the error.

    line 62

“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

Cut one release from the current branch: every commit since the last tag, plus this session's uncommitted work. One release, one version, one tag, one GitHub release page.

Process

  1. Preflight. Run gh auth status, git fetch, and git describe --tags --abbrev=0. Note the tag style (v1.2.3 or 1.2.3) from git tag --sort=-v:refname | head -1 and keep it. If the branch is behind its remote (git rev-list --count HEAD..@{u} is not 0), stop: a release must not race someone else's push. No tag at all means a first release; read the version from the version file in step 4, or use v0.1.0. Done when you are authenticated, hold the last tag, and the branch is not behind.
  2. Commit this session's work. Only files you created, edited, or deleted in this conversation; git status --porcelain lines you did not touch belong to a parallel session and stay out. git add -- <new-path> each new file, then git commit --only -m "<type(scope): subject>" -- <path> … (options before the --). Never git add -A, git add ., or commit -a. A file that mixes your hunks with foreign ones is left out and named in the report. Skip this step when there is nothing of yours to commit. Done when git status --porcelain shows none of your files.
  3. Choose the version. git log <last-tag>..HEAD --format='%h %s'. No commits means nothing to release. When step 2 left changes out as not this session's, list them and ask once whether to commit them (they are often the user's own earlier work); on yes, commit them as step 2 does and continue. Otherwise say so and stop. Bump from $0 when given; otherwise from the subjects: ! or BREAKING CHANGE → major (minor while still 0.x), any feat → minor, anything else → patch. Done when the new version is stated with the rule that chose it.
  4. Bump the version file. Find the one file whose version string equals the last tag: .claude-plugin/marketplace.json, package.json, pyproject.toml, Cargo.toml, VERSION, or whatever the repo uses. Replace exactly that string; assert it matched once. Commit it alone: git commit --only -m "chore(release): <version>: <summary>" -- <file>. The summary is $1 when given, otherwise the headline change in six words or fewer, matching the style of earlier release commits. A repo with no version file is versioned by its tags alone; skip the commit. Done when HEAD is the release commit or there was nothing to bump.
  5. Tag and push. git tag -a <version> -m "<version>: <summary>", then git push origin <branch> <version> in one command. First check that the tag is free with git tag -l <version> (empty output means free); stop if it already exists. Never probe with a bare git tag <version>: that creates a lightweight tag instead of checking. Done when the push reports both refs.
  6. Publish. Write the notes from the diff, not from the subjects: one bullet per user-visible change, grouped under ## headings by area (the scopes in the subjects are a good start), the release commit itself omitted, no attribution trailers. --generate-notes alone is too thin; use it only to append the compare link. gh release create <version> --title "<version>: <summary>" --notes "$(cat <<'EOF' … EOF)". Done when gh release view <version> returns a URL.
  7. Report. The release URL, the two commit subjects with short SHAs, and any files deliberately left out of step 2 and why.

Guardrails

  • Release the current branch as it stands. No branch switching, no amend, no rebase, no stash, no reset: a parallel session's uncommitted work is unrecoverable if discarded.
  • Never force-push, and never move or delete a tag. A wrong version gets the next version.
  • If the push in step 5 fails, leave the local tag in place and report the error; do not retry with different flags.

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.