pr-finalize
Skill by dotnet
Finalizes a pull request for merge by checking that its title and description match the code. It also runs a code review for best practices. Built for developers preparing any PR for merge.
Install pr-finalize
Built from the published package, never by AI.
git clone --depth 1 https://github.com/dotnet/maui /tmp/maui && mkdir -p ~/.claude/skills && cp -r /tmp/maui/.github/skills/pr-finalize ~/.claude/skills/pr-finalizeRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/dotnet/maui /tmp/maui && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/maui/.github/skills/pr-finalize ~/.gemini/antigravity-cli/skills/pr-finalizeAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
PR Finalize is an agent skill from the dotnet publisher that prepares any pull request for merge. In its first phase, it checks that the PR title and description match the actual implementation, and it suggests changes when they do not. It keeps good existing descriptions and only adds missing elements, such as a NOTE block or issue links.
In its second phase, the skill reviews the code diff for best practices. It looks at code quality, error handling, performance, platform-specific concerns and breaking changes. The skill only analyzes and reports findings. It never approves, requests changes or posts comments, and it writes its output to pr-finalize-summary.md. It is aimed at developers finalizing PRs before merge.
Written from the project's SKILL.md and checked against it.
What it can do
- Title and description checkVerifies that the PR title and description match the implementation.
- Code reviewReviews the PR diff for best practices and potential issues before merge.
- Commit message reviewChecks commit headlines for squash or merge commit quality.
- Findings summaryWrites analysis results to pr-finalize-summary.md for a human to act on.
What you need
- GitHub CLI (gh)
Try asking
- Finalize PR 12345 before I merge it
- Check the description of PR 12345 against its code changes
- Review the commit messages on PR 12345
Good to know
- Analysis only. It never approves, requests changes or posts comments.
- Not part of the automated Review-PR.ps1 flow.
- Posting or using the summary happens only when a user explicitly asks.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .github/skills/pr-finalize/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md12 KB -
references/complete-example.md3 KB
Alternatives to pr-finalize
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
pr-finalize: common questions
Does PR Finalize post comments on my pull request?
No. The source says the skill is analysis only and never posts comments or approves. Humans decide when the summary is used.
Can it be used on PRs that were not reviewed by pr-review?
Yes. The source describes it as a standalone skill that can be used on any PR.
Which skills should I use for other tasks?
The source says to use learn-from-pr for lessons, write-tests-agent for writing tests, and azdo-build-investigator for build failures.
How do I install pr-finalize?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is pr-finalize free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is pr-finalize safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to pr-finalize?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
