Index of every page on this site: llms.txt
All skills
skillkeel avatar

/pr-description

@d19d0d1
Run it yourself

Use when the user asks to open a pull request, write a PR description, or summarise a branch for review. Builds the description from the full branch diff against the base and from commit messages, and includes a test plan with real commands.

  • 1 file
  • 2.6 KB
  • Updated 2 months ago
  • GitHub
Use this Skill: https://skilld.dev/gh/skillkeel/skillkeel-starter/pr-description

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈64 tokens for metadata: the name and description. ≈597 when used: this file.

Description uses 3.2% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈258 characters, or 3.2%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

pr-description

A PR description is a reviewer's map: what changed, why, how to verify, what is risky.

Procedure

  1. Determine base: git rev-parse --abbrev-ref --symbolic-full-name @{u} or ask; default origin/main. Fetch first: git fetch origin.
  2. Collect evidence: git log --oneline <base>..HEAD, git diff --stat <base>...HEAD, and read the diff for anything non-trivial (git diff <base>...HEAD -- <paths>).
  3. Write, in this order, using the template below. Keep the whole thing under ~250 words unless the diff is large.
  4. If gh is available and the user asked to open the PR: gh pr create --title "<subject>" --body "$(cat <<'EOF' ... EOF)" and print the URL. Otherwise output the markdown.

Template

## Summary
One paragraph: the problem and the approach. Link the issue.

## Changes
- Bullet per logical change, referencing files/modules (not every file).

## Test plan
- [ ] `<exact command>`: what it proves
- [ ] Manual step, if any

## Risk / rollback
What could break, how to revert (`git revert <sha>` or feature flag).

The body ends with the Risk / rollback section. Nothing comes after it.

Rules

  • Title ≤ 70 chars, imperative, matches the primary commit type (feat:/fix:).
  • Test plan commands must be ones that actually exist in the repo (check package.json, Makefile, pyproject.toml). Never invent npm test if there is no test script.
  • Call out schema/migration changes, config changes, and dependency bumps explicitly.
  • Do not claim tests pass unless you ran them in this session; say "not run" otherwise.
  • No tool attribution footer ("Generated with …", a robot emoji line, Co-Authored-By) unless the repo's CONTRIBUTING or the user asks for it. The harness may append such a line to PR bodies on its own; this skill's output is complete without it, so do not add one and do not leave room for one. If the user wants attribution off everywhere, point them to the attribution setting in Claude Code's settings.json (includeCoAuthoredBy).

Verify

Maintainers: bash evals/run.sh /tmp/skillkeel-evals pr-description from the plugin root runs this case and grades it; records and transcripts sit in evals/pr-description/. evals/pr-description/: fixture branch with 3 commits (feat + fix + docs) and a migration file; expected: migration called out under Risk, test plan uses the repo's real make test.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at d19d0d1. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last month.

Steadyupdated 2 months ago

README badge

README badge for skillkeel/skillkeel-starter/pr-description