agentleFS
cano721cano721/ai-harness/.agents/skills/release/SKILL.md

release

Skill1 starsChanged 4 months agoMITView on GitHub

Start a project-local tag-based release with the graph runner. Use when the source branch (for example develop) is ready to ship as a new version: it fixes the version, cuts the release branch, opens the release pull request, and, as far as the personal delivery level allows, merges it with a merge commit, tags it with notes, and records it; not for feature work, bug fixes, or hotfixes.

  • 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

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 179 edited versions we read keep these.

  • 1

    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
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Start a release with the runner.

    line 19
  2. Very specific:

    Follow release-graph.json in this conversation with the same rules: approval before any branch, commit, or push.

    line 44

“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

This is a project adapter, not the source of project policy. Read these files in order before releasing:

  1. AGENTS.md
  2. .ai-harness/workflows/release.md
  3. .ai-harness/workflows/release-graph.json
  4. The personas and .ai-harness/docs/ files selected by the workflow

The project workflow and graph are authoritative. The repository facts the runner uses live in .ai-harness/harness.json under release_policy: flow (tag or unknown), evidence, base (the released branch, for example main), source (the branch that is released, for example develop), branch_prefix (for example release/v), tag_prefix (for example v), prepare_cmd (updates the version files and the changelog for the release), notes_cmd (prints the release notes), generate_notes, verify_cmd and verify_timeout_minutes (confirms the release is out), and record_cmds (bookkeeping after the tag, such as milestones). Empty extension points are skipped. When release_policy is missing or flow is not tag, the runner refuses to start; run /ai-harness:harness-init --sync to detect how the repository releases.

Graph runner

Start a release with the runner; do not cut the branch, tag, or merge by hand when it is available:

bash .ai-harness/workflows/workflow-driver.sh start --workflow release --version <x.y.z>

--version is optional: without it the plan node proposes the next version from the project's versioning rule (or MINOR when the Unreleased changes include a new feature or a behavior change, otherwise PATCH). --request is optional for a release. The runner checks the version itself: x.y.z, no tag <tag_prefix><x.y.z> on origin yet, and above the latest version tag. Start from a clean work branch or worktree, not from base or source.

Steps, as the graph defines them:

  1. plan (read-only) — the version and why, what ships, and the checks and final_checks to run on the release branch. It waits for approval like a brief (승인 then resume, or approve in a terminal; HM_APPROVAL=auto approves a plan that records its choices as decisions).
  2. prepare (the runner) — git fetch origin <source>, cut <branch_prefix><x.y.z> from origin/<source>, run prepare_cmd with HM_RELEASE_VERSION and HM_RELEASE_TAG, commit chore: release v<x.y.z>, and run the checks. A failure goes to a person; a release never repairs code.
  3. publish → remote_ci — a normal push and a pull request into base titled chore: release v<x.y.z> (with the milestone v<x.y.z> when one is open, and the plan's 결정 사항), then the remote CI of the pushed commit.
  4. merge → post_merge_verify — only when the personal delivery level (HM_DELIVERY_LEVEL, per repository HM_DELIVERY_LEVEL_REPOS) is merge or deploy, and never in an unattended run. The release is merged with a merge commit only (gh pr merge --merge), whatever squash setting the host allows; a repository that forbids merge commits stops at a person. Then the CI of the merge commit.
  5. release — notes_cmd writes the notes. Empty notes or a failing notes command stop before any tag. GitHub: gh release create <tag> --target <merge commit> --notes-file <notes> --latest (--generate-notes when generate_notes is true); other hosts: an annotated tag with the notes, pushed. An existing tag is never created again.
  6. verify — level deploy only: verify_cmd with HM_RELEASE_VERSION, HM_RELEASE_TAG, HM_MERGE_COMMIT, HM_BASE_BRANCH. A failure is checked again on resume until verify_timeout_minutes (default 60), then goes to a person.
  7. record — each record_cmds entry in order with the same variables; a failure stops the rest and goes to a person.
  8. sync — whether source can fast-forward to base. The runner never pushes source or base: it leaves the command (git switch <source> && git merge --ff-only origin/<base> && git push origin <source>) in the report for a person.

When source moves during the run, the runner catches up before publishing or merging: a rebase before the first push, a merge after it (never a force push), then the checks again (prepare_cmd is not run again; Unreleased entries that arrive with the catch-up stay for the next release). A conflict aborts the rebase or merge and goes to a person with the conflicting files.

Delivery level pr (or no level) stops after remote CI and leaves the remaining manual steps in the report: gh pr merge <PR> --merge, then the tag and notes. status shows the stage, what was published, and why the run stopped. The runner picks the node runtime from --runtime, then HM_RUNTIME_REPOS (matching repository), then HM_RUNTIME in ~/.ai-harness/config, then the calling CLI and integrations; pass --runtime only when the user asks for a specific CLI.

Without the runner

Follow release-graph.json in this conversation with the same rules: approval before any branch, commit, or push; a merge commit only; no tag without notes; checks again when source moves; no force push and no direct push to base or source.

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.