agentleFS
nortonxnortonx/ai-tooling-free/skills/pr-description/SKILL.md

pr-description

Skill1 starsChanged 2 months agoMITView on GitHub

Generate PR description from commits and diff. Args: [<base-branch>]

94 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use ao-desktop-dev, bug-triage and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • agentlab-inSkill

    ao-desktop-dev

    Launch, restart, or troubleshoot the real AO Electron desktop app from this repository; run a checkout against isolated or real local AO data; combine PR branches for local UI review; and diagnose stale Electron processes, port conflicts, or preload bridge mismatches. Use whenever asked to run, open, show, or visually verify AO frontend changes in the actual desktop app rather than ao preview, dev:web, or mock data.

    Also in 4 projects that use this

  • jMertaSkill

    bug-triage

    Use when the user reports a bug, regression, runtime error, failing build, or broken test and wants reproduction, diagnosis, root-cause analysis, or an authorized fix. Isolates the shared cause and verifies the smallest relevant change.

    Also in 4 projects that use this

  • GitHubSkill

    commit-message

    Generate conventional commit messages - use when creating commits, writing commit messages, or asking for git commit help

    Also in 9 projects that use this

  • saffron-healthSkill

    address-review

    Address PR review comments systematically. Use when responding to code review feedback on a pull request.

    Also in 3 projects that use this

  • NVIDIASkill

    writing-docs

    Use when adding or changing user-facing behavior or documentation in Megatron-Energon, or when creating new .py, .sh or .md files that need license headers.

    Also in 3 projects that use this

  • Sagargupta16Skill

    dependency-audit

    Audit project dependencies for security vulnerabilities, licensing issues, maintenance health, and optimization opportunities. Use it during regular security audits (monthly or quarterly); before a major release when you want to ensure the dependency tree is clean; when evaluating whether to adopt or replace a dependency; after a security advisory affects one of your dependencies; when your install times or bundle sizes have grown noticeably.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 89 edited versions we read keep these.

  • 2

    Distinctive

    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:

    If no step applies, write "Manual smoke-test recommended: exercise the changed area in the running app." rather than fabricating a …

    line 62
  2. Very specific:

    If excluded files are >5% of the diff line count, note in ## Notes: "Lockfile/generated delta: N files, ~M lines: excluded from review …

    line 69
  3. Distinctive:

    Do not narrate steps. Output only the formatted PR description.

    line 71

“Common” is measured: kept by at least 6 in 10 of the 89 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md
<!-- Note: $ARGUMENTS is substituted by Claude commands only. In Copilot, the user must include their argument inline in the prompt; the skill body sees the literal text "$ARGUMENTS" unsubstituted. -->

Arguments

[<base-branch>]

  • Optional. The branch to diff against; defaults to main.
  • Examples: /pr-description, /pr-description develop

Copilot CLI note: $ARGUMENTS does not substitute in skills; include the argument inline in your prompt.

Generate a pull request description for the current branch.

Base branch from $ARGUMENTS (default: "main").

Steps:

  1. Get branch name: git branch --show-current
  2. Get commit list: git log <base-branch>..HEAD --pretty=format:"- %s" --no-merges
  3. Get changed files: git diff <base-branch>..HEAD --name-status
  4. Get diff summary: git diff <base-branch>..HEAD --stat

Format output as:


Summary

<1-2 sentence description of what this PR does and why>

Changes

<bullet list from commits, grouped by area if possible>

Files Changed

<list from diff --name-status, grouped by type: Added / Modified / Deleted>

How to test

  1. <step 1>
  2. <step 2>

Notes

<any breaking changes, dependencies, or deploy considerations>

Infer testing steps using this routing table: first match wins, list the matching steps in ## How to test:

Changed file shapeTest step to include
*.test.* / *.spec.* / tests/** only"Run <project test command>: added/updated tests cover the change."
API route file (e.g., routes/, controllers/, *Controller.*, app.py Flask routes)"Hit the endpoint with curl/Postman: curl <method> <url>: expect <status> and <body shape>."
Database migration"Run the migration on a dev DB, then run the reverse, then re-run forward. Confirm schema matches <file>."
UI component (.vue, .tsx, .jsx)"Open the affected view in the running app (<dev command>), exercise the changed interaction, confirm <expected visible result>."
Config / build / CI file"Re-run the affected pipeline locally (e.g., npm run build, ./scripts/check.sh): confirm no new warnings or failures."
Docs-only (.md, .rst, docs/**)"Read for clarity; no functional test needed."
Mix of the aboveList one step per category, in the order above.

If no step applies, write "Manual smoke-test recommended: exercise the changed area in the running app." rather than fabricating a procedure.

Exclude from ## Files Changed:

  • Lockfiles (package-lock.json, yarn.lock, pnpm-lock.yaml, Cargo.lock, poetry.lock, Gemfile.lock, go.sum), unless the PR stated purpose is a dependency upgrade.
  • Generated files matching dist/, build/, *.min.*, coverage/.
  • The auto-generated CHANGELOG.md if the PR uses semantic-release or similar.

If excluded files are >5% of the diff line count, note in ## Notes: "Lockfile/generated delta: N files, ~M lines: excluded from review surface."

Do not narrate steps. Output only the formatted PR description.

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.