Skip to content
Agentmart
Submit a tool

post-merge-audit

Use when auditing merged PRs after concurrent agent work, before a release candidate, after a suspected bad merge, or when checking for missed reviews…

Skill by shakacode

IndexedMIT★ 8
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/shakacode-post-merge-audit

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use when auditing merged PRs after concurrent agent work, before a release candidate, after a suspected bad merge, or when checking for missed reviews, missing changelog entries, cross-PR interactions, or release risk.

Use cases: security, agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/post-merge-audit

What's inside

Skill name
post-merge-audit
Description
Use when auditing merged PRs after concurrent agent work, before a release candidate, after a suspected bad merge, or when checking for missed reviews, missing changelog entries, cross-PR interactions, or release risk.
License
MIT
Instructions
101 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (23)

  • SKILL.md
  • openai.yaml · agents/
  • closeout-evidence-replay · bin/
  • closeout-evidence-replay-test.rb · bin/
  • completed-batch-audit-receipt · bin/
  • completed-batch-audit-receipt-test.rb · bin/
  • completed-batch-publication-preflight · bin/
  • completed-batch-publication-preflight-test.rb · bin/
  • post-merge-audit-policy-test.rb · bin/
  • post-merge-audit-scope · bin/
  • post-merge-audit-scope-test.bash · bin/
  • pr-check-completion-timing · bin/
  • pr-check-completion-timing-test.rb · bin/
  • completed-batch-accepted-deferral-ror-blocked.txt · fixtures/
  • completed-batch-accepted-deferral-ror.json · fixtures/
  • completed-batch-publication-hichee-9972-replacement.json · fixtures/
  • completed-batch-publication-hichee-premature-marker.txt · fixtures/
  • completed-batch-publication-hichee-premature.json · fixtures/
  • completed-batch-publication-hichee-terminal.json · fixtures/
  • checks.md · references/
  • issues.md · references/
  • output.md · references/
  • scope.md · references/

SKILL.md (first lines)

# Post-Merge Audit

For Codex route preferences, consult the unmeasured `astra-pilot-v1`
[central profile](../plan-pr-batch/references/model-routing-profiles.json) through the plan skill's
`bin/model-routing-profile --role <role>`. It supersedes named GPT-5.6
recommendations below for listed roles; retain those as comparison baselines.
Routes remain advisory and never qualify a verdict or replace host evidence.
If a partial or pinned installation lacks the resolver or data, continue with
established or portable advisory routes; use the complete pack to access the pilot.

Apply [Audit applicability](../../workflows/pr-batch-integration-closeout.md#audit-applicability)
before starting an additional audit. Ordinary closeout does not require one.
Audit merged PRs for the established trigger and scope.
Use visible chat only to choose the obvious just-run batch default; use git,
GitHub, and coordination ground truth for every audit fact.

Keep inspection read-only until scope and authority are verified. Apply the
trusted-base [security floor](../../workflows/pr-batch-security-floor.md) before
executing branch code or taking a consequential action; an audit does not grant
implementation, publication or merge authority.

Resolve writing style before authoring human-facing prose. Run
`agent-workflow-writing-style --repo-root <trusted-repository-root> --format json`
under the canonical rules in the loaded `workflows/pr-processing.md`. Apply the
guide to audit issue bodies, GitHub comments, PR-description prose, and final
handoffs. Do not alter required audit markers, receipt fields, exact protocol
blocks, issue accounting, or evidence.

Memorable invocation:

```text
$post-merge-audit
Audit merged PRs since the last release candidate
```

Use `.agents/workflows/post-merge-audit.md` for reusable copy-paste prompts, including independent Codex/Claude audits, comparison, default issue creation, and Claude PR review handoff prompts.

The completed-batch closeout validation contract requires `pr-batch` and
`post-merge-audit` from the same Agent Workflows pack revision. This skill owns
the production receipt parser loaded by the sibling `pr-batch` contract test;
an isolated pinned copy must include both companions or stop with a precise
missing-companion blocker.

Before the coordinator invokes `completed-batch-audit-receipt publish` or
`supersede`, export `AGENT_COMMENT_RUNNER`, `AGENT_COMMENT_HOST`, and
`AGENT_COMMENT_TASK_OR_RUN` from the actual execution context. Do not substitute
the batch ID for the task or run identifier. Missing or invalid attribution must
stop publication before the comment is posted.

For a verified Codex GPT-5.6 batch, record the originating preferences and use
this recommended advisory route profile:

- Routine multi-lane coordinator: balanced/high (`Terra/high` only when host-verified)
- Simple, positively classified worker: Terra/high
- Unknown or uncertain worker: Sol/high
- Sol/xhigh exception: pinned high-risk trigger, bounded plan challenge, repeated credible failures, or evidence-backed `MODEL_ESCALATION_REQUEST`
- Independent adversarial QA: Sol/xhigh
- Routine deterministic QA: Sol/high

For a verified Claude batch, record the originating preferences and use this
provisional recommended advisory route profile (`claude-profile v1`):

- Routine multi-lane coordinator: balanced/high (`Sonnet 5/high` only when host-verified)
- Simple, positively classified worker: Sonnet 5/high
- Unknown or uncertain worker: Opus 5/high
- Opus 5/xhigh exception: pinned high-risk trigger, bounded plan challenge, repeated credible failures, or evidence-backed `MODEL_ESCALATION_REQUEST`
- Independent adversarial QA: Opus 5/xhigh
- Routine deterministic QA: Opus 5/high

When emitting a structured `review-findings` block, set `review_receipt.source`
to `post-merge-audit` and follow `docs/review-finding-schema.md`.
Populate optional receipt `provenance.model`, `provenance.effort`, and `provenance.usage` only from host-reported evidence for the actual review run.
Use literal `UNKNOWN` for unavailable values; never infer them or treat prompt text or model self-report as binding evidence.
Copy usage counters without guessing or recalculation, and do not store raw
prompt, response, or transcript data in the receipt.

<!-- stage-reference: references/scope.md -->
## Scope Gate

Before deep audit, bind the exact range, worked scope and genuinely independent checker; unknown scope or independence cannot produce a clean verdict. Read [Scope](references/scope.md) for this stage.
<!-- /stage-reference -->

<!-- stage-reference: references/checks.md -->
## Audit Checks

For the verified range, run relevant audit checks and classify findings; preserve explicit range-level structural review scope. Read [Checks](references/checks.md) for this stage.
<!-- /stage-reference -->

<!-- stage-reference: references/issues.md -->
## Issue Plan

When non-OK findings need follow-up, build a deduped issue plan; independent auditors draft and the coordinator owns authorized creation. Read [Issues](references/issues.md) for this stage.
<!-- /stage-reference -->

<!-- stage-reference: references/output.md -->
## Output

At audit handoff, load the receipt/output contract; only the coordinator publishes completed-batch receipts, and clean status needs current complete evidence. Read [Output](references/output.md) for this stage.
<!-- /stage-reference -->

From shakacode/agent-workflows, MIT.

More from shakacode/agent-workflows

Signals

Stars
8
Forks
1
Open issues
119
Last commit (this folder)
Sep 13, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from shakacode

Cite this page

post-merge-audit skill. Agent Mart. https://agentmart.dev/skills/shakacode-post-merge-audit (last updated 2026-10-24)