agentleFS
swimmwatchswimmwatch/cloakbrowser-mcp/.agents/skills/project-release/SKILL.md

project-release

Skill172 starsChanged 5 months agoMITView on GitHub

Prepare, publish, verify, or recover a cloakbrowser-mcp release only when the user explicitly requests release work. Require a user-confirmed target version and stability, follow the repository's version, changelog, PR, GitHub Release, npm, Docker, MCP Registry, and docs process, and never tag, publish, create/update a release PR, or mutate external release state without separate explicit authorization.

7 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

28 rules. 0 are common, 14 are distinctive, and 14 are very specific to this project.

  • 0

    Common

    Most of the 5 edited versions we read keep these.

  • 14

    Distinctive

    This author's own choices. Worth a look.

  • 14

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use this skill only for cloakbrowser-mcp release work.

    line 8
  2. Very specific:

    Use Codex's standard Request User Input tool (request_user_input) for unresolved release choices, following its exposed schema and current …

    line 22
  3. Distinctive:

    If the tool is unavailable, follow the host's supported question mechanism.

    line 29
  4. Distinctive:

    Never infer publish authorization from version confirmation, preparation approval, merged code, or passing checks.

    line 36
  5. Distinctive:

    If the user provides a target tag, validate it before changing files.

    line 41
  6. Distinctive:

    If no target tag is provided, fetch tags and inspect changes since the previous release tag:

    line 42
  7. Distinctive:

    Start from a clean worktree.

    line 66
  8. Very specific:

    Before confirming the release tag, open and scan https://semver.org/spec/v2.0.0.html, then validate that the requested tag is the …

    line 70
  9. Very specific:

    Before editing CHANGELOG.md, open and scan https://keepachangelog.com/en/1.1.0/.

    line 75
  10. Very specific:

    Before committing, open and scan https://www.conventionalcommits.org/en/v1.0.0/.

    line 77
  11. Distinctive:

    Run the release version script with the exact tag:

    line 82
  12. Very specific:

    add one new row to docs/data/version-compatibility.json.

    line 100
  13. Very specific:

    verify README.md, docs/index.md, and docs/version-compatibility.md changed as expected.

    line 102
  14. Very specific:

    verify the new compatibility row records the actual @playwright/mcp, Playwright MCP Docker base, CloakBrowser dependency, supported …

    line 104
  15. Very specific:

    add or update the empty [Unreleased] section above the new release.

    line 110
  16. Very specific:

    update changelog compare links so [Unreleased] compares vX.Y.Z...HEAD and [X.Y.Z] compares the previous tag to vX.Y.Z.

    line 111
  17. Distinctive:

    update release docs examples only if they are intended to show the current release instead of a generic example.

    line 113
  18. Distinctive:

    Do not bump the package version outside release preparation.

    line 116
  19. Distinctive:

    Before opening or merging the release PR, run:

    line 120
  20. Very specific:

    Remove bridge-parity-report.json after inspecting it.

    line 134
  21. Very specific:

    After explicit commit authorization, commit release preparation as chore(release): prepare vX.Y.Z.

    line 139
  22. Distinctive:

    After separate PR authorization, open a PR to main with a concise release summary and validation list.

    line 143
  23. Distinctive:

    Call out security-sensitive release workflow changes, especially registry credentials, public image publishing, OIDC, or token behavior.

    line 145
  24. Distinctive:

    After separate publication authorization, create a published GitHub Release for stable releases with:

    line 150
  25. Very specific:

    If metadata, npm, docker, mcp-registry, docs-build, or docs-deploy is still running, leave verification open.

    line 163
  26. Very specific:

    If Docker Hub overview update fails with Forbidden, the DOCKERHUB_TOKEN secret needs a Docker Hub personal access token with …

    line 184
  27. Distinctive:

    If npm, GHCR, Docker Hub, or MCP Registry already published artifacts, do not delete and retag the same release for code defects.

    line 188
  28. Distinctive:

    Keep release recovery notes in the final status report, including published artifact state and any warnings.

    line 193

“Common” is measured: kept by at least 6 in 10 of the 5 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

Project Release

Use this skill only for cloakbrowser-mcp release work. Require a confirmed target version such as v1.2.8, and decide whether it is stable or prerelease before preparing, publishing, or recovering a release. If the user has not provided a target version, propose one from the unreleased changes and ask the user through Codex's standard Request User Input tool (request_user_input) to confirm it or choose a different tag before release execution.

Release tags use Semantic Versioning 2.0.0 with the repository's v prefix, for example v1.2.8 or v1.2.8-rc.1. The pinned specification URL is https://semver.org/spec/v2.0.0.html.

Authorization And Interview

  • Use Codex's standard Request User Input tool (request_user_input) for unresolved release choices, following its exposed schema and current host constraints. A separate interview server is not required.
  • Record target tag and stable/prerelease selection as separate material decisions in the release handoff. Explicit user decisions already in the conversation count as confirmation; do not ask them again. An empty, cancelled or unanswered question is not confirmation.
  • If the tool is unavailable, follow the host's supported question mechanism; do not infer a reserved release decision. Permission requests follow the host's approval process, not a clarification tool.
  • Release preparation, commit, push, release PR creation/update, merge, tag or GitHub Release creation, npm publication, Docker publication, MCP Registry publication, workflow rerun, and recovery mutations are separate authorization gates.
  • Never infer publish authorization from version confirmation, preparation approval, merged code, or passing checks.

Choosing The Target Version

  • If the user provides a target tag, validate it before changing files.
  • If no target tag is provided, fetch tags and inspect changes since the previous release tag:
git fetch origin --tags --prune
git describe --tags --abbrev=0
git log --oneline <previous-tag>..HEAD
  • Also inspect [Unreleased] in CHANGELOG.md, merged PR titles, and Conventional Commit subjects when available.
  • Propose the next tag using Semantic Versioning 2.0.0:
    • MAJOR for backward-incompatible public API, CLI, MCP protocol, config, or artifact contract changes;
    • MINOR for backward-compatible user-facing features;
    • PATCH for backward-compatible fixes, dependency updates, docs, CI, or packaging-only changes.
  • Present the proposed tag and short rationale, then ask the user to confirm it or choose another tag through Request User Input (request_user_input). Do not run npm run version:apply until the tag is confirmed and release preparation is explicitly authorized.

Preconditions

  • Start from a clean worktree; do not overwrite unrelated user changes.
  • Fetch latest refs and branch from current main unless the user explicitly gives another base.
  • Confirm no existing Git tag or GitHub Release already uses the target version.
  • Before confirming the release tag, open and scan https://semver.org/spec/v2.0.0.html, then validate that the requested tag is the v-prefixed form of a SemVer 2.0.0 version.
  • Exclude known failing or unrelated dependency PRs unless the user explicitly includes them.
  • Before editing CHANGELOG.md, open and scan https://keepachangelog.com/en/1.1.0/.
  • Before committing, open and scan https://www.conventionalcommits.org/en/v1.0.0/.

Version Preparation

Run the release version script with the exact tag:

npm run version:apply -- vX.Y.Z

The script updates:

  • package.json
  • package-lock.json
  • server.json

Documentation release tags and pinned install examples are rendered at MkDocs build time from package.json through docs_macros.py; do not manually rewrite those values in Markdown sources.

Manual release updates still required:

  • add one new row to docs/data/version-compatibility.json;
  • run npm run docs:compatibility;
  • verify README.md, docs/index.md, and docs/version-compatibility.md changed as expected;
  • verify the new compatibility row records the actual @playwright/mcp, Playwright MCP Docker base, CloakBrowser dependency, supported transport, and platform;
  • run npm run docs:compatibility:check;
  • move current [Unreleased] entries in CHANGELOG.md into ## [X.Y.Z] - YYYY-MM-DD;
  • add or update the empty [Unreleased] section above the new release;
  • update changelog compare links so [Unreleased] compares vX.Y.Z...HEAD and [X.Y.Z] compares the previous tag to vX.Y.Z;
  • update release docs examples only if they are intended to show the current release instead of a generic example.

Do not bump the package version outside release preparation.

Validation

Before opening or merging the release PR, run:

npm run check:ci
npm run package:verify
npm run docker:build
npm run docker:smoke
npm run bridge:compare -- cloakbrowser-mcp:dev --report bridge-parity-report.json
docker run --rm -v "$PWD:/repo" --workdir /repo docker.io/rhysd/actionlint:1.7.12@sha256:b1934ee5f1c509618f2508e6eb47ee0d3520686341fec936f3b79331f9315667 -color
python3 -m pipx run zizmor --min-severity high .
npm run docs:build
npm run docs:seo:validate

Remove bridge-parity-report.json after inspecting it. If a check fails, fix the smallest release-relevant cause and rerun the relevant command.

PR And Release Flow

  • After explicit commit authorization, commit release preparation as chore(release): prepare vX.Y.Z.
  • For release PR creation or updates, also read and follow .agents/skills/project-pull-request/SKILL.md.
  • After separate PR authorization, open a PR to main with a concise release summary and validation list.
  • Call out security-sensitive release workflow changes, especially registry credentials, public image publishing, OIDC, or token behavior.
  • Merge only after completed required PR checks have passed. Inspect remote CI when the user requests verification; do not wait for completion or poll. Pending jobs leave acceptance open.
  • After separate publication authorization, create a published GitHub Release for stable releases with:
    • tag vX.Y.Z;
    • target main;
    • title vX.Y.Z;
    • notes from the CHANGELOG.md section.
  • Mark prerelease versions as GitHub prereleases. Stable releases publish npm latest and Docker latest; prereleases publish npm next and prerelease Docker tags only.

Post-Release Verification

Inspect the unified Release workflow when the user requests verification. If metadata, npm, docker, mcp-registry, docs-build, or docs-deploy is still running, leave verification open; do not wait or poll for completion. docs-deploy must run only after npm, Docker, and MCP Registry publishing have succeeded.

Once the required jobs have completed successfully, verify:

npm view cloakbrowser-mcp@X.Y.Z version
docker pull swimmwatch/cloakbrowser-mcp:X.Y.Z
docker run --rm swimmwatch/cloakbrowser-mcp:X.Y.Z --help
docker pull ghcr.io/swimmwatch/cloakbrowser-mcp:X.Y.Z
npm run registry:check -- --version X.Y.Z

Confirm Docker Hub overview, short description, npm, GHCR, Docker Hub, docs, and the official MCP Registry are current. GitHub /mcp visibility is curated separately and may lag; treat it as a warning unless the user makes it a gate.

Recovery

  • If Docker Hub overview update fails with Forbidden, the DOCKERHUB_TOKEN secret needs a Docker Hub personal access token with read/write/delete permissions for swimmwatch/cloakbrowser-mcp; rerun failed release jobs after the secret is updated.
  • If npm, GHCR, Docker Hub, or MCP Registry already published artifacts, do not delete and retag the same release for code defects. Prepare a follow-up patch release instead.
  • Rerun failed jobs only after confirming the failure is transient or caused by a fixed external configuration.
  • Keep release recovery notes in the final status report, including published artifact state and any warnings.

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.