pr-preparer
Skill by flutter-ml
Prepares pull request text by comparing the current git branch with its base branch. It writes a conventional commit title, a PR title and a markdown PR description ready to paste into GitHub. It is for developers who want to prepare PRs faster.
Install pr-preparer
Built from the published package, never by AI.
git clone --depth 1 https://github.com/flutter-ml/google_ml_kit_flutter /tmp/google_ml_kit_flutter && mkdir -p ~/.claude/skills && cp -r /tmp/google_ml_kit_flutter/.agents/skills/pr_preparer ~/.claude/skills/pr-preparerRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/flutter-ml/google_ml_kit_flutter /tmp/google_ml_kit_flutter && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/google_ml_kit_flutter/.agents/skills/pr_preparer ~/.gemini/antigravity-cli/skills/pr-preparerAntigravity 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
The pr-preparer skill guides an AI assistant through comparing the current branch against its base or default branch, such as develop, main or master. It reads the diff, sorts each file as added, modified or deleted, and groups the changes by theme such as logic, configuration, CI/CD, migrations and documentation.
From that analysis, the assistant outputs a conventional commit title, a pull request title and a formatted markdown PR description with overview, key changes, verification and risk notes. The output is wrapped in fenced code blocks for easy copying into GitHub. The skill is intended for developers who need to prepare a pull request, generate a commit message or summarize branch changes.
Written from the project's SKILL.md and checked against it.
What it can do
- Branch diff analysisCompares the current branch against the base or default branch and reads the full diff.
- File categorizationSorts changed files as new, modified or deleted and groups them by component.
- Conventional commit titleGenerates a conventional commit title in lower case with a maximum of 72 characters.
- Pull request titleGenerates a capitalized, concise pull request title.
- PR descriptionWrites a markdown PR description with overview, key changes, testing and risk notes.
- Uncommitted change handlingAnalyzes uncommitted edits against HEAD when the branch has no committed changes.
What you need
- Git repository
- GitHub CLI (gh) to read the PR base branch
Try asking
- Prepare a PR for my current branch against develop.
- Generate a conventional commit message for my uncommitted changes.
- Summarize the changes on this branch and write a PR description.
Good to know
- If no changes exist on the branch or in the working tree, it stops without generating a PR description.
- The example test and lint commands in the template come from one specific Django project.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/pr_preparer/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md5 KB
Alternatives to pr-preparer
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-preparer: common questions
How does pr-preparer find the base branch?
It uses the base branch reported by the GitHub CLI for the pull request. If that is unavailable, it falls back to the origin HEAD branch, and then to develop.
Can it summarize changes I have not committed yet?
Yes. When the branch matches the base or has no committed diff, it analyzes uncommitted changes against HEAD.
What format does the PR description use?
The description uses markdown sections for overview, key changes, verification and testing, and notes on risk, breaking changes and migrations.
How do I install pr-preparer?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is pr-preparer free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is pr-preparer safe to use?
It scores 81 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-preparer?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
