Generates English pull request titles and bodies by comparing the current branch with main.

No licenceAuto-check passedDevelopment

Install PR Diff Writer

skills CLI
$ npx skills add agentscope-ai/agentscope-spark-design --skill pr-diff-writer -a claude-code

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

GitHub CLI
$ gh skill install agentscope-ai/agentscope-spark-design pr-diff-writer --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/agentscope-ai/agentscope-spark-design.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/pr-diff-writer .claude/skills/pr-diff-writer && 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-diff-writer
GitHub stars
454
Token cost
~848 tokens
SKILL.md length
292 words
Files
1
Skills in repo
1
Repo updated
First seen
Licence
None found

At a glance

Generates English pull request titles and bodies by comparing the current branch with main.

  • Works in 6 steps: Identify branch and base → Gather change context → Determine PR intent → …
  • The user asks to draft PR content
  • SKILL.md covers Purpose, When To Use, Workflow and Output Requirements, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

PR Diff Writer is an agent skill from agentscope-ai/agentscope-spark-design. Generates English pull request titles and bodies by comparing the current branch with main. Use when the user asks to draft PR content, summarize branch changes, or produce a PR title/body from git diff.

Its SKILL.md is about 850 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 Git. The repository describes itself as: AgentScope Spark Design - UI Component Library for Alibaba Cloud Apsara Lab.

When your agent uses it

  • The user asks to draft PR content
  • Summarize branch changes
  • Produce a PR title/body from git diff

Example prompts

  • “Use the pr-diff-writer skill to generate English pull request titles and bodies by comparing the current branch with main”
  • “/pr-diff-writer”

Workflow steps

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

  1. Identify branch and base
  2. Gather change context
  3. Determine PR intent
  4. Draft title
  5. Draft PR body
  6. Add concise, evidence-based summary

What it can do on your machine

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

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).

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

  • Network

    No URLs in SKILL.md.

    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 Diff Writer loads about 848 tokens when it runs. Until then it costs about 55 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
~55
When it runs · the whole SKILL.md, loaded when a task matches
~848

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

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

“Create an English PR title and PR body by analyzing the current branch against main.”

— opening of SKILL.md by agentscope-ai
name
pr-diff-writer

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .agents/skills/pr-diff-writer of agentscope-ai/agentscope-spark-design.

Open the folder on GitHubat commit 64d95f2

Compare with similar skills

PR Diff Writer 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 Diff Writer compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
PR Diff Writer this skillagentscope-ai/agentscope-spark-design454—~848Automated safety check: PassNone
Finishing a Development Branchobra/superpowers296k5 repos~1.9kAutomated safety check: PassMIT
Understand Diff AnalysisEgonex-AI/Understand-Anything86k1 repos~1.4kAutomated safety check: PassMIT
Contributor-First PR MergeHKUDS/OpenHarness16k1 repos~847Automated safety check: PassMIT
Open Code Review CLIalibaba/open-code-review44k—~3.1kAutomated safety check: PassApache-2.0
Create Pull Requestcline/cline70k1 repos~1.6kAutomated safety check: PassApache-2.0

Similar skills

  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    296k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • Understand Diff Analysis

    Egonex-AI/Understand-Anything

    Reads your git changes or a pull request against a prebuilt knowledge graph of the project to explain what changed, which components are affected and what is risky.

    86k GitHub starsUsed in 1 repo~1.4k tokens
    DevelopmentAuto-check passed
  • 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
  • Open Code Review CLI

    alibaba/open-code-review

    Runs the ocr command-line tool to review Git changes, a commit or a branch comparison with an AI model, returning line-level comments and optionally applying fixes.

    44k GitHub stars~3.1k tokensUpdated 2 days ago
    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

Works with

Categories

Questions about PR Diff Writer

What does PR Diff Writer do?

Generates English pull request titles and bodies by comparing the current branch with main. PR Diff Writer is an agent skill from agentscope-ai/agentscope-spark-design. Generates English pull request titles and bodies by comparing the current branch with main.

When should I use PR Diff Writer?

PR Diff Writer fits situations like: the user asks to draft PR content; summarize branch changes; produce a PR title/body from git diff.

How do I install PR Diff Writer in Claude Code?

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

How do I install PR Diff Writer in Codex?

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

Can I use PR Diff Writer 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 agentscope-ai/agentscope-spark-design --skill pr-diff-writer -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-diff-writer, .gemini/skills/pr-diff-writer, .github/skills/pr-diff-writer and .opencode/skills/pr-diff-writer in your project.

What does PR Diff Writer need to run?

SKILL.md names no scripts, command-line tools or credentials: PR Diff Writer is instructions for the agent only.

Does PR Diff Writer access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is PR Diff Writer 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 Diff Writer use?

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

How many tokens does PR Diff Writer use?

About 848 tokens (SKILL.md is roughly 3.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 Diff Writer?

Skills that share tags, products or a category with PR Diff Writer: Finishing a Development Branch (obra/superpowers, 296k stars), Understand Diff Analysis (Egonex-AI/Understand-Anything, 86k stars), Contributor-First PR Merge (HKUDS/OpenHarness, 16k stars) and Open Code Review CLI (alibaba/open-code-review, 44k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains PR Diff Writer?

agentscope-ai (a GitHub organization) maintains it in agentscope-ai/agentscope-spark-design, which has 454 GitHub stars. The repository was last updated on September 17, 2026.

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