agentleFS
dustinkeetondustinkeeton/wafflestack/.claude/skills/release/SKILL.md

release

Skill2 starsChanged 3 months agoApache-2.0View on GitHub

Cut a wafflestack release — pick the semver bump from the changes since the last tag (or take an explicit version), open a `chore/bump-X.Y.Z` PR, and label it so the tag is pushed on merge. Invokable by users and agents.

  • Reads credentials
  • 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

We split this skill into the rules it gives an agent

8 rules. 0 are common, 3 are distinctive, and 5 are very specific to this project.

  • 0

    Common

    Most of the 172 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 5

    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:

    Read the current version and the last release tag:

    line 26
  2. Very specific:

    Prefer the project's CHANGELOG.md [Unreleased] section as the source of truth for what landed.

    line 45
  3. Very specific:

    Never work on main. Create the bump branch (per git-workflow):

    line 51
  4. Very specific:

    Run the full checklist from git-workflow.

    line 84
  5. Very specific:

    If the repo has not installed waffle-release-hook.yml (it is opt-in syrup), applying the label does nothing on merge — say so, and the …

    line 140
  6. Very specific:

    Caveat — tag-triggered downstream pipelines: If the repo has on: push: tags workflows (a build, provenance, or GitHub-Release-asset …

    line 145
  7. Distinctive:

    Never push to main; the bump lands via the PR the maintainer merges.

    line 164
  8. Distinctive:

    Never git tag or git push --tags from this skill — tagging is the on-merge hook's job so the tag lands on the real bump commit.

    line 165

“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

Cut a Release

Releases are lightweight tags vX.Y.Z on the bump commit (see the git-workflow skill's Releases section for the spec). This skill automates the bump-PR half: it prepares the version bump and opens a labeled PR. It deliberately does not push the tag — the waffle-release-hook workflow does that on merge, so the tag always lands on the actual bump commit on main. Never git tag / git push --tags from this skill.

1. Determine the new version

Resolve $ARGUMENTS:

$ARGUMENTSWhat to do
an explicit X.Y.Z (e.g. 0.9.0)Use it verbatim as the new version.
major / minor / patchBump the current package.json version by that level.
empty / omittedInfer the level from the changes since the last tag (below), then bump.

Read the current version and the last release tag:

CURRENT=$(node -p "require('./package.json').version")
LAST_TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo "")

To infer the level, review what changed since $LAST_TAG and classify by semver — read from the perspective of a consuming project:

git log --oneline "${LAST_TAG:+$LAST_TAG..}HEAD"
git diff --stat "${LAST_TAG:+$LAST_TAG..}HEAD"
  • patch — content-only fixes; a consumer just re-renders.
  • minor — new stacks/items or additive (optional) config; existing config/extensions untouched.
  • major — a renamed/removed item, a new required config key, or a changed file layout (ships a migration).

Prefer the project's CHANGELOG.md [Unreleased] section as the source of truth for what landed; if it lists a breaking change, that forces the level. State the level and the resulting X.Y.Z before proceeding.

2. Branch

Never work on main. Create the bump branch (per git-workflow):

git checkout main
git pull
git checkout -b chore/bump-X.Y.Z

3. Apply the bump

  1. package.json + lockfile — the one command that touches both, no tag:

    npm version X.Y.Z --no-git-tag-version
  2. Other documented version locations — update the version string in each file listed in release.versionFiles (find the old CURRENT version, replace with the new one). For this project that list is: STATUS.md. If the list is empty, there are no extra files to touch beyond package.json/lockfile — skip this step.
  3. CHANGELOG.md — stamp the release. Rename the ## [Unreleased] heading to ## [X.Y.Z] - YYYY-MM-DD (today's date), then add a fresh empty ## [Unreleased] section above it. Keep every entry — wafflestack upgrade reads these dated sections to tell a consumer what changed between versions, so an unstamped release is invisible to it. Confirm the entry carries a Consumer impact line.
  4. Re-render if generated output tracks the version — if this project generates files from versioned sources (e.g. a toolkit that renders stacks), regenerate them now so the bump and its render land in the same commit. Never hand-edit generated output.

4. Pre-flight

Run the full checklist from git-workflow; do not open the PR if any fail:

  1. npm run validate
  2. npm run typecheck
  3. npm test
  4. npm run build

5. Commit, push, open the labeled PR

git -c commit.gpgsign=false -c tag.gpgSign=false -c user.name="Wafflebot" -c user.email=bot@wafflenet.io commit -m "$(cat <<'EOF'
chore: bump to X.Y.Z

Co-authored-by: Dustin Keeton <dustin.keeton49@gmail.com>
EOF
)" <explicit paths — package.json, package-lock.json, CHANGELOG.md, and each versionFiles path>
git push -u origin chore/bump-X.Y.Z

Open the PR against main. The body must carry the consumer-impact notes for this version — lift them from the [X.Y.Z] CHANGELOG entry you just stamped, so a reviewer sees at a glance whether the upgrade is a plain re-render or needs a migration:

gh pr create --base main --title "chore: bump to X.Y.Z" --body "$(cat <<'EOF'
## Summary
- Bump to X.Y.Z (<level>).

## Consumer impact
<the Consumer impact line(s) from the CHANGELOG [X.Y.Z] entry>

## Release
Labeled `waffle:release` — merging this PR triggers `waffle-release-hook`, which
pushes the lightweight tag on the merge commit. No tag is pushed from this PR.

Co-authored-by: Dustin Keeton <dustin.keeton49@gmail.com>
EOF
)"

6. Apply the release label (arms the tag-on-merge hook)

The waffle-release-hook workflow fires only when a merged PR carries the label in labelHook.releaseLabel (default waffle:release). Apply it to the bump PR:

gh pr edit <PR#> --add-label "waffle:release"

The label must already exist in the repo — gh pr edit --add-label fails otherwise. Check with gh label list; if it's missing, ask the user before creating it, e.g.:

gh label create "waffle:release" --color 0E8A16 --description "Merging pushes the release tag (waffle-release-hook)"

If the repo has not installed waffle-release-hook.yml (it is opt-in syrup), applying the label does nothing on merge — say so, and the maintainer must push the tag manually: git tag vX.Y.Z <merge-commit-sha> (lightweight), then git push origin vX.Y.Z — two separate commands.

Caveat — tag-triggered downstream pipelines. If the repo has on: push: tags workflows (a build, provenance, or GitHub-Release-asset pipeline the tag is meant to start), the identity that pushes the tag decides whether they fire. The installed hook pushes with the default GITHUB_TOKEN unless a WAFFLE_RELEASE_TOKEN PAT/GitHub App token secret is set — and a tag pushed by GITHUB_TOKEN does not trigger other workflows (GitHub's anti-recursion rule). The tag lands and looks done, but nothing downstream ships. Tell the maintainer to set WAFFLE_RELEASE_TOKEN (or have the tag workflow expose a workflow_call entry point invoked by a content-gated tagging workflow); see the github-workflow stack's release-hook setup note. A manual git push origin vX.Y.Z runs under the maintainer's own credentials, so it does trigger those workflows — the limitation is specific to the hook's GITHUB_TOKEN push.

7. Report

Output: the new version and inferred level, the PR URL, that the release label was applied (or created / skipped, with reason), and the reminder that the tag is pushed by waffle-release-hook when the PR merges — do not push it by hand.

Guardrails

  • Never push to main; the bump lands via the PR the maintainer merges.
  • Never git tag or git push --tags from this skill — tagging is the on-merge hook's job so the tag lands on the real bump commit.
  • Stage explicit paths only; never git add -A.

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.