.agents/skills/describing-PRs/SKILL.md
Generate a PR description for the current branch. Writes Markdown to .git/magit/posts/new-pullreq for use with magit-forge.
npx skillsauth add aspiers/ai-config describing-PRsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Generate a well-structured PR description for the current feature branch.
Use this skill when:
Determine the base branch
Run the helper script to find the base branch:
BASE=$(~/.agents/skills/describing-PRs/scripts/find-merge-base.py)
The script outputs a branch name (e.g., origin/main) that represents
the base branch for comparison. It handles cases where you branched
from another feature branch, not just main/master.
Options:
--fetch: Fetch latest remote refs before determining base branch--debug: Show how the base branch is determinedStrategy (implemented in the script):
@{upstream} first (the current branch's configured upstream)origin/HEAD (the remote's default branch)origin/main, origin/master, origin/developGather context about the branch
Using the base branch found above:
git branch --show-current
git log --oneline <base-branch>..HEAD
git diff --no-ext-diff <base-branch>..HEAD --stat
git diff --no-ext-diff <base-branch>..HEAD
Analyze the changes
Generate the PR description
Write a Markdown file with:
Write to the output file
Create the directory and write the description:
mkdir -p .git/magit/posts
Write Markdown content to .git/magit/posts/new-pullreq
The generated file should follow this structure:
# <PR Title>
## Summary
<Brief explanation of what this PR accomplishes and why>
## Changes
- <Key change 1>
- <Key change 2>
- ...
## Testing
<How changes were tested, or "N/A" if not applicable>
## Notes
<Any additional context for reviewers, breaking changes, or follow-up work>
myFunction, CONFIG_VALUE, src/utils.ts).git/magit/posts/new-pullreq is used by magit-forgedevelopment
Run tests according to repository guidelines. Use after linting passes, before staging changes.
development
Orchestrate the complete development workflow for implementing sub-tasks from a task list. Use for end-to-end feature implementation with quality controls.
development
Implement a single sub-task from a task list. Use when working on feature development with existing task lists.
data-ai
Generate a detailed task list from a PRP. Use after a PRP is created and ready for implementation planning.