agentleFS
satoshikawatosatoshikawato/gbdraw/.claude/skills/write-clear-pull-request/SKILL.md

write-clear-pull-request

Skill162 starsChanged 15 days agoMITView on GitHub

Write, edit, or review gbdraw pull request titles and maintainer-facing descriptions. Use whenever creating or changing a PR title or body, or reviewing either for clarity.

  • Commits and pushes

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    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
  1. Distinctive:

    Write the title as a concrete action plus a concrete object.

    line 14
  2. Distinctive:

    Treat internal classifications and process labels as metadata, not as the primary explanation.

    line 16
  3. Distinctive:

    Check that the text makes sense without prior plans or PR history.

    line 27
  4. Very specific:

    Run gh pr create or a wording-changing gh pr edit separately after the checker passes.

    line 34

≈ “Common” is an estimate: at least 1 in 5 of the 308,232 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Write clear pull requests

Audience

Assume the reader knows gbdraw, Git, and GitHub, but has not read an implementation plan, earlier PRs, or private discussion.

Opening

  • Write the title as a concrete action plus a concrete object.
  • Begin the body directly with a concise paragraph that says what changes, why, and what differs after merge. Do not add a heading above this paragraph.
  • Treat internal classifications and process labels as metadata, not as the primary explanation.
  • Preserve exact check names, paths, branch names, options, and code identifiers in backticks. Explain their role in ordinary language when the name is not self-explanatory.

Policy terms may appear in later technical or evidence sections. They fail this standard only when they replace the concrete explanation in the title or opening paragraph.

Workflow

  1. Name the concrete action and object.
  2. State the reason when it is not obvious.
  3. State the behavior or review condition after merge.
  4. Replace unexplained local abstractions in the title and summary.
  5. Check that the text makes sense without prior plans or PR history.
  6. Save the complete body, then run:

    node tools/check-pr-language.mjs --title "<concrete title>" --body-file <body.md>

Run gh pr create or a wording-changing gh pr edit separately after the checker passes.

Regression example

Bad title:

Promote steady-state CI topology and finalize main admission

Bad opening:

This promotion removes the transition-only CI topology from main and completes the admission-policy cutover.

Clear title:

Stop rerunning full CI on dev-to-main pull requests

Clear opening:

This PR removes CI jobs that were needed only while the new main-merge check was being introduced. After the branch-protection update, dev-to-main pull requests will require only `Promotion / gate` and `CodeQL`.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.