agentleFS
zhengqiuyangzhengqiuyang/agent-skills/skills/release-hygiene/SKILL.md

release-hygiene

Skill0 starsChanged 2 months agoMITView on GitHub

Prepares and maintains a public open-source repository: version tags aligned with package versions, GitHub Releases with meaningful notes, Dependabot with a PR decision policy, issue templates, and discovery metadata (topics, badges). Use when publishing a new project, cutting a release, or cleaning up a repo before promoting it.

  • Commits and pushes

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Patch/minor bumps: check CI on the PR branch, merge if green.

    line 39

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “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 Hygiene

The gap between "pushed code" and "presentable project" is about 40 minutes of hygiene. This is the checklist.

First release

  1. Version pinning: tag must equal package.json version. Note: gh release create v0.1.0 creates the remote tag itself at the default branch HEAD — fetch tags locally afterwards (git fetch --tags) to keep local/remote aligned.
  2. Release notes: one paragraph of what it is + the gap it fills, test/ CI summary, link to docs. Never just "--generate-notes" commit spam.
  3. Discovery surface: repo topics (gh repo edit --add-topic ... — pick the phrases your audience actually browses), description, README badge.
  4. Issue templates: bug (command + observed + expected + environment) and feature (problem → wanted behavior → why existing tools don't cover).
  5. Dependabot for both npm and github-actions ecosystems, weekly.

PR decision policy (Dependabot will come)

Dependabot opens PRs within minutes of activation — expect 4 per repo. Decide by class, not one by one:

  • Patch/minor bumps: check CI on the PR branch, merge if green.
  • Major bumps (frameworks, actions major versions): they break builds — that is CI correctly doing its job. Never auto-merge; batch them for a dedicated migration session.
  • Actions bumps (checkout@4→7): major-version workflows changes; verify the workflow still triggers after upgrade.

Per-release ritual

# bump version in package.json, commit
git tag vX.Y.Z && git push origin main --tags
gh release create vX.Y.Z --title "name vX.Y.Z" --notes "..."

Notes should answer: what changed, what breaks, what's next. If the project has a changelog tool, generate from it — commit-linked and deterministic.

npm publishing checklist (when applicable)

files field curated (ship dist + docs, not tests), prepublishOnly = build + test, engines declared, npm pack --dry-run reviewed (size and file list) before npm publish. Versions are immutable — 72h unpublish window, then deprecate-only.

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.