agentleFS
willianbswillianbs/skills/pr-generator/SKILL.md

pr-generator

Skill0 starsChanged 4 months agoMITView on GitHub

Writes accurate PR descriptions from git diff and commits only—never invented intent or test results. Use when opening or updating a pull request. Emits PR_BODY. Prefer the repo’s PR template when present.

  • Commits and pushes

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

11 rules. About 0 are common, 8 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈8

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do not use when: no diff yet; user wants marketing copy unrelated to changes.

    line 19
  2. Distinctive:

    Must read git diff / commits (and PR template if any).

    line 23
  3. Very specific:

    Prefer .github/PULL_REQUEST_TEMPLATE.md (or org template) structure.

    line 42
  4. Distinctive:

    Call out risks and rollout notes when evidenced.

    line 43
  5. Distinctive:

    No emoji stuffing or hype.

    line 44
  6. Very specific:

    Never claim QG Pass without QG_REPORT.

    line 45
  7. Very specific:

    Test plan — from IMPL_REPORT commands_run only.

    line 52
  8. Distinctive:

    Every factual claim cites path or commit subject.

    line 59
  9. Distinctive:

    Never invent business intent, metrics, or test results.

    line 105
  10. Distinctive:

    Never omit breaking changes visible in the diff.

    line 106
  11. Distinctive:

    Never include secrets from the diff.

    line 107

≈ “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.

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

Purpose

Produce a reviewer-ready PR description that is archaeologically honest.

When to Use / When NOT to Use

Use when: creating/updating a PR; after IMPL_REPORT / QG_REPORT.

Do not use when: no diff yet; user wants marketing copy unrelated to changes.

Preconditions

Must read git diff / commits (and PR template if any). Refuse to invent a body without the change set.

Inputs / Outputs

Inputs: diff, commits, IMPL_REPORT, QG_REPORT/REVIEW (optional), ticket ID if provided.

Outputs: PR_BODY (markdown)

Upstream / Downstream

Upstream: feature-implementer, quality-gate, code-reviewer.

Downstream: human/agent opens PR (gh pr create).

Core Principles

  1. Diff and commits are the source of truth.
  2. Unknown beats fabricated “Why.”
  3. Testing section lists only commands actually run.
  4. Prefer .github/PULL_REQUEST_TEMPLATE.md (or org template) structure.
  5. Call out risks and rollout notes when evidenced.
  6. No emoji stuffing or hype.
  7. Never claim QG Pass without QG_REPORT.

Process

  1. Load template if present; else use default sections below.
  2. Summarize what changed from diff (paths + behavior).
  3. Why — only from commits/ticket/user; else Unknown — please fill.
  4. Test plan — from IMPL_REPORT commands_run only; mark untested explicitly.
  5. Risks / rollback — from PLAN or obvious migration/flag evidence.
  6. Include QG/Review decision if artifacts exist.
  7. Reviewer focus — sharp bullets, not essays.

Evidence Requirements

Every factual claim cites path or commit subject. Omit unsupported sections rather than inventing.

Stop Conditions / Failure Modes

ConditionAction
No diffRefuse
User asks to hide risksRefuse; include risks or stop

Severity + Confidence

N/A. Accuracy over completeness.

Output Contract

Default markdown:

## Summary
...

## Why
...

## Changes
- `path`: ...

## Test plan
- [ ] `command` — result (from IMPL_REPORT) / NOT RUN

## Risks & rollback
...

## Quality
QG/Review: ... or Unknown

## Reviewer focus
...

Handoffs

None required. Optionally note remaining Block items from QG.

Never

  • Never invent business intent, metrics, or test results.
  • Never omit breaking changes visible in the diff.
  • Never include secrets from the diff; redact and warn.

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.