Skip to main content
ClaudeWave
Skill1.4k estrellas del repoactualizado today

explain-pr

Explain a PR: the background problem and the proposed solution

Instalar en Claude Code
Copiar
git clone --depth 1 https://github.com/dyoshikawa/rulesync /tmp/explain-pr && cp -r /tmp/explain-pr/.rulesync/skills/explain-pr ~/.claude/skills/explain-pr
Después abre una sesión nueva de Claude Code; el skill carga automáticamente.

SKILL.md

target_pr = the user's request

If target_pr is not provided, use the PR of the current branch.

## Step 1: Gather PR Information

Run the following in parallel:

- Get the PR description and metadata: `gh pr view <pr_number>`
- Get the PR diff: `gh pr diff <pr_number>`

## Step 2: Analyze and Explain

Based on the PR content, explain the following two aspects:

1. **Background (Problem/Motivation):** What issue or limitation existed before this PR? Why was this change needed?
2. **Solution:** What approach does this PR take to address the problem? Summarize the key changes and design decisions.

Keep the explanation concise and focused. Use the language of the current conversation (follow the user's language).