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

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

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 172 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 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

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.