agentleFS
paladinipaladini/harness-score/.agents/skills/pr-release-audit/SKILL.md

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.

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

    Read AGENTS.md, contributor guidance, release guidance, and relevant local rules before changing files.

    line 14
  2. Distinctive:

    Never merge, tag, publish packages, create a GitHub release, close issues, or send external messages unless the user explicitly authorizes …

    line 19
  3. Distinctive:

    Do not claim that a change is released, deployed, public, or complete until the corresponding public state has been independently verified.

    line 21
  4. Distinctive:

    Check behavior before style:

    line 35
  5. Distinctive:

    When the change refers to a tool, framework, platform, or file path:

    line 51
  6. Distinctive:

    Check the documentation's last-updated/version context and verify unstable facts live rather than relying on memory.

    line 56
  7. Distinctive:

    Check whether the implementation is compatible with the repository's stated version matrix.

    line 64
  8. Distinctive:

    If a directory is ignored, verify that it cannot contain required user config that the scanner or product is expected to understand.

    line 68
  9. Distinctive:

    If the PR makes a tool or workflow supported, update every relevant surface in the same change boundary:

    line 74
  10. Distinctive:

    all maintained locales with semantic parity, not just translated headings.

    line 79
  11. Distinctive:

    Run the repository's documentation build and link checks, then verify the deployed site if deployment is in scope.

    line 85
  12. Very specific:

    Do not rely on commit metadata alone.

    line 90
  13. Distinctive:

    Before merge or release:

    line 94
  14. Distinctive:

    When the PR fixes a linked issue, credit the issue author who reported or diagnosed the problem, not only whoever opened the PR.

    line 98
  15. Distinctive:

    Never invent a name or handle.

    line 100
  16. Very specific:

    Ensure the source release artifact (changeset, changelog entry, or release note) contains an explicit, human-readable credit, such as: …

    line 102
  17. Distinctive:

    Keep the user-facing summary useful and consistent with the project's release-note language and format.

    line 105
  18. Distinctive:

    Verify the rendered/generated release notes after release.

    line 111
  19. Distinctive:

    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 …

    line 114
  20. Very specific:

    Treat GitHub Marketplace publication as a separate public-state check.

    line 121
  21. Distinctive:

    Run the project's canonical checks and any checks implied by the diff.

    line 128
  22. Distinctive:

    Never summarize “green CI” as “released.” Keep local, merged, deployed, and publicly verified states distinct.

    line 157

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

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

  1. Identify the repository, PR number, base and head commits, author, linked issue, labels, changed files, and current review/check status.
  2. Compare the PR with its actual base, not with a stale local branch.
  3. Classify every changed file as implementation, test, configuration, docs, generated output, release metadata, or unrelated noise.
  4. 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:

  1. Identify the exact product and, when available, the supported version range.
  2. Consult current official documentation first. For technical claims, prefer official docs and upstream source over blog posts or search snippets.
  3. Check the documentation's last-updated/version context and verify unstable facts live rather than relying on memory.
  4. Cross-check important paths against upstream implementation or examples.
  5. Distinguish generated/runtime state from user-authored, version-controlled configuration.
  6. Build a mapping of upstream path or contract -> repository behavior -> consequence. Flag paths that are merely conventional, deprecated, or undocumented.
  7. 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:

  1. 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.
  2. Never invent a name or handle. Preserve the exact public GitHub handle when available; ask when attribution is ambiguous.
  3. 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.
  4. 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.
  5. 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.
  6. 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.
  7. 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.
  8. For Harness Score, run npm run release:notes to preview the generated notes and node scripts/validate-release.mjs --version X.Y.Z to 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.
  9. 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 v1 tag 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:

  1. verdict: approve, approve with follow-up, request changes, or blocked;
  2. findings ordered by severity, with file and line references when useful;
  3. structural, security, performance, and compatibility assessment;
  4. upstream documentation evidence and path mapping;
  5. documentation/site surfaces changed or still missing;
  6. tests and checks run, including their exact outcome;
  7. release-note/changeset status and explicit contributor-credit status;
  8. merge, release, deployment, and public-verification state separately;
  9. remaining risks and the smallest recommended next action.

Never summarize “green CI” as “released.” Keep local, merged, deployed, and publicly verified states distinct.

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.