agentleFS
ForeverAProgrammerForeverAProgrammer/claude-devflow/skills/tag-release/SKILL.md

tag-release

Skill0 starsChanged 9 months agoMITView on GitHub

Suggest and apply the next semver tag based on commits since the last tag.

  • Commits and pushes

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

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

    Run git tag --sort=-version:refname | head -1 to find the most recent tag.

    line 11
  2. Very specific:

    Run git log <last-tag>..HEAD --oneline to see commits since the last tag.

    line 12
  3. Distinctive:

    Ask the user to confirm before proceeding.

    line 18

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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

Suggest and apply the next semver tag based on commits since the last tag.

Note: For team repos or any repo with a CI/CD pipeline, automated tagging via a pipeline (e.g. GitHub Actions triggered on merge to main) is strongly preferred over running this command manually. Use this command for solo projects or when no pipeline is set up.

Steps:

  1. Run git tag --sort=-version:refname | head -1 to find the most recent tag. If no tags exist, suggest v0.1.0 as the first tag.
  2. Run git log <last-tag>..HEAD --oneline to see commits since the last tag. If there are no commits since the last tag, tell the user there is nothing to release and stop.
  3. Determine the next semver version:
    • Bump major if any commit contains BREAKING CHANGE
    • Bump minor if any commit is type feat
    • Bump patch for all other changes
  4. Show the user the proposed tag, the version bump reason, and the list of commits that will be included.
  5. Ask the user to confirm before proceeding.
  6. On confirmation, run git tag <version> to create the tag, then git push origin <version> to push it.
  7. Confirm the tag was pushed and print the tag name.

$ARGUMENTS

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.