agentleFS
MicrosoftKnown publishermicrosoft/amplifier-app-paperclip/.agents/skills/release/SKILL.md

release

Skill1 starsChanged 6 months agoMITView on GitHub

Coordinate a full Paperclip release across engineering verification, npm, GitHub, smoke testing, and announcement follow-up. Use when leadership asks to ship a release, not merely to discuss versioning.

  • Commits and pushes

190 other projects use a version of this, 1 of them edited.

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

27 rules. 0 are common, 22 are distinctive, and 5 are very specific to this project.

  • 0

    Common

    Most of the 172 edited versions we read keep these.

  • 22

    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
  1. Distinctive:

    Run the full Paperclip maintainer release workflow, not just an npm publish.

    line 11
  2. Distinctive:

    Use this skill when leadership asks for:

    line 24
  3. Distinctive:

    Before proceeding, verify all of the following:

    line 33
  4. Very specific:

    If manifests changed, the CI-owned pnpm-lock.yaml refresh is already merged on master.

    line 39
  5. Distinctive:

    If running through Paperclip, you have issue context for status updates and follow-up task creation.

    line 41
  6. Distinctive:

    If any precondition fails, stop and report the blocker.

    line 43
  7. Distinctive:

    every push to master publishes a canary automatically

    line 58
  8. Very specific:

    only stable releases get releases/vYYYY.MDD.P.md, git tag vYYYY.MDD.P, and a GitHub Release

    line 64
  9. Distinctive:

    do not use release branches as the default path

    line 68
  10. Very specific:

    do not derive major/minor/patch bumps

    line 69
  11. Distinctive:

    do not create canary changelog files

    line 70
  12. Distinctive:

    do not create canary GitHub Releases

    line 71
  13. Distinctive:

    keep the filename stable-only

    line 106
  14. Distinctive:

    do not create a canary changelog file

    line 107
  15. Distinctive:

    Run the standard gate:

    line 111
  16. Distinctive:

    If the GitHub release workflow will run the publish, it can rerun this gate.

    line 119
  17. Distinctive:

    If smoke testing fails:

    line 164
  18. Distinctive:

    stop the stable release

    line 166
  19. Distinctive:

    wait for the next automatic canary

    line 168
  20. Very specific:

    ensure releases/vYYYY.MDD.P.md exists on the source ref

    line 186
  21. Distinctive:

    run the stable workflow in dry-run mode first when practical

    line 187
  22. Distinctive:

    Create or verify follow-up work for:

    line 209
  23. Distinctive:

    If the canary is bad:

    line 219
  24. Distinctive:

    If stable npm publish succeeds but tag push or GitHub release creation fails:

    line 223
  25. Distinctive:

    do not republish the same version

    line 226
  26. Very specific:

    If latest is bad after stable publish:

    line 228
  27. Distinctive:

    When the skill completes, provide:

    line 238

“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 Coordination Skill

Run the full Paperclip maintainer release workflow, not just an npm publish.

This skill coordinates:

  • stable changelog drafting via release-changelog
  • canary verification and publish status from master
  • Docker smoke testing via scripts/docker-onboard-smoke.sh
  • manual stable promotion from a chosen source ref
  • GitHub Release creation
  • website / announcement follow-up tasks

Trigger

Use this skill when leadership asks for:

  • "do a release"
  • "ship the release"
  • "promote this canary to stable"
  • "cut the stable release"

Preconditions

Before proceeding, verify all of the following:

  1. .agents/skills/release-changelog/SKILL.md exists and is usable.
  2. The repo working tree is clean, including untracked files.
  3. There is at least one canary or candidate commit since the last stable tag.
  4. The candidate SHA has passed the verification gate or is about to.
  5. If manifests changed, the CI-owned pnpm-lock.yaml refresh is already merged on master.
  6. npm publish rights are available through GitHub trusted publishing, or through local npm auth for emergency/manual use.
  7. If running through Paperclip, you have issue context for status updates and follow-up task creation.

If any precondition fails, stop and report the blocker.

Inputs

Collect these inputs up front:

  • whether the target is a canary check or a stable promotion
  • the candidate source_ref for stable
  • whether the stable run is dry-run or live
  • release issue / company context for website and announcement follow-up

Step 0 — Release Model

Paperclip now uses a commit-driven release model:

  1. every push to master publishes a canary automatically
  2. canaries use YYYY.MDD.P-canary.N
  3. stable releases use YYYY.MDD.P
  4. the middle slot is MDD, where M is the UTC month and DD is the zero-padded UTC day
  5. the stable patch slot increments when more than one stable ships on the same UTC date
  6. stable releases are manually promoted from a chosen tested commit or canary source commit
  7. only stable releases get releases/vYYYY.MDD.P.md, git tag vYYYY.MDD.P, and a GitHub Release

Critical consequences:

  • do not use release branches as the default path
  • do not derive major/minor/patch bumps
  • do not create canary changelog files
  • do not create canary GitHub Releases

Step 1 — Choose the Candidate

For canary validation:

  • inspect the latest successful canary run on master
  • record the canary version and source SHA

For stable promotion:

  1. choose the tested source ref
  2. confirm it is the exact SHA you want to promote
  3. resolve the target stable version with ./scripts/release.sh stable --date YYYY-MM-DD --print-version

Useful commands:

git tag --list 'v*' --sort=-version:refname | head -1
git log --oneline --no-merges
npm view paperclipai@canary version

Step 2 — Draft the Stable Changelog

Stable changelog files live at:

  • releases/vYYYY.MDD.P.md

Invoke release-changelog and generate or update the stable notes only.

Rules:

  • review the draft with a human before publish
  • preserve manual edits if the file already exists
  • keep the filename stable-only
  • do not create a canary changelog file

Step 3 — Verify the Candidate SHA

Run the standard gate:

pnpm -r typecheck
pnpm test:run
pnpm build

If the GitHub release workflow will run the publish, it can rerun this gate. Still report local status if you checked it.

For PRs that touch release logic, the repo also runs a canary release dry-run in CI. That is a release-specific guard, not a substitute for the standard gate.

Step 4 — Validate the Canary

The normal canary path is automatic from master via:

  • .github/workflows/release.yml

Confirm:

  1. verification passed
  2. npm canary publish succeeded
  3. git tag canary/vYYYY.MDD.P-canary.N exists

Useful checks:

npm view paperclipai@canary version
git tag --list 'canary/v*' --sort=-version:refname | head -5

Step 5 — Smoke Test the Canary

Run:

PAPERCLIPAI_VERSION=canary ./scripts/docker-onboard-smoke.sh

Useful isolated variant:

HOST_PORT=3232 DATA_DIR=./data/release-smoke-canary PAPERCLIPAI_VERSION=canary ./scripts/docker-onboard-smoke.sh

Confirm:

  1. install succeeds
  2. onboarding completes without crashes
  3. the server boots
  4. the UI loads
  5. basic company creation and dashboard load work

If smoke testing fails:

  • stop the stable release
  • fix the issue on master
  • wait for the next automatic canary
  • rerun smoke testing

Step 6 — Preview or Publish Stable

The normal stable path is manual workflow_dispatch on:

  • .github/workflows/release.yml

Inputs:

  • source_ref
  • stable_date
  • dry_run

Before live stable:

  1. resolve the target stable version with ./scripts/release.sh stable --date YYYY-MM-DD --print-version
  2. ensure releases/vYYYY.MDD.P.md exists on the source ref
  3. run the stable workflow in dry-run mode first when practical
  4. then run the real stable publish

The stable workflow:

  • re-verifies the exact source ref
  • computes the next stable patch slot for the chosen UTC date
  • publishes YYYY.MDD.P under dist-tag latest
  • creates git tag vYYYY.MDD.P
  • creates or updates the GitHub Release from releases/vYYYY.MDD.P.md

Local emergency/manual commands:

./scripts/release.sh stable --dry-run
./scripts/release.sh stable
git push public-gh refs/tags/vYYYY.MDD.P
./scripts/create-github-release.sh YYYY.MDD.P

Step 7 — Finish the Other Surfaces

Create or verify follow-up work for:

  • website changelog publishing
  • launch post / social announcement
  • release summary in Paperclip issue context

These should reference the stable release, not the canary.

Failure Handling

If the canary is bad:

  • publish another canary, do not ship stable

If stable npm publish succeeds but tag push or GitHub release creation fails:

  • fix the git/GitHub issue immediately from the same release result
  • do not republish the same version

If latest is bad after stable publish:

./scripts/rollback-latest.sh <last-good-version>

Then fix forward with a new stable release.

Output

When the skill completes, provide:

  • candidate SHA and tested canary version, if relevant
  • stable version, if promoted
  • verification status
  • npm status
  • smoke-test status
  • git tag / GitHub Release status
  • website / announcement follow-up status
  • rollback recommendation if anything is still partially complete

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.