Agent skill

Auto PR

by QwenLM in QwenLM/qwen-code-examples

Automated PR submission assistant, including code review, documentation generation, and PR creation

No licenceAuto-check passedDevelopment

Install Auto PR

skills CLI
$ npx skills add QwenLM/qwen-code-examples --skill auto-pr -a claude-code

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

GitHub CLI
$ gh skill install QwenLM/qwen-code-examples auto-pr --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/QwenLM/qwen-code-examples.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/auto-pr .claude/skills/auto-pr && 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
auto-pr
GitHub stars
143
Token cost
~790 tokens
SKILL.md length
292 words
Files
7 (incl. scripts)
Skills in repo
9
Repo updated
First seen
Licence
None found

At a glance

Automated PR submission assistant, including code review, documentation generation, and PR creation

  • Works in 6 steps: Update Base Branch - Sync remote… → Code Review Analysis - Compare… → PR Template Discovery - Automatically… → …
  • Tasks that involve Code review
  • SKILL.md covers Overview, Core Functions, Usage and Workflow, plus 3 more sections
  • Runs JavaScript scripts from its folder; calls brew, node and gh

What it does

Auto PR is an agent skill from QwenLM/qwen-code-examples. Automated PR submission assistant, including code review, documentation generation, and PR creation

Its SKILL.md is about 790 tokens, which your agent loads only when the skill is triggered. The skill folder holds 8 other files, including scripts (for example `scripts/check-prerequisites.js`, `scripts/create-pr.js` and `workflows/01-branch-preparation.md`).

It sits in Development, covering Code review. It works with GitHub, Git and Homebrew. The repository describes itself as: A collection of practical examples and best practices for Qwen Code.

When your agent uses it

  • Tasks that involve Code review

Example prompts

  • “/auto-pr”

Requirements

  • Node.js

Workflow steps

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

  1. Update Base Branch - Sync remote main/master branch
  2. Code Review Analysis - Compare differences between current and base branch
  3. PR Template Discovery - Automatically scan for PR templates in the project
  4. English Documentation Generation - Generate English PR description, waiting for user confirmation
  5. Automatic PR Submission - Create PR using English description after user approval
  6. Cleanup Process - Offer to remove temporary PR description files after submission

What it can do on your machine

Read from SKILL.md and the folder at commit 0ece9fe. 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

    Ships 2 files in scripts/ (JavaScript), which the agent can run.

    Shell commands in SKILL.md call:

    • brew
    • node
    • gh

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

  • Network

    No URLs in SKILL.md. Its commands use 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

Auto PR loads about 790 tokens when it runs. Until then it costs about 27 tokens; SKILL.md has 292 words of instructions outside code blocks.

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

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); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 292 words (~790 tokens).

“This skill helps you automate the complete Pull Request process, including code review, documentation generation, and PR creation.”

— opening of SKILL.md by QwenLM
name
auto-pr

Read the full SKILL.md on GitHub

Files

SKILL.md and 6 other files (scripts) in skills/auto-pr of QwenLM/qwen-code-examples.

  • SKILL.md
  • scripts/check-prerequisites.js
  • scripts/create-pr.js
  • workflows/01-branch-preparation.md
  • workflows/02-code-review.md
  • workflows/03-doc-generation.md
  • workflows/04-pr-submission.md

Open the folder on GitHubat commit 0ece9fe

Compare with similar skills

Auto PR 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.

Auto PR compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Auto PR this skillQwenLM/qwen-code-examples143—~790Automated safety check: PassNone
PR Review State Fetchprisma/orm48k—~767Automated safety check: PassApache-2.0
Greploop Appsmichaelshimeles/skills1.3k1 repos~3.6kAutomated safety check: PassMIT
Requesting Code ReviewHezaoHezao/poirot2495 repos~1.6kAutomated safety check: PassMIT
PR Triagertk-ai/rtk83k—~2.5kAutomated safety check: NotesApache-2.0
Difit Reviewyoshiko-pg/difit3.2k—~1.2kAutomated safety check: PassMIT

Similar skills

  • 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
  • Greploop Apps

    michaelshimeles/skills

    Loops on a large pull request, merge request or Perforce changelist, fixing Greptile findings until it scores 5/5 with no unresolved comments.

    1.3k GitHub starsUsed in 1 repo~3.6k tokens
    DevelopmentAuto-check passed
  • Requesting Code Review

    HezaoHezao/poirot

    Pre-commit review: security scan, quality gates, auto-fix. An agent skill from HezaoHezao/poirot.

    249 GitHub starsUsed in 5 repos~1.6k tokens
    DevelopmentAuto-check passed
  • PR Triage

    rtk-ai/rtk

    Audits a repository's open pull requests, deep-reviews chosen ones and drafts review comments that are only posted after you approve them.

    83k GitHub stars~2.5k tokensUpdated today
    DevelopmentAuto-check: notes
  • Difit Review

    yoshiko-pg/difit

    Review a specific diff (branch, commit, or GitHub PR) and show the findings as comments inside difit, the local diff viewer.

    3.2k GitHub stars~1.2k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Liveagent Code Review

    Stack-Cairn/LiveAgent

    Review an open GitHub pull request or the current local branch and working tree with parallel, independent reviewers and evidence-based validation.

    2.2k GitHub stars~2k tokensUpdated today
    DevelopmentAuto-check passed

More from QwenLM/qwen-code-examples

All 9 skills in this repo
  • Dashboard Builder

    QwenLM/qwen-code-examples

    Build full-stack dashboard applications using React/Next.js + shadcn/ui + Tailwind CSS + Recharts + Express with customizable data sources.

    143 GitHub stars~3.3k tokensUpdated 4 mo ago
    Auto-check passed
  • Codegraph QA

    QwenLM/qwen-code-examples

    Use CodeScope to analyze any indexed codebase via its graph database (neug) and vector index (zvec).

    143 GitHub stars~4.3k tokensUpdated 4 mo ago
    Auto-check passed
  • Image Generation

    QwenLM/qwen-code-examples

    Image generation skill based on Alibaba Cloud DashScope, supporting the creation of high-quality hand-drawn or standard images from user descriptions.

    143 GitHub stars~568 tokensUpdated 4 mo ago
    Auto-check passed
  • Oss Styles

    QwenLM/qwen-code-examples

    为开源项目生成专业宣传视频,传入 {owner}/{repo} 参数 Triggers on "生成开源视频", "宣传视频", "oss video", "remotion video".

    143 GitHub stars~405 tokensUpdated 4 mo ago
    Auto-check passed
  • Browser Use

    QwenLM/qwen-code-examples

    Control browser pages using the Playwright MCP server. An agent skill from QwenLM/qwen-code-examples.

    143 GitHub stars~451 tokensUpdated 4 mo ago
    Auto-check passed
  • Computer Use

    QwenLM/qwen-code-examples

    Control the local desktop using the computer MCP tool from computer-use-mcp.

    143 GitHub stars~632 tokensUpdated 4 mo ago
    Auto-check passed

Categories

Questions about Auto PR

What does Auto PR do?

Automated PR submission assistant, including code review, documentation generation, and PR creation. Auto PR is an agent skill from QwenLM/qwen-code-examples.

When should I use Auto PR?

Auto PR fits situations like: tasks that involve Code review.

How do I install Auto PR in Claude Code?

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

How do I install Auto PR in Codex?

Run `npx skills add QwenLM/qwen-code-examples --skill auto-pr -a codex`. Or copy the skill folder (skills/auto-pr in QwenLM/qwen-code-examples) into .agents/skills/auto-pr in your project. Codex loads it when a task matches its description.

Can I use Auto PR 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 QwenLM/qwen-code-examples --skill auto-pr -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/auto-pr, .gemini/skills/auto-pr, .github/skills/auto-pr and .opencode/skills/auto-pr in your project.

What does Auto PR need to run?

Going by SKILL.md and its folder, Auto PR needs JavaScript for the scripts in its folder and the command-line tools its instructions call (brew, node and gh). Our summary lists: Node.js.

Does Auto PR access the network?

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

Is Auto PR 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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Auto PR use?

No licence was found for Auto PR or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Auto PR use?

About 790 tokens (SKILL.md is roughly 3.2k 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 Auto PR?

Skills that share tags, products or a category with Auto PR: PR Review State Fetch (prisma/orm, 48k stars), Greploop Apps (michaelshimeles/skills, 1.3k stars), Requesting Code Review (HezaoHezao/poirot, 249 stars) and PR Triage (rtk-ai/rtk, 83k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Auto PR?

QwenLM (a GitHub organization) maintains it in QwenLM/qwen-code-examples, which has 143 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on May 19, 2026.

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