agentleFS
MicrosoftKnown publishermicrosoft/Huabu/.agents/skills/release/SKILL.md

release

Skill157 starsChanged 9 months agoMITView on GitHub

Use ONLY when the user explicitly asks to cut/publish a Huabu desktop release or tag a version. Performs an outward action — bumps the version in apps/desktop/package.json, commits + annotated-tags vX.Y.Z, and pushes the branch + tag. That tag push auto-builds the macOS/Windows installers and publishes a GitHub Release. Provides `status`, `bump`, `tag-push`, and a one-command `run` (bump → tag-push).

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

1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 172 edited versions we read keep these.

  • 0

    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. Very specific:

    Read-only / safe anytime: status, and any subcommand with --dry-run.

    line 22

“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

Huabu ships exactly one artifact: the Huabu desktop (Electron) app. So there is one version per release, held in apps/desktop/package.json. A release bumps that version, makes one Release vX.Y.Z commit + annotated tag, and pushes the branch + tag.

Everything past the push is automatic and lives in GitHub Actions: pushing a vX.Y.Z tag fires .github/workflows/release.yml, which builds the macOS + Windows installers and publishes them as a GitHub Release (with auto-generated notes) attached to that tag. The skill does not await that build — follow it in the Actions tab (workflow "Release").

The whole release is therefore just run = bump → tag-push.

.agents/skills/release/scripts/release.sh <command> [options]

Agent policy — read first

This skill pushes a tag that publishes a public GitHub Release. Do not run tag-push or run unless the user has explicitly asked to cut/tag a release in this turn. When unsure, print the command and let the user run it.

  • Read-only / safe anytime: status, and any subcommand with --dry-run.
  • tag-push and run refuse to act without --yes (there is no interactive prompt — be explicit).

Commands

CommandWhat it does
statusCurrent version, latest tag, branch, tree state. Read-only.
bump <version>Write <version> into apps/desktop/package.json. Local only, no commit.
tag-push <version> --yesCommit Release vX.Y.Z, annotated tag vX.Y.Z, push branch + tag.
run <version> --yesThe one release command: bump → tag-push.

Options: --dry-run (print without running), --yes (confirm the push), -m/--message <text> (annotated-tag message; default Release vX.Y.Z).

Typical flow

# 1. See where things stand.
.agents/skills/release/scripts/release.sh status

# 2. Preview the whole release without touching anything.
.agents/skills/release/scripts/release.sh run 0.3.0 --yes --dry-run

# 3. Cut it.
.agents/skills/release/scripts/release.sh run 0.3.0 --yes

Then watch GitHub Actions → workflow "Release" for the v0.3.0 build; when it finishes, the installers are attached to the v0.3.0 GitHub Release.

Guardrails (built into the script)

  • Version must be valid semver (0.3.0, 0.3.0-rc.1).
  • tag-push refuses if apps/desktop/package.json isn't already at the target version — run bump first (or use run, which does both).
  • It never moves an existing tag — releases are immutable; pick a new version. It warns if the version doesn't advance past the latest tag.
  • The release commit is scoped to apps/desktop/package.json only, so unrelated working-tree changes are never swept into it.
  • Refuses on detached HEAD.

Pre-release (draft) builds

To vet installers before going public, don't use this skill — run the "Release" workflow manually (workflow_dispatch) from the Actions tab with a tag like v0.3.0-rc.1. The workflow derives the temporary desktop app version from this tag, so installer filenames, update metadata, and the app itself use 0.3.0-rc.1 without requiring a version commit. Manual runs publish a draft release you can inspect before making it public.

Notes

  • The version lives only in apps/desktop/package.json — the root and other workspace packages are private with no meaningful version. If a future release needs to version another package, extend VERSION_FILE in scripts/release.sh.
  • Skills in this repo live under .agents/skills/ (there is no .claude/skills symlink), so always invoke the script by its .agents/skills/... path.

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.