Agent skill

PR Template

by michelangelo-ai in michelangelo-ai/michelangelo

Create or update a GitHub PR using the repo's pullrequesttemplate.md format.

Apache-2.0Auto-check passedDevelopment

Install PR Template

skills CLI
$ npx skills add michelangelo-ai/michelangelo --skill pr-template -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install michelangelo-ai/michelangelo pr-template --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/michelangelo-ai/michelangelo.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/pr-template .claude/skills/pr-template && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
pr-template
GitHub stars
118
Token cost
~606 tokens
SKILL.md length
320 words
Files
1
Skills in repo
9
Repo updated
First seen
Licence
Apache-2.0

At a glance

Create or update a GitHub PR using the repo's pullrequesttemplate.md format.

  • Works in 5 steps: Run git diff main...HEAD (or git diff… → Infer the PR type(s) from the diff and… → Fill in all sections — keep each answer… → …
  • Creating a new PR
  • SKILL.md covers Template Format, Your Task, PR Title and Filling in the Template
  • Calls git and gh

What it does

PR Template is an agent skill from michelangelo-ai/michelangelo. Create or update a GitHub PR using the repo's pullrequesttemplate.md format. Use when creating a new PR or updating an existing PR body.

Its SKILL.md is about 610 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Pull requests. It works with GitHub and Git. The repository describes itself as: Michelangelo AI: Uber's end-to-end machine learning platform. The licence is Apache-2.0.

When your agent uses it

  • Creating a new PR
  • Updating an existing PR body

Example prompts

  • “/pr-template”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Run git diff main...HEAD (or git diff HEAD~1 if already on main) to understand the changes
  2. Infer the PR type(s) from the diff and check the applicable boxes
  3. Fill in all sections — keep each answer concise (1-3 sentences or bullet points)
  4. If creating a new PR
  5. If updating an existing PR

What it can do on your machine

Read from SKILL.md and the folder at commit f672cca. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git
    • gh

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git and gh, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

PR Template loads about 606 tokens when it runs. Until then it costs about 38 tokens; SKILL.md has 320 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~38
When it runs · the whole SKILL.md, loaded when a task matches
~606

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from michelangelo-ai/michelangelo at commit f672cca, republished under its Apache-2.0 licence (© michelangelo-ai). 320 words, ~606 tokens.

Download SKILL.mdSave it as .claude/skills/pr-template/SKILL.md (or your agent's skills folder).
name
pr-template
description
Create or update a GitHub PR using the repo's pull_request_template.md format. Use when creating a new PR or updating an existing PR body.
user-invocable
true

Create or update a GitHub PR following the repo's pull request template.

Template Format

Read the template from .github/pull_request_template.md and use it as the exact structure for the PR body.

Your Task

  1. Run git diff main...HEAD (or git diff HEAD~1 if already on main) to understand the changes
  2. Infer the PR type(s) from the diff and check the applicable boxes
  3. Fill in all sections — keep each answer concise (1-3 sentences or bullet points)
  4. If creating a new PR:
    • Check if already on a non-main branch; if on main, ask the user for a branch name
    • Push the branch if not yet pushed: git push -u origin <branch>
    • Create the PR: gh pr create --title "<title>" --body "<body>"
  5. If updating an existing PR:
    • Get the current PR number: gh pr view --json number -q '.number'
    • Update the body: gh pr edit <number> --body "<body>"

PR Title

  • Use conventional commit format: <type>(<scope>): <short description>
  • Types: feat, fix, docs, ci, refactor, chore, test, perf
  • Scopes (optional): python, helm, ci, npm, ui, go
  • Keep under 70 characters
  • Examples: docs(contributing): add PR template skill, ci(release): add PyPI publishing step

Filling in the Template

  • What changed? — What the code does differently now. Be concrete.
  • Why? — The motivation: bug, user need, cleanup, requirement.
  • How did you test it? — Commands run, manual steps, or "no functional changes".
  • Potential risks — Anything that could break in production. Default to "None" for docs/chore changes.
  • Breaking Changes — Check applicable boxes: API (Go/Python), Proto (enums/fields), Helm (values), Config/deployment (env vars/ports). Check "No breaking changes" if none apply. If any breaking change is checked, use BREAKING CHANGE: footer or ! suffix in the commit.
  • Migration guide — Required if any breaking change box is checked. Describe step-by-step upgrade instructions with before/after examples. Delete section if no breaking changes.
  • Release notes — Only notable if it's a schema change, migration, or config change. Otherwise "N/A".
  • Documentation Changes — Note any doc updates or "N/A".

© michelangelo-ai, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/pr-template of michelangelo-ai/michelangelo.

Open the folder on GitHubat commit f672cca

Compare with similar skills

PR Template next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

PR Template compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
PR Template this skillmichelangelo-ai/michelangelo118—~606Automated safety check: PassApache-2.0
Contributor-First PR MergeHKUDS/OpenHarness16k1 repos~847Automated safety check: PassMIT
Create Pull Requestcline/cline70k1 repos~1.6kAutomated safety check: PassApache-2.0
Pull Request Title and Body Writeropeninterpreter/openinterpreter69k2 repos~1.1kAutomated safety check: PassApache-2.0
PR Review State Fetchprisma/orm48k—~767Automated safety check: PassApache-2.0
Creating Description For Gh PRredis/jedis12k—~838Automated safety check: PassMIT

Similar skills

  • Merges external GitHub pull requests while keeping the original author credited, and fixes conflicts after the merge instead of rewriting the contribution.

    16k GitHub starsUsed in 1 repo~847 tokens
    DevelopmentAuto-check passed
  • Opens a GitHub pull request from your current branch with the gh CLI, after reviewing the commits and diff and gathering the details the PR needs.

    70k GitHub starsUsed in 1 repo~1.6k tokens
    DevelopmentAuto-check passed
  • Pull Request Title and Body Writer

    openinterpreter/openinterpreter

    Rewrites the title and body of one or more pull requests with gh, leading with why the change was made, then what changed, and describing only the net result.

    69k GitHub starsUsed in 2 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Official

    Fetches a pull request's canonical review state as JSON, validates it, and renders markdown, a text summary and triage target files from it using bundled scripts.

    48k GitHub stars~767 tokensUpdated today
    DevelopmentAuto-check passed
  • Official

    Generate a clear, concise GitHub PR title and description from the diff between two local git branches, and save it to prDescription.md in the repo root.

    12k GitHub stars~838 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Opens a pull request for the current branch using the repo's template, a work item ID in the title and a description filled in from the actual diff.

    61k GitHub stars~824 tokensUpdated yesterday
    DevelopmentAuto-check passed

More from michelangelo-ai/michelangelo

All 9 skills in this repo
  • Ma Sandbox Debug

    michelangelo-ai/michelangelo

    Tail logs, inspect pods, and diagnose unhealthy services in a running Michelangelo sandbox.

    118 GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Ma Sandbox Deploy

    michelangelo-ai/michelangelo

    Build a Go service binary, package it into a Docker image, import into k3d, and deploy via helm sync.

    118 GitHub stars~1.4k tokensUpdated today
    Auto-check passed
  • Ma Sandbox Setup

    michelangelo-ai/michelangelo

    Canonical setup sequence for the Michelangelo local sandbox.

    118 GitHub stars~936 tokensUpdated today
    Auto-check passed
  • Ma Sandbox Test Plan

    michelangelo-ai/michelangelo

    Build, test, and verify a sandbox change across Go, JS, and Python.

    118 GitHub stars~2k tokensUpdated today
    Auto-check passed
  • Update Docs

    michelangelo-ai/michelangelo

    Update Michelangelo documentation. An agent skill from michelangelo-ai/michelangelo.

    118 GitHub stars~1.6k tokensUpdated today
    Auto-check passed
  • Ma Design Interview

    michelangelo-ai/michelangelo

    Structured interview for designing and implementing changes to the Michelangelo platform.

    118 GitHub stars~2.2k tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about PR Template

What does PR Template do?

Create or update a GitHub PR using the repo's pullrequesttemplate.md format. PR Template is an agent skill from michelangelo-ai/michelangelo.md format.

When should I use PR Template?

PR Template fits situations like: creating a new PR; updating an existing PR body.

How do I install PR Template in Claude Code?

Run `npx skills add michelangelo-ai/michelangelo --skill pr-template -a claude-code`. Or copy the skill folder (.claude/skills/pr-template in michelangelo-ai/michelangelo) into .claude/skills/pr-template in your project. Claude Code loads it when a task matches its description.

How do I install PR Template in Codex?

Run `npx skills add michelangelo-ai/michelangelo --skill pr-template -a codex`. Or copy the skill folder (.claude/skills/pr-template in michelangelo-ai/michelangelo) into .agents/skills/pr-template in your project. Codex loads it when a task matches its description.

Can I use PR Template in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add michelangelo-ai/michelangelo --skill pr-template -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pr-template, .gemini/skills/pr-template, .github/skills/pr-template and .opencode/skills/pr-template in your project.

What does PR Template need to run?

Going by SKILL.md and its folder, PR Template needs the command-line tools its instructions call (git and gh).

Does PR Template access the network?

SKILL.md contains no URLs. Its commands use git and gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is PR Template safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does PR Template use?

PR Template is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does PR Template use?

About 606 tokens (SKILL.md is roughly 2.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to PR Template?

Skills that share tags, products or a category with PR Template: Contributor-First PR Merge (HKUDS/OpenHarness, 16k stars), Create Pull Request (cline/cline, 70k stars), Pull Request Title and Body Writer (openinterpreter/openinterpreter, 69k stars) and PR Review State Fetch (prisma/orm, 48k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains PR Template?

michelangelo-ai (a GitHub organization) maintains it in michelangelo-ai/michelangelo, which has 118 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on October 9, 2026.

Source: michelangelo-ai/michelangelo on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.