agentleFS
roborracleroborracle/agent-workflow-kit/skills/release-manager/SKILL.md

release-manager

Skill0 starsChanged 3 months agoMITView on GitHub

Execute end-to-end release workflow. Handles semantic versioning, changelog verification, version bumps, git tags, GitHub Releases, and main-to-prod merge per dual-branch architecture.

  • Commits and pushes

26 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use qa-agent, dependency-auditor and 4 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.
  • arnaudgelasSkill

    qa-agent

    Answer questions from the vault, then file durable insights back into the knowledge base.

    Also in 3 projects that use this

  • mar-antayaSkill

    dependency-auditor

    Dependency Auditor

    Also in 3 projects that use this

  • ArogyaReddySkill

    changelog-generator

    Automatically creates user-facing changelogs from git commits by analyzing commit history, categorizing changes, and transforming technical commits into clear, customer-friendly release notes. Turns hours of manual changelog writing into minutes of automated generation.

    Also in 3 projects that use this

  • MicrosoftSkill

    playwright-cli

    Automate browser interactions, test web pages and work with Playwright tests.

    Also in 3 projects that use this

  • SentrySkill

    skill-creator

    Create new agent skills following the Agent Skills specification. Use when asked to "create a skill", "add a new skill", "write a skill", "make a skill", "build a skill", or scaffold a new skill with SKILL.md. Guides through requirements, writing, registration, and verification.

    Also in 4 projects that use this

  • GoogleSkill

    grill-me

    A relentless interview to sharpen a plan or design.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

12 rules. 0 are common, 11 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 24 edited versions we read keep these.

  • 11

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Verify on main branch

    line 35
  2. Distinctive:

    Verify clean working directory (no uncommitted changes)

    line 36
  3. Distinctive:

    Verify all tests pass

    line 37
  4. Very specific:

    Verify CHANGELOG.md has an [Unreleased] section with content

    line 38
  5. Distinctive:

    If $ARGUMENTS is "auto", determine from commit messages:

    line 41
  6. Distinctive:

    If $ARGUMENTS specifies a version (e.g., "1.2.0"), use that.

    line 46
  7. Distinctive:

    Update version in all relevant files:

    line 49
  8. Distinctive:

    Never release from a dirty working directory

    line 91
  9. Distinctive:

    Never release without tests passing

    line 92
  10. Distinctive:

    Never skip the changelog

    line 93
  11. Distinctive:

    Always tag before pushing

    line 94
  12. Distinctive:

    Always return to main branch after prod promotion

    line 95

“Common” is measured: kept by at least 6 in 10 of the 24 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 Manager

Pre-fetched State

Current Version

!cat package.json 2>/dev/null | jq -r '.version // empty' || cat pyproject.toml 2>/dev/null | grep '^version' | head -1 || echo "No version file found"

Unreleased Changelog

!sed -n '/## \[Unreleased\]/,/## \[/p' CHANGELOG.md 2>/dev/null | head -30 || echo "No CHANGELOG.md or no Unreleased section"

Commits Since Last Tag

!git log $(git describe --tags --abbrev=0 2>/dev/null || echo HEAD~20)..HEAD --oneline 2>/dev/null || echo "No tags found"

Branch Status

!echo "Branch: $(git branch --show-current)" && echo "Clean: $(git status --porcelain | wc -l | tr -d ' ') uncommitted files" && echo "Remote: $(git rev-list HEAD...origin/$(git branch --show-current) --count 2>/dev/null || echo 'no tracking') commits ahead/behind"

Existing Tags

!git tag --sort=-v:refname | head -10 2>/dev/null || echo "No tags"


Release Workflow

1. Pre-Flight Checks

  • Verify on main branch
  • Verify clean working directory (no uncommitted changes)
  • Verify all tests pass
  • Verify CHANGELOG.md has an [Unreleased] section with content

2. Determine Version

If $ARGUMENTS is "auto", determine from commit messages:

  • Any feat: commit → minor bump
  • Any fix: commit only → patch bump
  • Any BREAKING CHANGE or !: → major bump

If $ARGUMENTS specifies a version (e.g., "1.2.0"), use that.

3. Version Bump

Update version in all relevant files:

# package.json
npm version $VERSION --no-git-tag-version

# pyproject.toml
sed -i.bak "s/^version = .*/version = \"$VERSION\"/" pyproject.toml && rm pyproject.toml.bak

4. Finalize Changelog

Replace [Unreleased] with [$VERSION] - YYYY-MM-DD and add a new empty [Unreleased] section above.

5. Commit and Tag

# Stage only the release files; `git add -A` would sweep in stray files
git add CHANGELOG.md
git add package.json package-lock.json pyproject.toml 2>/dev/null || true
git commit -m "chore(release): v$VERSION"
git tag -a "v$VERSION" -m "Release v$VERSION"
git push origin main --follow-tags

6. Create GitHub Release

# Extract this version's section from CHANGELOG.md as the release notes
awk -v v="$VERSION" '$0 ~ "^## \\[" v "\\]" {f=1; next} /^## \[/ {f=0} f' CHANGELOG.md > "release-notes-$VERSION.md"
gh release create "v$VERSION" \
  --title "v$VERSION" \
  --notes-file "release-notes-$VERSION.md"
rm "release-notes-$VERSION.md"

7. Production Promotion

Pushing to prod is a deploy: confirm with the user before this step. main carries docs, tests, and debug tooling that prod must not, so a plain git merge main defeats the sanitized-prod rule. Promote with the project's documented process (a promotion script, a .deployignore, or a release branch that strips dev-only paths). If the project documents none, stop and ask how prod is sanitized instead of merging.

8. Post-Release Verification

  • Confirm tag exists on remote
  • Confirm GitHub Release published
  • Confirm prod branch updated
  • Return release URL

Rules

  • Never release from a dirty working directory
  • Never release without tests passing
  • Never skip the changelog
  • Always tag before pushing
  • Always return to main branch after prod promotion

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.