pr-reference
Skill1.5k starsChanged 2 months agoMITView on GitHub
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.
Trending
Less talk lately.about the whole repository
Who's talking about microsoft/hve-core
- A Hacker News story“Microsoft/Hve-Core”Hacker News · Mar 8, 2026 · 3 points
- @github-trending.bsky.social“📦 microsoft / hve-core ⭐ 169 (+6) 🗒 PowerShell A refined collection of Hypervelocity Engineering …”Bluesky · Mar 5, 2026 · 1 likes
- A Hacker News story“A refined collection of Hypervelocity Engineering components”Hacker News · Feb 20, 2026 · 1 points
- sudosubin/agents.nix“agent-skills.github.microsoft.hve-core: init at 3.3.101”GitHub · Oct 3, 2026
- nayounsang/younsang-codex-plugin“strict-review 보강”GitHub · Sep 26, 2026
The biggest 5 of 21 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 21
Talked about on GitHub, Hacker News and Bluesky (21 times).
On GitHub · 18
- Oct 3, 2026agent-skills.github.microsoft.hve-core: init at 3.3.101 — sudosubin/agents.nix0 reactions
- Sep 26, 2026strict-review 보강 — nayounsang/younsang-codex-plugin0 reactions
- Jul 22, 2026chore: add Copilot cloud-sandbox and dev container with hve-core-all — JoshLuedeman/fabric-worldcup0 reactions
- Jul 22, 2026chore: Copilot cloud-sandbox setup + dev container with hve-core-all — JoshLuedeman/vCamService0 reactions
- Jul 22, 2026chore: add Copilot cloud-sandbox setup + dev container (hve-core-all plugin) — JoshLuedeman/cosmosdb-to-sql-migration-tool0 reactions
13 more on GitHub
- Jul 22, 2026chore: add Copilot cloud-sandbox setup + dev container with hve-core-all plugin — JoshLuedeman/my-scripts0 reactions
- Jul 20, 2026security: hve-core freshness needs attention (6 drifted, 0 check errors) — microsoft/physical-ai-toolchain0 reactions · 10 comments
- May 4, 2026feat(agents): thin GHCP cloud-agent wrapper exposing hve-core RPI — microsoft/physical-ai-toolchain0 reactions
- Apr 14, 2026Spec driven development — devndive/links0 reactions
- Apr 11, 2026Chore releases — googleapis/release-please0 reactions
- Mar 29, 2026Test: performance issues with many custom agents registered — microsoft/vscode0 reactions · 2 comments
- Mar 25, 2026Support git symlinks in plugin install on Windows — github/copilot-cli0 reactions · 3 comments
- Mar 21, 2026chore(submodules): bump external/microsoft-hve-core from `e49a1b5` to `0fbd111` — Anselmoo/copilot-plugin-manager0 reactions · 3 comments
- Mar 9, 2026feat(ai-rules): added Copilot generation, external agent fetch, and AI workflows cookbook — rios0rios0/guide0 reactions
- Feb 28, 2026mar 2026 — kimtth/azure-openai-llm-notes0 reactions
- Feb 12, 2026docs(community): document GitHub Discussions usage and create welcome post — microsoft/edge-ai0 reactions
- Feb 12, 2026fix(docs): replace Azure DevOps references in CONTRIBUTING.md with GitHub equivalents — microsoft/edge-ai0 reactions
- Feb 6, 2026chore: migrate CODEOWNERS to team-based fallback pattern — microsoft/edge-ai0 reactions
On Hacker News · 2
- Mar 8, 2026Microsoft/Hve-Core3 points
- Feb 20, 2026A refined collection of Hypervelocity Engineering components1 point
On Bluesky · 1
- Mar 5, 2026📦 microsoft / hve-core ⭐ 169 (+6) 🗒 PowerShell A refined collection of Hypervelocity Engineering components (instructions, prompts,… — @github-trending.bsky.social1 likes and repost
In this repository81 other files it gives its agents.
- .github/skills/hve-core/vally-tests/references/agents.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- accessibilitySkill
- code-reviewSkill
- hve-artifact-authoringSkill
- python-foundationalSkill
- analysis-authoringSkill
- data-catalogSkill
- dataopsSkill
- data-science-engineering-foundationSkill
- evaluation-designSkill
- feasibilitySkill
- ml-experimentationSkill
- demo-setupSkill
- dt-coaching-foundationSkill
- dt-curriculumSkill
- dt-methodsSkill
- dt-rpi-integrationSkill
- ux-artifactsSkill
- ux-coachingSkill
- engagement-reportingSkill
- cavemanSkill
- copilot-otel-metricsSkill
- customer-card-renderSkill
- demo-videoSkill
- hve-demo-materialSkill
- muralSkill
- powerpointSkill
- tts-voiceoverSkill
- video-to-gifSkill
- vscode-playwrightSkill
- architecture-diagramsSkill
- c4-architectureSkill
- documentationSkill
- hve-builderSkill
- prompt-analyzeSkill
- prompt-builderSkill
- prompt-refactorSkill
- pull-requestSkill
- vally-testsSkill
- hve-slidesSkill
- hve-core-installerSkill
- adr-authorSkill
- architecture-reviewSkill
- backlog-executeSkill
- backlog-managementSkill
- backlog-planSkill
- experiment-designSkill
- functional-plannerSkill
- gitlabSkill
- jiraSkill
- outcome-hypothesisSkill
- performance-slo-plannerSkill
- privacy-standardsSkill
- proposal-responseSkill
- rai-plannerSkill
- requirements-authorSkill
- security-planningSkill
- rai-standardsSkill
- rpi-challengerSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
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
- Distinctive: line 26
After successful generation, include a file link to the absolute path of the XML output in the response.
- Very specific: line 40
Run the following command to generate a PR reference with default settings (compares against origin/main):
- Distinctive: line 69
After generating the PR reference, use these utility scripts to query the XML.
- Distinctive: line 73
Run the list script to extract file paths from the diff:
- Distinctive: line 100
Run the read script to inspect diff content with chunking for large diffs:
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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.
Files
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):
scripts/generate.sh
scripts/generate.sh --base-branch auto --merge-base --exclude-ext yml,jsonscripts/generate.ps1
scripts/generate.ps1 -BaseBranch auto -MergeBase -ExcludeExt yml,jsonOutput saves to .copilot-tracking/pr/pr-reference.xml by default.
Parameters Reference
| Parameter | Flag (bash) | Flag (PowerShell) | Default | Description |
| Base branch | --base-branch | -BaseBranch | origin/main (bash) / main (PowerShell) | Target branch for comparison. Use auto to detect remote default. |
| Merge base | --merge-base | -MergeBase | false | Use git merge-base for three-way comparison |
| Exclude markdown | --no-md-diff | -ExcludeMarkdownDiff | false | Exclude markdown files (*.md) from the diff |
| Exclude extensions | --exclude-ext | -ExcludeExt | (none) | Comma-separated extensions to exclude (e.g., yml,yaml,json,png) |
| Exclude paths | --exclude-path | -ExcludePath | (none) | Comma-separated path prefixes to exclude (for example, documentation and GitHub configuration directories) |
| Output path | --output | -OutputPath | .copilot-tracking/pr/pr-reference.xml | Custom output file path |
Both defaults resolve to the same remote comparison. The PowerShell script automatically resolves origin/<branch> when a bare branch name is provided.
Additional Scripts Reference
After generating the PR reference, use these utility scripts to query the XML.
List Changed Files
Run the list script to extract file paths from the diff:
scripts/list-changed-files.sh # all changed files
scripts/list-changed-files.sh --type added # filter by single type
scripts/list-changed-files.sh --type added,modified,renamed # filter by multiple types
scripts/list-changed-files.sh --exclude-type deleted # exclude specific types
scripts/list-changed-files.sh --format markdown # output as markdown tablescripts/list-changed-files.ps1 # all changed files
scripts/list-changed-files.ps1 -Type Added # filter by single type
scripts/list-changed-files.ps1 -Type Added,Modified,Renamed # filter by multiple types
scripts/list-changed-files.ps1 -ExcludeType Deleted # exclude specific types
scripts/list-changed-files.ps1 -Format Json # output as JSON| Parameter | Flag (bash) | Flag (PowerShell) | Default | Description |
| Input path | --input, -i | -InputPath | (auto) | Path to pr-reference.xml |
| Type filter | --type, -t | -Type | all | Change types to include (comma-separated: added, modified, etc.) |
| Exclude type | --exclude-type | -ExcludeType | (none) | Change types to exclude. Mutually exclusive with --type (non-all) |
| Format | --format, -f | -Format | plain | Output format: plain, json, or markdown |
Read Diff Content
Run the read script to inspect diff content with chunking for large diffs:
scripts/read-diff.sh --info # chunk info (count, line ranges)
scripts/read-diff.sh --chunk 1 # read a specific chunk
scripts/read-diff.sh --file src/main.ts # extract diff for one file
scripts/read-diff.sh --summary # file stats summaryscripts/read-diff.ps1 -Info # chunk info
scripts/read-diff.ps1 -Chunk 1 # read a specific chunk
scripts/read-diff.ps1 -File "src/main.ts" # extract diff for one fileOutput Format
The generated XML wraps commit metadata and unified diff output in a <commit_history> root element. See the reference guide for the complete XML schema, element reference, output path variations, and workflow integration patterns.
Troubleshooting
| Symptom | Cause | Resolution |
| "No commits found" or empty XML | No diverging commits from base branch | Verify the branch has commits ahead of the base with git log base..HEAD |
| "Branch not found" error | Base branch ref missing locally | Run git fetch origin to update remote tracking refs |
| "git: command not found" | git is not on PATH | Install git or verify PATH includes the git binary directory |
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
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.

