pr-reference Skill
Generates PR reference XML with commit history and unified diffs between branches, with extension and path filtering. Use when creating pull request descriptions, preparing code reviews, analyzing branch changes, discovering work items from diffs, or generating structured diff summaries. Published by microsoft in hve-core.
What is pr-reference Skill?
Generates PR reference XML with commit history and unified diffs between branches, with extension and path filtering. Use when creating pull request descriptions, preparing code reviews, analyzing branch changes, discovering work items from diffs, or generating structured diff summaries. Published by microsoft in hve-core. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.
Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement.
Key capabilities
- Includes SKILL.md support
- Reusable instructions support
- Security review
- Data analysis
- Security review use cases
- Data analysis use cases
Technical details
- Install or run with Copy skill directory
When to use pr-reference Skill
- Use it for security review.
- Use it for data analysis.
Built with
Editorial notes
Source
- Creator: microsoft
- Repository: microsoft/hve-core
- Skill file: .github/skills/shared/pr-reference/SKILL.md
What it does
Generates PR reference XML with commit history and unified diffs between branches, with extension and path filtering. Use when creating pull request descriptions, preparing code reviews, analyzing branch changes, discovering work items from diffs, or generating structured diff summaries.
Skill instructions
PR Reference Generation Skill Overview Queries git for commit metadata and diff output, then produces a structured XML document. Both bash and PowerShell implementations are provided. Use cases: PR description generation from commit history Code review preparation with structured diff context Work item discovery by analyzing branch changes Security analysis of modified files After successful generation, include a file link to the absolute path of the XML output in the response. Prerequisites The repository must have at least one commit diverging from the base branch. | Platform | Runtime | |----------------|----------------------| | macOS / Linux | Bash (pre-installed) | | Windows | PowerShell 7+ (pwsh) | | Cross-platform | PowerShell 7+ (pwsh) | Quick Start Run the following command to generate a PR reference with default settings (compares against origin/main): bash scripts/generate.sh scripts/generate.sh --base-branch auto --merge-base --exclude-ext yml,json powershell scripts/gener
Explore related resources
Frequently asked questions
What is pr-reference?
pr-reference is a open-source AI agent skill with Copy skill directory. Generates PR reference XML with commit history and unified diffs between branches, with extension and path filtering.
Who is pr-reference best for?
pr-reference is best for reusing agent instructions, scripts, and references, security review workflows, data analysis workflows.
How do I install pr-reference?
Install or run pr-reference using Copy skill directory. Check pr-reference for the latest setup command.
Is pr-reference actively maintained?
pr-reference may need a closer maintenance check before production use.
Auto-fetched from GitHub.