agentleFS
hoangsonwwhoangsonww/Claude-Code-Agent-Monitor/.claude/skills/version-release/SKILL.md

version-release

Skill1k starsChanged 4 months agoMITView on GitHub

Choose and apply the correct semantic version bump for this repository. Use for every user-visible release, before merge when a change set should ship as patch, minor, or major, and whenever package/plugin/desktop version metadata must stay synchronized.

4 other projects use a version of this.

Trending

More talk lately.thin dataabout the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 1 mentionJun 2026: 2 mentionsJul 2026: 2 mentionsAug 2026: 1 mentionSep 2026: 1 mentionOct 2026: 5 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the hoangsonww/Claude-Code-Agent-Monitor repository that our weekly crawl found: only 12 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Most recently taken up by

Who's talking about hoangsonww/Claude-Code-Agent-Monitor

The biggest 5 of 12 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 12

Talked about on GitHub and Bluesky (12 times).

On GitHub · 10

5 more on GitHub

The file

Show its rules and text

We split this skill into the rules it gives an agent

28 rules. About 0 are common, 12 are distinctive, and 16 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈12

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 16

    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:

    Use Semantic Versioning as the repository-wide release rule:

    line 8
  2. Distinctive:

    When a change fits more than one category, use the highest applicable bump.

    line 14
  3. Distinctive:

    When the user explicitly requests a concrete version, that instruction overrides automatic classification.

    line 15
  4. Very specific:

    Read the current root package.json version and summarize why the change is patch, minor, or major.

    line 19
  5. Very specific:

    Update the root package.json and root lockfile.

    line 20
  6. Very specific:

    Update the OpenAPI version example in server/openapi.js, then run npm run openapi:yaml.

    line 22
  7. Very specific:

    Update the deployment surface, which carries the release in many places: docker-compose.yml (ccam-dashboard and ccam-mcp image tags), …

    line 23
  8. Very specific:

    Update the version shown in DEPLOYMENT.md and docs/DEPLOYMENT.md (the ccam-dashboard:<version> substitution example) and in CITATION.cff …

    line 24
  9. Very specific:

    Update version-sensitive UI snapshots when the rendered release string changes (the dashboard renders UI build v<version>.

    line 25
  10. Very specific:

    Run npm run extensions:sync so every Claude/Codex plugin manifest and marketplace stays on the root release.

    line 26
  11. Distinctive:

    Update release/version documentation only where the concrete version is intentionally shown.

    line 27
  12. Very specific:

    Create or reuse the open GitHub milestone named exactly v<version> for the new root version.

    line 28
  13. Distinctive:

    Verify the milestone on the PR and every linked issue with fresh GitHub reads.

    line 30
  14. Very specific:

    Run npm run extensions:validate, relevant tests/builds, and ccam version or node bin/ccam.js version.

    line 31
  15. Very specific:

    When you add a new file that carries the release version, add an assertion there in the same change.

    line 50
  16. Very specific:

    Use the repository resolved from the current checkout and the intended authenticated GitHub identity.

    line 83
  17. Very specific:

    If existing is empty, create the milestone with gh api --method POST "repos/${repo}/milestones" -f title="${milestone}".

    line 97
  18. Distinctive:

    If it reports one open milestone, reuse it.

    line 98
  19. Distinctive:

    If it reports more than one match or a closed match, stop and resolve the repository state.

    line 99
  20. Very specific:

    Read linked issues with gh pr view "$pr" --json closingIssuesReferences.

    line 101
  21. Distinctive:

    If a closing issue belongs to another repository, stop and report it.

    line 102
  22. Very specific:

    Verify with gh pr view "$pr" --json milestone,closingIssuesReferences, then query each linked issue's milestone.

    line 103
  23. Very specific:

    Do not hand-edit generated Codex metadata or marketplace files after extensions:sync.

    line 107
  24. Distinctive:

    Do not create or move a Git tag unless the user explicitly requested a release/tag operation.

    line 108
  25. Very specific:

    Do not create duplicate milestones, guess issue relationships from prose when closingIssuesReferences is available, or leave linked release …

    line 110
  26. Distinctive:

    Do not call a breaking change “minor” merely because compatibility can be restored later.

    line 111
  27. Distinctive:

    Do not leave root, desktop, OpenAPI, snapshots, deployment manifests, or generated plugin versions out of sync.

    line 112
  28. Distinctive:

    Do not blanket find-and-replace the version across the repo: it would pull the independently versioned subprojects along and rewrite …

    line 113

≈ “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

Version Release

Use Semantic Versioning as the repository-wide release rule:

  • Patch (X.Y.Z+1) for backward-compatible bug fixes, documentation-only changes, dependency/security maintenance, internal refactors, and small user-visible improvements that do not create a substantial new capability.
  • Minor (X.Y+1.0) for backward-compatible feature additions or meaningfully larger product capabilities, including new workflows, pages, integrations, API fields/routes, or major UX surfaces.
  • Major (X+1.0.0) for backward-incompatible behavior, removed/renamed public contracts, required migrations, or fundamental product/architecture changes.

When a change fits more than one category, use the highest applicable bump. When uncertain between adjacent categories, prefer the higher bump or ask the user before releasing. Never infer the bump from commit count, diff size, or elapsed time alone. When the user explicitly requests a concrete version, that instruction overrides automatic classification. State the override and synchronize the requested version exactly.

CCAM release workflow

  1. Read the current root package.json version and summarize why the change is patch, minor, or major.
  2. Update the root package.json and root lockfile.
  3. Mirror the shipping version in desktop/package.json and desktop/package-lock.json.
  4. Update the OpenAPI version example in server/openapi.js, then run npm run openapi:yaml.
  5. Update the deployment surface, which carries the release in many places: docker-compose.yml (ccam-dashboard and ccam-mcp image tags), deployments/helm/agent-monitor/Chart.yaml (version and appVersion), every deployments/kubernetes/** manifest (app.kubernetes.io/version labels, image: tags, kustomize newTag), and deployments/scripts/deploy.sh (the --tag example and the sed image substitution).
  6. Update the version shown in DEPLOYMENT.md and docs/DEPLOYMENT.md (the ccam-dashboard:<version> substitution example) and in CITATION.cff (version:).
  7. Update version-sensitive UI snapshots when the rendered release string changes (the dashboard renders UI build v<version>; regenerate with cd client && npx vitest run -u and confirm the diff is only the version line).
  8. Run npm run extensions:sync so every Claude/Codex plugin manifest and marketplace stays on the root release.
  9. Update release/version documentation only where the concrete version is intentionally shown.
  10. Create or reuse the open GitHub milestone named exactly v<version> for the new root version. Query all milestones before creating one. If an exact-title milestone already exists and is closed, stop and verify whether that version has already shipped instead of creating a duplicate.
  11. Identify the current open pull request containing the bump and assign it to that milestone. Read closingIssuesReferences from the PR and assign every linked closing issue to the same milestone. If the branch has no PR yet, create/reuse the milestone now and treat PR/issue assignment as an incomplete release step until the PR exists.
  12. Verify the milestone on the PR and every linked issue with fresh GitHub reads. Do not infer completion from a successful edit command alone.
  13. Run npm run extensions:validate, relevant tests/builds, and ccam version or node bin/ccam.js version.
  14. Confirm only independently shipped packages remain on their own versions; do not bump client, mcp, monitoring, or VS Code extension packages unless those products are also being released.

The authoritative surface list

server/__tests__/release-version-consistency.test.js is the machine-checkable contract for a release bump. Read it first and run it last — it is more reliable than this document, because it fails when a surface drifts:

node --test server/__tests__/release-version-consistency.test.js

It asserts root/desktop packages and lockfiles (including packages[""].version), the live and generated OpenAPI versions, Compose and Helm metadata, Kubernetes labels/images/kustomize tags, every generated plugin manifest, both marketplace catalogs, the deployment guides and deploy.sh, and that the independently versioned subprojects have not been dragged along.

When you add a new file that carries the release version, add an assertion there in the same change. A surface with no assertion is a surface that will silently drift — CITATION.cff sat at 1.1.0 for many releases for exactly this reason.

Cross-check with a repo-wide sweep for the previous version before finishing:

previous_version="$(git show HEAD:package.json | node -p 'JSON.parse(require("fs").readFileSync(0,"utf8")).version')"
grep -rFn "$previous_version" --exclude-dir=node_modules --exclude-dir=.git \
  --exclude-dir=dist --exclude-dir=.worktrees .

grep -F matters: the dots in a version are regex wildcards otherwise, so a plain grep -r also matches unrelated strings like 2a0b11. Reading the previous value from HEAD:package.json keeps the command runnable as-is mid-bump, before the change is committed.

Expect zero hits outside package-lock.json history and deliberate historical references (for example "pre-v2.0.9 inflation" in the token-repair docs), which must stay pointing at the release they describe.

Not release-tied — do not bump

  • sw.js and client/public/sw.js cache names (landing-v2, dashboard-v2) are cache generations, not release versions. wiki/sw.js is bumped when wiki content changes, which is the update-project-docs skill's job, not this one.
  • deployments/helm/agent-monitor/values.yaml uses tag: "" and falls back to the chart's appVersion. Leave it empty.
  • client, mcp, monitoring, and vscode-extension ship on their own versions and are asserted not to equal the root release.

GitHub milestone workflow

Use the repository resolved from the current checkout and the intended authenticated GitHub identity. Run gh auth status before any mutation and stop if the active account is not the account intended for the repository:

repo="$(gh repo view --json nameWithOwner --jq .nameWithOwner)"
version="$(node -p "require('./package.json').version")"
milestone="v${version}"
pr="$(gh pr view --json number --jq .number)"

existing="$(
  gh api "repos/${repo}/milestones?state=all&per_page=100" --paginate \
    --jq ".[] | select(.title == \"${milestone}\") | [.number, .state] | @tsv"
)"
  • If existing is empty, create the milestone with gh api --method POST "repos/${repo}/milestones" -f title="${milestone}".
  • If it reports one open milestone, reuse it.
  • If it reports more than one match or a closed match, stop and resolve the repository state. Do not create another milestone with the same release title.
  • Assign the PR with gh pr edit "$pr" --milestone "$milestone".
  • Read linked issues with gh pr view "$pr" --json closingIssuesReferences. Assign each same-repository issue with gh issue edit <number> --milestone "$milestone".
  • If a closing issue belongs to another repository, stop and report it. Milestones are repository-scoped, so do not silently create or reuse a similarly named milestone in another repository.
  • Verify with gh pr view "$pr" --json milestone,closingIssuesReferences, then query each linked issue's milestone.

Release guardrails

  • Do not hand-edit generated Codex metadata or marketplace files after extensions:sync.
  • Do not create or move a Git tag unless the user explicitly requested a release/tag operation.
  • Creating the matching GitHub milestone and assigning the current PR plus linked closing issues is part of a version bump, not a release/tag operation.
  • Do not create duplicate milestones, guess issue relationships from prose when closingIssuesReferences is available, or leave linked release work assigned to a different version.
  • Do not call a breaking change “minor” merely because compatibility can be restored later.
  • Do not leave root, desktop, OpenAPI, snapshots, deployment manifests, or generated plugin versions out of sync.
  • Do not blanket find-and-replace the version across the repo: it would pull the independently versioned subprojects along and rewrite deliberate historical references.

References

  • Repository release checklist: references/version-checklist.md

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.