agentleFS
skillx-runskillx-run/skillx/.claude/skills/release/SKILL.md

release

Skill3 starsChanged 8 months agoApache-2.0View on GitHub

Automate the skillx release process — version bump, changelog, docs update, commit, and tag

  • Commits and pushes

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

Show its rules and text

We split this skill into the rules it gives an agent

15 rules. 0 are common, 6 are distinctive, and 9 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.

  • 9

    Very specific

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

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

    When no version is provided, determine the next version from the current version in cli/Cargo.toml and the ## [Unreleased] section in …

    line 26
  2. Very specific:

    Read cli/Cargo.toml to get the current version

    line 42
  3. Very specific:

    Read CHANGELOG.md to check the [Unreleased] section

    line 43
  4. Distinctive:

    Run git status to confirm the working tree is clean (no uncommitted changes)

    line 44
  5. Distinctive:

    If working tree is dirty, stop and explain what needs to be fixed

    line 45
  6. Very specific:

    If the ## [Unreleased] section has no content, auto-generate it from git history:

    line 49
  7. Distinctive:

    If there are no commits since the last tag, abort — nothing to release

    line 53
  8. Very specific:

    Write the approved changelog entries into CHANGELOG.md under ## [Unreleased]

    line 65
  9. Very specific:

    Update the following files with the new version (X.Y.Z):

    line 69
  10. Very specific:

    If the minor or major version changed, update SECURITY.md's supported-versions table:

    line 86
  11. Distinctive:

    Use today's date.

    line 103
  12. Distinctive:

    Add a compare link at the bottom of the file, as the first line of the link block (before all existing version links):

    line 105
  13. Very specific:

    Create a commit with message: Release vX.Y.Z

    line 113
  14. Very specific:

    Create a git tag: vX.Y.Z

    line 114
  15. Distinctive:

    After completing all steps, print a summary:

    line 124

“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

You are the release manager for the skillx project. Your job is to prepare a release by updating all version-related files, creating a version bump commit, and tagging the release.

Input

The user prompt is either:

  • A version number (e.g., 0.6.0) — use it directly
  • Empty or no version — infer the version automatically (see below)

Version Inference

When no version is provided, determine the next version from the current version in cli/Cargo.toml and the ## [Unreleased] section in CHANGELOG.md:

ConditionBump
### Added or ### Changed presentminor (0.5.0 → 0.6.0)
Only ### Fixed presentpatch (0.5.0 → 0.5.1)
No commits since last tagabort — nothing to release

Major bumps (e.g., 0.x → 1.0) require explicit version input — they are never auto-inferred.

Present the inferred version to the user and ask for confirmation before proceeding.

Release Steps

Step 1: Validate

  1. Read cli/Cargo.toml to get the current version
  2. Read CHANGELOG.md to check the [Unreleased] section
  3. Run git status to confirm the working tree is clean (no uncommitted changes)
  4. If working tree is dirty, stop and explain what needs to be fixed

Step 1.5: Auto-generate changelog (if [Unreleased] is empty)

If the ## [Unreleased] section has no content, auto-generate it from git history:

  1. Find the latest version tag: git describe --tags --abbrev=0
  2. List non-merge commits since that tag: git log <tag>..HEAD --no-merges --pretty=format:"%h %s"
  3. If there are no commits since the last tag, abort — nothing to release
  4. Categorize each commit into changelog sections based on commit message patterns:
Commit message starts withSection
Add, Implement, Introduce, Support, Enable### Added
Fix, Correct, Resolve, Repair, Patch### Fixed
Refactor, Rename, Redesign, Reorganize, Move, Migrate, Adapt, Improve, Optimize, Simplify, Update, Upgrade### Changed
Other / ambiguousUse your best judgment based on the commit diff
  1. For each commit, write a concise, user-facing changelog entry (not the raw commit message). Combine related commits into a single entry when appropriate. Omit internal-only changes (formatting fixes, clippy warnings, CI tweaks, test-only additions) unless they are significant.
  2. Present the draft changelog to the user for review. Wait for confirmation or edits before proceeding.
  3. Write the approved changelog entries into CHANGELOG.md under ## [Unreleased]

Step 2: Update version files

Update the following files with the new version (X.Y.Z):

FileWhat to update
cli/Cargo.tomlversion = "X.Y.Z"
web/src/content/docs/getting-started/installation.mdskillx X.Y.Z in the ## Verify Installation example output
Formula/skillx.rbversion "X.Y.Z"

Do NOT touch these files — they look version-shaped but are intentionally static:

  • web/package.json (independent from the CLI version, stays at 0.1.0)
  • web/src/content/docs/cli/upgrade.md and web/src/content/docs/reference/config-toml.md — the v0.6.0 → v0.7.0 strings are illustrative examples, not live version references
  • web/src/content/blog/** — archival posts keep their original version mentions
  • docs/** (internal planning notes)

Step 3: Update SECURITY.md (minor/major bumps only)

If the minor or major version changed, update SECURITY.md's supported-versions table:

  • Replace the existing X.Y.x row (e.g., 0.8.x) with the new X.Y.x
  • Replace the existing < X.Y row (e.g., < 0.8) with the new < X.Y

Skip this step for patch-only bumps.

While the project is in 0.x, every minor bump must update this table. After 1.0, follow standard semver for what constitutes a security-supported line.

Step 4: Update CHANGELOG.md

  1. Replace ## [Unreleased] with:
    ## [Unreleased]
    
    ## [X.Y.Z] - YYYY-MM-DD
    Use today's date.
  2. Add a compare link at the bottom of the file, as the first line of the link block (before all existing version links):
    [X.Y.Z]: https://github.com/skillx-run/skillx/compare/vPREVIOUS...vX.Y.Z

Step 5: Commit and tag

  1. Stage all changed files
  2. Create a commit with message: Release vX.Y.Z
  3. Create a git tag: vX.Y.Z

Do NOT push. Tell the user to review the commit and push when ready:

git push origin main --follow-tags

Output

After completing all steps, print a summary:

Release vX.Y.Z prepared

  Updated files:
    - cli/Cargo.toml
    - CHANGELOG.md
    - web/src/content/docs/getting-started/installation.md
    - Formula/skillx.rb
    - SECURITY.md (if applicable)

  Next step:
    git push origin main --follow-tags

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.