pr-plan-and-rollback-notes
Skill1 starsChanged 8 days agoMITView on GitHub
Write a GitHub PR description — merge-order checklist, verification commands with expected outputs, migration order, rollback with its limits. Use when opening a PR for a risky change.
In this repository21 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- customer-discovery-and-synthesisSkill
- define-success-metricsSkill
- draft-prdSkill
- prioritize-asksSkill
- slice-mvp-and-storiesSkill
- survey-designSkill
- deploy-plan-and-releaseSkill
- design-and-code-reviewsSkill
- generate-test-ideas-and-casesSkill
- technical-design-and-breakdownSkill
- operational-health-reviewSkill
- scope-cut-and-tradeoffsSkill
- sprint-planning-and-capacitySkill
- sprint-retroSkill
- standup-executionSkill
- program-roadmap-and-depsSkill
- program-status-reviewSkill
- release-readiness-checkSkill
- risk-raid-and-mitigationsSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 31
If this must be reverted after merge, what is the first step — and what does the revert *not* undo (data, flags, caches)?
- Very specific: line 39
Write the checklist in merge order,: not authoring order: migrations → code → flags → tests.
- Distinctive: line 44
Migration/backfill order: If data moves: the order, the verification per step (row-count/checksum), and reversibility — copied from the …
- Distinctive: line 46
No data movement → the section says so.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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-plan-and-rollback-notes — GitHub PR description
What it produces
A PR description artifact: implementation checklist (ordered), verification steps (commands and expected outputs), migration/backfill order where relevant, and rollback/recovery steps — formatted to paste straight into a GitHub PR body.
RACI row
PR description & rollback notes — SDE A/R (shared/raci.md); PMT — · TPM C · SDM I.
Inputs required
- The change being PR'd (design/diff summary)
- The verification that proves it works (commands, fixtures, dashboards)
- Migration/backfill steps if data moves
- The rollback path (from the design's §Rollback if run)
Clarifying questions when inputs are missing
- What command shows this works, and what does its output look like when it does?
- If this must be reverted after merge, what is the first step — and what does the revert not undo (data, flags, caches)?
- What is the reviewer's shortest path to confidence?
Steps
- Pin the change. One line: what this PR does, which
REQ-n/T-nit serves. A PR serving two concerns is two PRs — flagged here if so. - Write the checklist in merge order, not authoring order: migrations → code → flags →
tests. Each item is a
T-nfrom the design, checked off only as merged. - Verification = real commands + expected outputs. "Should work" is not verification.
Each step: command, what its output looks like when the change is good (from the paste,
or
[CONFIRM: expected output]), and where it runs (local/CI/staging). - Migration/backfill order. If data moves: the order, the verification per step (row-count/checksum), and reversibility — copied from the design, never re-derived here. No data movement → the section says so.
- Rollback, copied verbatim from the design's §Rollback (or
[CONFIRM]if no design was run). Ordered, named steps — plus what rollback does not undo: emails sent, events emitted, external reads. That line is required; its absence is the classic drift. - Out-of-scope block. What this PR deliberately does not contain, so the reviewer knows the boundary without asking.
- Read-back pass. Checklist merge-ordered; every verification a runnable command; rollback names its limits; paste-clean (no HTML, no emoji, tables only where schemas allow).
- Hand over. Emit the description ending with its Import-target block. Answer questions. Wait.
Output binding
PR body follows shared/system-conventions.md Markdown rules; the verification table reuses
the TC-n rows of shared/output-schemas/test-plan-and-cases.md.
Import target
GitHub — the Pull Request description.
Worked example
tests/sde/pr-plan-and-rollback-notes/fixture.md — full input + expected artifact (synthetic).
Recorded run: tests/results/run-2026-11-22-v0.1.0.md.
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.

