agentleFS
AI-RiksarkivetAI-Riksarkivet/ra-mcp/.claude/skills/release/SKILL.md

release

Skill27 starsChanged 10 months agoApache-2.0View on GitHub

Cut a new release of ra-mcp. Determines the next version from the commit history since the last tag, bumps pyproject.toml, commits, tags, and pushes. Use when: "make a release", "cut a release", "release", "bump version", "tag a new version", "publish a new version".

193 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 6 projects that use this

  • GrinvSkill

    changelog-style

    Turn a commit range into CHANGELOG.md entries following common-changelog style. Use when finishing a PR (adding to the [Unreleased] section) or cutting a release (moving [Unreleased] under a new version heading).

    Also in 4 projects that use this

  • Microsoft AzureSkill

    component-release

    Prepares and validates GPT-RAG MCP component releases. Use for versions, dependency locks, changelog entries, release branches, tags, GitHub Releases, and platform pin coordination.

    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

    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

  • m13vSkill

    test-release

    Use when the user says "test the release", "smoke test", "verify the build works", "test staging", "test the new version", or after promoting a release to staging/beta/stable. Smoke-tests the shipped Fazm production app via Sparkle auto-update on local + MacStadium, sends test queries via distributed notifications, checks logs. Does NOT build anything.

    Also in 3 projects that use this

  • +3 more from Grinv

The file

We split this skill into the rules it gives an agent

10 rules. 0 are common, 6 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 179 edited versions we read keep these.

  • 6

    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
  1. Distinctive:

    If the user specified a version, use that instead

    line 25
  2. Distinctive:

    Ask for approval before proceeding

    line 30
  3. Very specific:

    Run gh run list --limit 5 to find the triggered runs

    line 41
  4. Very specific:

    If either workflow fails, run gh run view <run-id> --log-failed to get the error details and report them to the user

    line 44
  5. Distinctive:

    Only proceed to the report step once both workflows succeed

    line 46
  6. Very specific:

    ALWAYS confirm the version with the user before running make release

    line 53
  7. Distinctive:

    NEVER skip the confirmation step

    line 54
  8. Distinctive:

    If there are uncommitted changes, warn the user and stop

    line 55
  9. Distinctive:

    If there are no new commits since the last tag, tell the user and stop

    line 56
  10. Very specific:

    When making any git commits (e.g., committing uncommitted changes before releasing), follow the conventions in .claude/commands/commit.md — …

    line 57

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

Cut a new release for the ra-mcp project.

Workflow

  1. Determine current state — run these in parallel:
    • git tag --sort=-v:refname | head -5 to find the latest tag
    • grep '^version' pyproject.toml | head -1 to find the current version
    • git log --oneline $(git describe --tags --abbrev=0)..HEAD to list commits since the last tag
  2. Decide the version bump — follow semver based on conventional commits:
    • patch (0.x.Y): only fix, refactor, perf, docs, style, test, build, ci, chore
    • minor (0.X.0): any feat commit
    • major (X.0.0): any commit with ! or BREAKING CHANGE footer
    • If the user specified a version, use that instead
  3. Confirm with the user — show:
    • Current version and proposed next version
    • Summary of commits going into the release
    • Ask for approval before proceeding
  4. Cut the release — run:
    make release VERSION=<version>
    This bumps pyproject.toml, commits, tags, and pushes. The tag push triggers two CI workflows in parallel: release.yml (changelog + GitHub Release) and publish.yml (Docker build, push, sign, and attestations).
  5. Monitor CI workflows — after the tag push, watch both workflows:
    • Run gh run list --limit 5 to find the triggered runs
    • Poll with gh run view <run-id> until both "Release" and "Publish" workflows complete (check every ~30 seconds)
    • If either workflow fails, run gh run view <run-id> --log-failed to get the error details and report them to the user
    • Only proceed to the report step once both workflows succeed
  6. Report — confirm the tag was pushed and link to the GitHub releases page: https://github.com/AI-Riksarkivet/ra-mcp/releases

Rules

  • ALWAYS confirm the version with the user before running make release
  • NEVER skip the confirmation step
  • If there are uncommitted changes, warn the user and stop
  • If there are no new commits since the last tag, tell the user and stop
  • When making any git commits (e.g., committing uncommitted changes before releasing), follow the conventions in .claude/commands/commit.md — in particular: no co-author lines, no Claude attribution, clean conventional commit format

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.