pr-draft-summary
Skill104 starsChanged 3 months agoMITView on GitHub
Draft a Guardrails PR from its complete final diff and carry out authorized CI and review follow-up, including stacked PRs and takeovers.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- CaseyLabs/kc-secure-repo-templatetheir own version, first seen Oct 4, 2026
- openai/openai-agents-pythontheir own version, first seen Sep 8, 2026
- openai/openai-guardrails-pythontheir own version, first seen Aug 25, 2026
- pproenca/unifi-mcptheir own version, first seen Apr 7, 2026
- openai/openai-agents-jstheir own version, first seen Feb 3, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- openai/openai-agents-python★ 30ksame name
- openai/openai-agents-js★ 3.9ksame name
- openai/openai-guardrails-python★ 257same name
- CaseyLabs/kc-secure-repo-template★ 9same name
- pproenca/unifi-mcp★ 2same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository5 other files it gives its agents.
- AGENTS.mdAGENTS.md
- code-change-verificationSkill
- implementation-final-reviewSkill
- implementation-kickoffSkill
- implementation-strategySkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 7 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Read AGENTS.md for review, release-note, and remote-action rules.
- Very specific: line 21
Keep a user-selected branch.
- Distinctive: line 22
Do not include unrelated local notes.
- Distinctive: line 28
Use a concise imperative title.
- Very specific: line 38
Use native GitHub references (#123 or owner/repo#123).
- Distinctive: line 40
Keep local paths, reviewer transcripts, internal diagnostics, and app directives out of the external description.
- Distinctive: line 45
Before any push or PR update, complete the repository's final review and applicable verification.
- Distinctive: line 63
Stop repeated retries when there is no new evidence or progress.
- Distinctive: line 70
When addressing feedback, inspect the whole affected diff, push the reviewed fix, then reply to the particular review thread explaining the …
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
PR Draft Summary
Describe the complete final change, including internal tooling and docs PRs. Read AGENTS.md for review, release-note, and remote-action rules. Drafting alone does not authorize submission or messages; retain explicit user authorization already given for the task.
Establish the actual PR scope
Inspect the current branch, target, merge base, all branch commits, staged and unstaged changes, and relevant untracked deliverables. Use the intended target, not a feature branch's tracking configuration. For an explicit stack, compare against the previous PR's branch and list the required predecessor. Check the combined stack separately for integration and scope drift.
Keep a user-selected branch; suggest an unused codex/<topic> name when needed.
Do not include unrelated local notes. If the diff is empty, report that fact
rather than inventing a PR. Reconcile the summary with the final diff after fixes.
Draft the title and body
Lead with the concrete problem or missing capability and resulting behavior. Use a concise imperative title. Include only details needed to review the change:
- What changes and why; relevant compatibility or migration requirements.
- Actual tests/checks run, results, and material coverage limitations.
- Changeset impact when it helps clarify release behavior.
- For takeovers, the source PR and verified attribution; for split takeovers, identify the slice without claiming the entire original PR is complete.
- For stacks, the predecessor and ordered stack position. Explain that the incremental diff is against that predecessor.
Use native GitHub references (#123 or owner/repo#123). Add issue-closing syntax
only when the final change fully resolves that issue and closure is intended.
Keep local paths, reviewer transcripts, internal diagnostics, and app directives
out of the external description. Do not claim a check or approval that did not run.
Submit and follow up when authorized
Before any push or PR update, complete the repository's final review and applicable verification. Push only the intended branches and create PRs with explicit bases. Do not rewrite another author's branch, merge, or close a source PR merely because a replacement exists.
Monitor CI and CodeQL on the current head of every submitted PR. Both workflows
filter PR targets to main, so higher stack entries may have no automatic runs.
Inspect .github/workflows/ci.yml and .github/workflows/codeql.yml; when
needed, dispatch each workflow on each affected stack branch and verify that
every run's head SHA matches the PR. Require both workflows to pass before
reporting the head as green or requesting review. Missing checks are not passing
checks. Report an unavailable trigger or blocked run rather than weakening CI
or modifying branch protection.
Fix and re-push only failures introduced/worsened by the change or narrowly necessary to its outcome, repeating the required review/checks before updates. Retry evidenced transient failures; report unrelated failures separately. Stop repeated retries when there is no new evidence or progress.
Once current-head CI and CodeQL pass, request review in root #sdk-reviews as
required by AGENTS.md and authorized for the task. For a stack, one message can list all PRs
in dependency order; do not post it as a thread reply. If messaging is unavailable,
report the blocker and provide the prepared request without claiming it was sent.
When addressing feedback, inspect the whole affected diff, push the reviewed fix, then reply to the particular review thread explaining the correction and resolve it. Do not resolve feedback that remains unaddressed. If an earlier stack branch changes, reconcile dependent branches within the authorized scope and revalidate affected PR heads before reporting the stack as green.
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.

