pr-release-audit
Skill545 starsChanged 2 months agoMITView on GitHub
Audit pull requests and release readiness across correctness, tests, architecture, security, vendor documentation and version compatibility, repository docs, websites, changelogs, changesets, release notes, and explicit contributor attribution. Use when reviewing a PR, deciding whether it is merge-ready, adding support for a tool, or preparing a release.
In this repository5 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .cursor/rules/checks.mdcCursor rule
- .cursor/rules/core.mdcCursor rule
- .cursor/rules/docs-i18n-parity.mdcCursor rule
- releaseSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
22 rules. About 0 are common, 19 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈19
Distinctive · estimate
This author's own choices. Worth a look.
3
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
- Distinctive: line 14
Read AGENTS.md, contributor guidance, release guidance, and relevant local rules before changing files.
- Distinctive: line 19
Never merge, tag, publish packages, create a GitHub release, close issues, or send external messages unless the user explicitly authorizes …
- Distinctive: line 21
Do not claim that a change is released, deployed, public, or complete until the corresponding public state has been independently verified.
- Distinctive: line 35
Check behavior before style:
- Distinctive: line 51
When the change refers to a tool, framework, platform, or file path:
- Distinctive: line 56
Check the documentation's last-updated/version context and verify unstable facts live rather than relying on memory.
- Distinctive: line 64
Check whether the implementation is compatible with the repository's stated version matrix.
- Distinctive: line 68
If a directory is ignored, verify that it cannot contain required user config that the scanner or product is expected to understand.
- Distinctive: line 74
If the PR makes a tool or workflow supported, update every relevant surface in the same change boundary:
- Distinctive: line 79
all maintained locales with semantic parity, not just translated headings.
- Distinctive: line 85
Run the repository's documentation build and link checks, then verify the deployed site if deployment is in scope.
- Very specific: line 90
Do not rely on commit metadata alone.
- Distinctive: line 94
Before merge or release:
- Distinctive: line 98
When the PR fixes a linked issue, credit the issue author who reported or diagnosed the problem, not only whoever opened the PR.
- Distinctive: line 100
Never invent a name or handle.
- Very specific: line 102
Ensure the source release artifact (changeset, changelog entry, or release note) contains an explicit, human-readable credit, such as: …
- Distinctive: line 105
Keep the user-facing summary useful and consistent with the project's release-note language and format.
- Distinctive: line 111
Verify the rendered/generated release notes after release.
- Distinctive: line 114
If a PR is already merged and its pending release artifact lacks credit, report the gap and prepare a follow-up change only with user …
- Very specific: line 121
Treat GitHub Marketplace publication as a separate public-state check.
- Distinctive: line 128
Run the project's canonical checks and any checks implied by the diff.
- Distinctive: line 157
Never summarize “green CI” as “released.” Keep local, merged, deployed, and publicly verified states distinct.
≈ “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.
Files
PR and Release Audit
Perform an evidence-backed audit of the complete change lifecycle. Treat the repository instructions, current branch state, PR metadata, vendor contracts, CI, generated site, and release artifacts as separate evidence surfaces.
Authority and safety
- Read
AGENTS.md, contributor guidance, release guidance, and relevant local rules before changing files. - Preserve unrelated worktree changes. Inspect status before and after edits.
- Review and diagnostics are read-only by default. Implement requested fixes, documentation, or release artifacts when they are in scope.
- Never merge, tag, publish packages, create a GitHub release, close issues, or send external messages unless the user explicitly authorizes that action.
- Do not claim that a change is released, deployed, public, or complete until the corresponding public state has been independently verified.
1. Establish the change boundary
- Identify the repository, PR number, base and head commits, author, linked issue, labels, changed files, and current review/check status.
- Compare the PR with its actual base, not with a stale local branch.
- Classify every changed file as implementation, test, configuration, docs, generated output, release metadata, or unrelated noise.
- Record the initial worktree state and do not overwrite unrelated changes.
2. Review implementation and structure
Check behavior before style:
- correctness, error handling, edge cases, and backward compatibility;
- public API and data-shape contracts, including sync/async behavior;
- path traversal, symlinks, generated files, platform differences, and incomplete or unreadable inputs when relevant;
- security, performance, determinism, and dependency/supply-chain impact;
- whether the design adds the smallest material change or creates a new structural coupling;
- tests for the changed behavior, regression cases, and negative cases.
Reproduce important claims with the project commands. Do not treat a green lint job as proof that behavior, documentation, or release metadata is right.
3. Verify the mentioned software against current official contracts
When the change refers to a tool, framework, platform, or file path:
- Identify the exact product and, when available, the supported version range.
- Consult current official documentation first. For technical claims, prefer official docs and upstream source over blog posts or search snippets.
- Check the documentation's last-updated/version context and verify unstable facts live rather than relying on memory.
- Cross-check important paths against upstream implementation or examples.
- Distinguish generated/runtime state from user-authored, version-controlled configuration.
- Build a mapping of
upstream path or contract -> repository behavior -> consequence. Flag paths that are merely conventional, deprecated, or undocumented. - Check whether the implementation is compatible with the repository's stated version matrix. Do not silently update the project's supported version policy.
If a directory is ignored, verify that it cannot contain required user config that the scanner or product is expected to understand. Document the boundary explicitly when generated state is intentionally excluded.
4. Update documentation and the site when support changes
If the PR makes a tool or workflow supported, update every relevant surface in the same change boundary:
- README/support matrix and usage guidance;
- canonical guide page, navigation, examples, and limitations;
- all maintained locales with semantic parity, not just translated headings;
- generated metadata, sitemap, or structured data when the site uses them;
- links and anchors, including links to the tool's current official docs.
State precisely what “supported” means. Separate environment/filesystem compatibility from detection, scoring, feature support, and runtime guarantees. Run the repository's documentation build and link checks, then verify the deployed site if deployment is in scope.
5. Release notes and contributor credit are mandatory gates
Do not rely on commit metadata alone. Co-authored-by is useful Git history,
but it does not guarantee that a changeset, changelog, or GitHub release note
will credit the contributor.
Before merge or release:
- Identify the PR author and every real contributor from PR metadata, commits, review history, linked issues, and explicit user-provided attribution. When the PR fixes a linked issue, credit the issue author who reported or diagnosed the problem, not only whoever opened the PR.
- Never invent a name or handle. Preserve the exact public GitHub handle when available; ask when attribution is ambiguous.
- Ensure the source release artifact (changeset, changelog entry, or release
note) contains an explicit, human-readable credit, such as:
Thanks to @handle for contributing this fix. - Keep the user-facing summary useful and consistent with the project's release-note language and format. For Harness Score, release notes are in English unless the user explicitly requests another language.
- For multiple contributors, credit each person whose contribution materially belongs in the release. Do not credit the reviewer or merge author as the contributor unless they actually contributed.
- Verify the rendered/generated release notes after release. Check the changelog, GitHub release, package metadata, and PR/issue communication when those surfaces are part of the requested release workflow.
- If a PR is already merged and its pending release artifact lacks credit, report the gap and prepare a follow-up change only with user authorization; do not rewrite history or fabricate attribution.
- For Harness Score, run
npm run release:notesto preview the generated notes andnode scripts/validate-release.mjs --version X.Y.Zto verify all version surfaces before a release. The publication workflow must not move the stable Action major tag until npm, GitHub Packages, and JSR all succeed. - Treat GitHub Marketplace publication as a separate public-state check. The
Marketplace checkbox is a manual GitHub release-UI gate and the advertised
latest release must be verified after publication; a moved
v1tag alone is not Marketplace proof.
6. Validate proportionally
Run the project's canonical checks and any checks implied by the diff. Typical gates include:
- unit/integration tests and type checks;
- lint and formatting;
- self-audit or sample/fixture checks;
- package/build/consumer smoke tests;
- documentation build and link validation;
- benchmark before and after scanner hot-path changes;
- CI on the supported operating systems and runtime versions;
- post-merge deployment and public URL verification when applicable.
Report warnings separately from failures, including pre-existing warnings and platform-specific limitations.
Required report
Return a concise but complete report with:
- verdict: approve, approve with follow-up, request changes, or blocked;
- findings ordered by severity, with file and line references when useful;
- structural, security, performance, and compatibility assessment;
- upstream documentation evidence and path mapping;
- documentation/site surfaces changed or still missing;
- tests and checks run, including their exact outcome;
- release-note/changeset status and explicit contributor-credit status;
- merge, release, deployment, and public-verification state separately;
- remaining risks and the smallest recommended next action.
Never summarize “green CI” as “released.” Keep local, merged, deployed, and publicly verified states distinct.
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
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.

