pr-draft-summary
Skill2 starsChanged 7 months agoMITView on GitHub
Generate a PR-ready summary block with branch suggestion, title, and description. Use in the final handoff after moderate-or-larger code changes; skip for trivial or conversation-only tasks.
9 other projects use a version of this.
Adopted by
Most recently taken up by
- CaseyLabs/kc-secure-repo-templatetheir own version, first seen Oct 27, 2026
- redis/ioredistheir own version, first seen Oct 8, 2026
- redis/node-redistheir own version, first seen Oct 8, 2026
- redis/redis-pytheir own version, first seen Oct 8, 2026
- openai/openai-guardrails-jstheir own version, first seen Sep 10, 2026
- openai/openai-agents-pythontheir own version, first seen Sep 8, 2026
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- openai/openai-agents-python★ 31ksame name
- redis/node-redis★ 18ksame name
- redis/ioredis★ 15ksame name
- redis/redis-py★ 14ksame name
- openai/openai-agents-js★ 4ksame name
- openai/openai-guardrails-python★ 265same name
- openai/openai-guardrails-js★ 113same name
- CaseyLabs/kc-secure-repo-template★ 9same name
- indyforge/knowledge-forge★ 0same 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 repository6 other files it gives its agents.
- AGENTS.mdAGENTS.md
- build-mcp-serverSkill
- code-change-verificationSkill
- docs-syncSkill
- implementation-strategySkill
- typescriptSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 3 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 9 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 15
Default final handoff step for substantive code work.
- Distinctive: line 30
Run the commands above without asking the user.
- Distinctive: line 31
If no changes detected, say so and skip the block.
“Common” is measured: kept by at least 6 in 10 of the 9 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
Purpose
Produce the PR-ready summary after substantive code work: a concise summary plus a PR title and draft description. The block should be ready to paste into a PR.
When to Trigger
- The task is finished and it touched runtime code (
src/), tests, docs with behavior impact, or build configuration. - Default final handoff step for substantive code work.
- Skip for trivial or conversation-only tasks, or when the user says not to.
Inputs to Collect Automatically
- Current branch:
git rev-parse --abbrev-ref HEAD - Working tree:
git status -sb - Untracked files:
git ls-files --others --exclude-standard - Changed files:
git diff --name-onlyandgit diff --name-only --cached - Latest release tag:
git tag -l 'v*' --sort=-v:refname | head -n1 - Base reference:
git rev-parse --abbrev-ref --symbolic-full-name @{upstream} 2>/dev/null || echo origin/main - Commits ahead:
git log --oneline --no-merges ${BASE_COMMIT}..HEAD
Workflow
- Run the commands above without asking the user.
- If no changes detected, say so and skip the block.
- Classify as feature, fix, refactor, or docs and flag backward-compatibility risk against the latest release tag.
- Summarize changes in 1-3 sentences using key paths and diff stats.
- Choose the lead verb: feature →
adds, fix →fixes, refactor →improves, docs →updates. - Suggest a branch name if on main:
feat/<slug>,fix/<slug>, ordocs/<slug>. - Draft using the template below.
Output Format
# Pull Request Draft
## Branch name suggestion
git checkout -b <kebab-case, e.g., feat/add-firewall-tools>
## Title
<single-line imperative title, e.g., "feat: add firewall management tools">
## Description
<Start with "This pull request adds/fixes/improves ...", explain the change, any behavior changes or considerations. No need to list tests.>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.

