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

release

Skill26 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".

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

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

  • 0

    Common

    Most of the 172 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 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 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.