pr
Skill1 starsChanged 2 months agoMITView on GitHub
Prepare, open, update, or assess a pull request, including checks, changesets, title, template, and CI.
- Commits and pushes
In this repository13 other files it gives its agents.
- AGENTS.mdAGENTS.md
- askSkill
- backlogSkill
- branchSkill
- changelogSkill
- changesetSkill
- conventionsSkill
- create-brain-noteSkill
- deslopSkill
- documentationSkill
- humanizerSkill
- issueSkill
- jsdocSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. About 0 are common, 6 are distinctive, and 7 are 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.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 12
Never commit to main. Check where you are, and branch from an up-to-date main when still on it:
- Very specific: line 22
Use the branch skill's <category>/<ISSUE-REF>_<slug> shape.
- Very specific: line 27
Run the format, lint, typecheck, and test scripts the repo defines in package.json, for example:
- Very specific: line 39
Run the changeset skill for versioned package changes.
- Distinctive: line 43
Use one imperative Conventional Commit per logical change, under 72 characters, no period.
- Very specific: line 52
When .github/pull_request_template.md exists, fill it without deleting sections.
- Distinctive: line 58
Checklist: check only what ran; explain unchecked items.
- Distinctive: line 62
Read a few recently merged PRs first and match their format.
- Very specific: line 66
Keep every section short. When the body runs long, cut background, not sections.
- Distinctive: line 73
Never push to main. On stop, leave the commits local and say so.
- Very specific: line 87
Use gh, open ready for review, and use only existing labels.
- Distinctive: line 96
Keep the diff scoped. No drive-by refactors or force-pushes.
- Very specific: line 97
Run deslop on generated code before push.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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
Take a branch to merge-ready. Work in order; disclose any unfinished step in the PR body.
1. Branch
Never commit to main. Check where you are, and branch from an up-to-date main when still on
it:
git status
git branch --show-current
git fetch origin main
git switch -c <category>/<ISSUE-REF>_<branch-name> origin/mainUse the branch skill's <category>/<ISSUE-REF>_<slug> shape. Omit the reference when none
exists.
2. Checks
Run the format, lint, typecheck, and test scripts the repo defines in package.json, for
example:
pnpm format && pnpm lint:fix && pnpm typecheck && pnpm testAlso run the build after package-source changes. Skip a script the repo does not define. Fix failures at the source; never weaken a type or rule, or skip a test.
3. Changeset
Run the changeset skill for versioned package changes. Docs, CI, and tests alone need none.
4. Commit
Use one imperative Conventional Commit per logical change, under 72 characters, no period.
Review git diff --cached. Never commit secrets or generated output; generate lockfiles with
pnpm.
5. Title and body
Title: imperative Conventional Commit, under 72 characters, no period. Derive the type from the
change or issue label, not feature/hotfix. Put Closes #123 in the body.
When .github/pull_request_template.md exists, fill it without deleting sections. Without one,
use these sections:
- Changes: what changed and why, in 1 to 3 sentences.
- How to test: three clean-checkout steps ending in the expected result. If the diff cannot
supply them, use the
askskill. Add screenshots for visible changes. - Checklist: check only what ran; explain unchecked items.
- Release impact: changeset, docs-only, and breaking boxes must match the diff.
- Impact: who is affected and any migration.
Read a few recently merged PRs first and match their format. Name each referent, such as a PR number or file, and copy every number from its source. Leave out what you tried along the way, since the reader wants the current state.
Keep every section short. When the body runs long, cut background, not sections. Run
humanizer over user-facing prose.
6. Push and open
Pushing publishes commits, so confirm first. Follow the ask skill: name the branch and offer
push and open the PR, push only, or stop. Wait for the answer. A yes covers that branch only.
Never push to main. On stop, leave the commits local and say so.
git fetch origin main
git pull --ff-only
git push -u origin <branch>
gh pr create \
--base main \
--title "<conventional commit title>" \
--body-file <body>.md \
--assignee @meUse gh, open ready for review, and use only existing labels. One PR does one thing.
7. CI and review
Fix red CI before handoff. Re-run only infrastructure failures. Reply to every review comment with what changed and how to verify it; propose before making a large requested change.
Guardrails
- Keep the diff scoped. No drive-by refactors or force-pushes.
- Run
deslopon generated code before push.
Related skills
| Skill | Use for |
| branch | Naming and cutting the branch this PR comes from |
| changeset | The changeset layout, bump, and wording |
| issue | Opening the issue this PR closes |
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.

