pr-draft-summary
Skill257 starsChanged 3 months agoMITView on GitHub
Create the required PR-ready summary block, branch suggestion, title, and draft description for openai-guardrails-python after runtime, tests, examples, build/test configuration, or behavior-impacting docs change.
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-guardrails-jstheir own version, first seen Sep 10, 2026
- openai/openai-agents-pythontheir own version, first seen Sep 8, 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-js★ 104same 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 repository7 other files it gives its agents.
- AGENTS.mdAGENTS.md
- code-change-verificationSkill
- final-release-reviewSkill
- implementation-final-reviewSkill
- implementation-kickoffSkill
- implementation-strategySkill
- maintainer-reviewSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 6 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
6
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
- Very specific: line 14
Run after applicable final review and verification when the task changed src/guardrails/, mcp_server/, tests/, examples/, build/test …
- Distinctive: line 15
Run for eligible local-only or uncommitted work even when the user did not ask to open a pull request.
- Distinctive: line 34
Do not ask the user for information that can be derived from the repository.
- Distinctive: line 39
If there are no task changes and no commits ahead of the base, report that no code changes were detected and do not emit the PR block.
- Distinctive: line 44
Keep the current non-main, non-detached branch when it already describes the task.
- Distinctive: line 47
Use an imperative title with a conventional prefix when useful.
- Very specific: line 48
Start the description with This pull request adds ..., fixes ..., improves ..., or updates ....
- Distinctive: line 71
Keep the block tight and avoid repeating the same information in multiple sections.
“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
Purpose
Produce a concise, copy-ready branch suggestion, PR title, and description for OpenAI Guardrails Python. This skill creates text only. It never authorizes creating a branch, committing, pushing, opening a pull request, or mutating GitHub.
When to trigger
- Run after applicable final review and verification when the task changed
src/guardrails/,mcp_server/,tests/,examples/, build/test configuration, or behavior-impacting docs. - Run for eligible local-only or uncommitted work even when the user did not ask to open a pull request.
- Skip for repository metadata, editorial docs, conversation-only work, or when the user explicitly asks not to include a PR draft.
Inputs to collect automatically
- Current branch:
git branch --show-current. - Repository state:
git status --short. - Untracked files:
git ls-files --others --exclude-standard. - Staged and unstaged paths and statistics.
- Base reference: the branch upstream when configured, otherwise local
main, otherwiseorigin/main. - Merge base and commits ahead of that base.
- Latest local release tag when compatibility context matters; label it potentially stale when remote tags were not refreshed.
- Category signals:
- Runtime:
src/guardrails/,mcp_server/. - Tests:
tests/. - Examples:
examples/. - Docs:
docs/,mkdocs.yml. - Build/test configuration:
pyproject.toml,uv.lock,Makefile,.github/.
- Runtime:
Do not ask the user for information that can be derived from the repository.
Workflow
- Resolve the base and inspect committed, staged, unstaged, and untracked task content.
- If there are no task changes and no commits ahead of the base, report that no code changes were detected and do not emit the PR block.
- Classify the work as feature, fix, refactor/performance, docs-with-impact, or repository tooling.
- Flag backward-compatibility risk only when the diff changes a released public API, external configuration, persisted data, serialized state, or wire protocol.
- Summarize the complete change in one to three sentences. Include untracked deliverables because ordinary diff statistics omit them.
- Choose a branch name:
- Keep the current non-
main, non-detached branch when it already describes the task. - Otherwise suggest
feat/<slug>,fix/<slug>,docs/<slug>, orchore/<slug>. - Never suggest
HEAD.
- Keep the current non-
- Use an imperative title with a conventional prefix when useful.
- Start the description with
This pull request adds ...,fixes ...,improves ..., orupdates .... - Explain the motivation, complete behavioral change, and compatibility considerations. Do not list tests unless the user asks.
- Normalize GitHub references:
#123for this repository andowner/repo#123for another repository. Remove Markdown-linked issue/PR labels, bare issue/PR URLs, local paths, Codex citations, and app directives. - Return the following block in English.
Output format
# Pull Request Draft
## Branch name suggestion
git checkout -b <kebab-case branch>
## Title
<single-line imperative title>
## Description
<copy-ready description beginning with "This pull request ...">Keep the block tight and avoid repeating the same information in multiple sections.
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.

