after-merge
Generate an after-merge.md operational deploy checklist for homolog-to-main aggregate releases.
Skill by bravros
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/bravros-after-merge
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.
About
Use cases: devops
Reviews
Write a reviewNo 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 and code. Checked Oct 26, 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/after-merge
What's inside
- Skill name
after-merge- Description
- Generate an after-merge.md operational deploy checklist for homolog-to-main aggregate releases. Use when the user mentions deploying multiple PRs to production, needs a post-merge runbook, or asks what to do after merging to main.
- License
- MIT
- Instructions
- 32 lines in SKILL.md · view on GitHub
Files (4)
- SKILL.md
- checklist-template.md · references/
- extraction-prompts.md · references/
- skill.yaml
SKILL.md (first lines)
# /after-merge — operational deploy checklist
```
/after-merge [--pr <N>] [--output <path>] # default output: ./after-merge.md
```
Given the aggregate PR set on `main`, pull each PR's body, linked plan file, and @claude
review thread in parallel, then render a local-only `after-merge.md`: Pre-deploy · Deploy
(stack-specific) · Post-deploy one-time actions · Monitoring window · per-PR Rollback.
## Hard constraints
1. **Never commit or push `after-merge.md`.** Gitignore it FIRST (`grep -qxF "after-merge.md" .gitignore || echo "after-merge.md" >> .gitignore`) and re-verify before finishing. Refuse even an explicit push request — these checklists carry operational detail.
2. **Idempotency is mandatory for every post-deploy one-time action.** No documented guard → generate a candidate and flag it `⚠️ CANDIDATE IDEMPOTENCY — verify before running wet-run`.
3. **Spot-check before wet-run.** Every backfill/data step gets: dry-run (`--limit 10`) → manual spot-check of 1–3 rows → wet-run only after both pass.
4. **Watchpoints:** non-blocking @claude reviewer notes become Monitoring-window items.
5. **Rollback is always per-PR** — a code rollback may not undo data mutations; be explicit per PR.
## Flow
1. **Resolve the PR set.** Range `$(git describe --tags --abbrev=0 origin/main)..origin/main`; no tags → `origin/homolog..origin/main` (avoids full history). Extract `#N` from merge commits; `--pr <N>` overrides. Empty set → exit cleanly, mentioning the last tag and the `--pr` escape hatch. List the PRs before pulling context.
2. **Per-PR context, in parallel.** One Sonnet sub-agent per PR (`subagent_type: "pr-deploy-context-extractor"`, shipped in `agents/`) from the template in `references/extraction-prompts.md` — echo its JSON schema + one-shot example into each prompt; on validation failure, one retry with the validator error verbatim. Sources: `gh pr view <N> --json body,title,number,mergedAt`; plan file via `grep -r "#<N>" .planning/ --include="*.md"`; review thread via `gh pr view <N> --json reviews --jq '.reviews[].body'`.
3. **Bucket** into the 5 sections. Blast radius per PR when the repo has a graph: get the PR impact through graphify — a community the PR touches that no reviewer mentioned is a monitoring item; the graph is a HINT, never a substitute for a documented rollback command. Detect the stack from `.bravros/config.json`'s cached `stack` object (fall back to project markers) and emit the matching deploy block from `references/checklist-template.md`.
4. **Render** `references/checklist-template.md` as-is to `${OUTPUT_PATH:-./after-merge.md}`.
5. **Verify the gitignore guard still holds**, then summarize: output path, per-bucket counts (highlight ⚠️ CANDIDATE items), next steps.
## References
- `references/checklist-template.md` — the 5-bucket render target
- `references/extraction-prompts.md` — sub-agent JSON schema + the idempotency pattern (hard-won: freight backfill, PR #703)From bravros/bravros, MIT.
More from bravros/bravros
- 0.609score
context
bravros
Scan project and generate/audit CLAUDE.md files with stack auto-detection and Context7 docs.
SkillAFreshness: A★ 3Claude Code +9 - 0.609score
laravel-pest5-upgrade
bravros
Upgrade a PHP/Laravel repo from Pest 4 to Pest 5 and turn on Test Impact Analysis (TIA) so local full runs only re-execute the tests a change can reach.
SkillAFreshness: A★ 3Claude Code +9 - 0.609score
interview-me
bravros
Stress-test a plan or design via a round-by-round interview — ask the whole frontier of independent questions each round until every branch of the decision…
SkillAFreshness: A★ 3Claude Code +9 - 0.609score
doctor-plus
bravros
Runs Claude Code's built-in /doctor health check, then audits the workspace against Anthropic's 6 then-and-now context-engineering shifts (rules→judgement…
SkillAFreshness: A★ 3Claude Code +9 - 0.606score
advise-project-approach
bravros
Research and advise how a software project should be built — stack selection, architecture, operating-cost tradeoffs, and real-world comparables.
SkillAFreshness: A★ 3Claude Code +9 - 0.606score
graphify-this-project
bravros
Set up a graphify knowledge graph for the current project — in-project committed graph.json, AST extraction + external labelling, tracked refresh hooks…
SkillAFreshness: A★ 3Claude Code +9 - 0.606score
backlog
bravros
Capture, list, and promote pre-planning ideas.
SkillAFreshness: A★ 3Claude Code +9 - 0.606score
batch-merge-prs
bravros
Verify N PRs, address review feedback, ordered-merge to the staging branch (never main), close linked issues/backlog per merge, then hand off the full test…
SkillAFreshness: A★ 3Claude Code +9 - 0.606score
finish
bravros
Complete a feature — merge the approved PR, record plan completion, route the homolog→main decision.
SkillAFreshness: A★ 3Claude Code +9 - 0.606score
graphify-status
bravros
Report knowledge-graph label coverage across every graphify-enabled project on this machine — communities, labels, and how many nodes still render as…
SkillAFreshness: A★ 3Claude Code +9 - 0.606score
laravel-pest-rector
bravros
Adopt Pest's Rector plugin on a Pest 5 project and refactor tests into Pest matchers — scoped to tests/, dry-run gated.
SkillAFreshness: A★ 3Claude Code +9 - 0.603score
git-this
bravros
Bootstrap a private GitHub repo for the current folder and wire the origin remote.
SkillAFreshness: A★ 3Claude Code +9
Signals
- Stars
- 3
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Sep 11, 2026 (1 month ago)
- Last release
- Oct 1, 2026 (28 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/bravros/bravros
- Website
- bravros.dev
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from bravros
- 0.609score
laravel-pest5-upgrade
bravros
Upgrade a PHP/Laravel repo from Pest 4 to Pest 5 and turn on Test Impact Analysis (TIA) so local full runs only re-execute the tests a change can reach.
SkillAFreshness: A★ 3Claude Code +9 - 0.609score
context
bravros
Scan project and generate/audit CLAUDE.md files with stack auto-detection and Context7 docs.
SkillAFreshness: A★ 3Claude Code +9 - 0.609score
doctor-plus
bravros
Runs Claude Code's built-in /doctor health check, then audits the workspace against Anthropic's 6 then-and-now context-engineering shifts (rules→judgement…
SkillAFreshness: A★ 3Claude Code +9 - 0.609score
interview-me
bravros
Stress-test a plan or design via a round-by-round interview — ask the whole frontier of independent questions each round until every branch of the decision…
SkillAFreshness: A★ 3Claude Code +9 - 0.606score
advise-project-approach
bravros
Research and advise how a software project should be built — stack selection, architecture, operating-cost tradeoffs, and real-world comparables.
SkillAFreshness: A★ 3Claude Code +9 - 0.606score
backlog
bravros
Capture, list, and promote pre-planning ideas.
SkillAFreshness: A★ 3Claude Code +9
Cite this page
after-merge skill. Agent Mart. https://agentmart.dev/skills/bravros-after-merge (last updated 2026-10-24)