pr-management
Skill103 starsChanged 58 days agoApache-2.0View on GitHub
Use after every push to a branch with an open PR, and when creating or updating PRs. Maintain title, description, labels, and assignee.
- Commits and pushes
In this repository8 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- cloudai-config-contributionSkill
- cloudai-docs-contributionSkill
- cloudai-remote-experimentSkill
- cloudai-remote-installSkill
- cloudai-workload-contributionSkill
- security-assessmentSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 6 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
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
- Very specific: line 8
Create PRs as drafts (gh pr create --draft).
- Distinctive: line 12
After each successful authorized push, find the open PR matching the pushed repository and head branch.
- Distinctive: line 14
Read current PR and final diff.
- Distinctive: line 18
Follow repository template.
- Distinctive: line 28
Do not enumerate unit tests, test cases/counts, pytest commands, pre-commit hooks, formatting, lint, type checks, or local environment …
- Distinctive: line 30
Add distinctive evidence CI cannot provide: real installation, remote workload, performance measurement.
- Distinctive: line 46
Read actual PR author and assignees.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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 management
Create PRs as drafts (gh pr create --draft). Mark ready only when asked; preserve existing PR status.
After every push
- After each successful authorized push, find the open PR matching the pushed repository and head branch. Apply this skill before reporting completion, including for commit-and-push requests.
- Push authorization includes maintaining that PR's title, description, labels, and assignee. No separate approval needed. No open PR: stop; do not create one unless asked.
- Read current PR and final diff. Update stale metadata; preserve accurate user edits. Check CI for the new head; never carry forward an older commit's passing status. Already current: no write needed.
Description
- Follow repository template; match user's edited descriptions. PR prose: normal sentences, concise.
- Short title: component + change, e.g.
[MegatronRun] Metric observations. - Summary: state what changed and why, as briefly as possible. Add context only when needed to understand the change; keep it short. Use bullets for distinct points or numbered lists when order matters.
- Explain final behavior. Skip supporting-change inventories: helpers, tests, configs, docs, refactors unless essential to review.
- Match current diff. Remove abandoned approaches, stale claims, reassurance about unchanged behavior.
- Additional Notes:
N/Aunless compatibility change, material limitation, or reviewer action.
Test plan
- Green CI covering routine checks:
CI passed.Enough. Verify current-head status before claiming success. - Do not enumerate unit tests, test cases/counts, pytest commands, pre-commit hooks, formatting, lint, type checks, or local environment details already covered by CI. No duplicate checklists elsewhere in description.
- Pending, failed, or unavailable CI: state accurately and briefly. Include actionable failures or material coverage gaps; never imply success.
- Add distinctive evidence CI cannot provide: real installation, remote workload, performance measurement. Keep setup, outcome, and relevant measurement concise.
- More detail only when explicitly requested or specifically required by repository instructions. A Test Plan heading alone does not require commands or check inventories.
- Reporting rule only: still run required checks.
Example: CI passed. Manual Slurm import completed in 34 seconds with a 20-minute limit.
Labels
- Inspect repository label definitions and current PR labels. Add few relevant labels; preserve existing labels and exact casing. Create labels only when requested.
- Label main change. Supporting tests/docs alone do not justify extra labels.
compatibility-change: release-changelog marker for upgrade-relevant config, CLI, integration API, or output changes. Includes changed behavior even when old configs still parse; excludes purely private refactors.- Explain affected users/integrations, before/after behavior, migration, and whether action is required in Additional Notes or equivalent.
- Reassess after scope changes. Flag stale existing labels; do not silently remove. Missing
compatibility-change: include note, suggest label.
Assignee
- Read actual PR author and assignees. No assignees: assign author's GitHub login. Any assignee present: preserve entire list.
- Recheck immediately before assigning. Author unavailable for assignment: report; no substitute.
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.

