Skill1.4k repo starsupdated 3d ago
explain-pr
Explain a PR: the background problem and the proposed solution
Install in Claude Code
Copygit clone --depth 1 https://github.com/dyoshikawa/rulesync /tmp/explain-pr && cp -r /tmp/explain-pr/.rulesync/skills/explain-pr ~/.claude/skills/explain-prThen start a new Claude Code session; the skill loads automatically.
Definition
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).
More from this repository
create-issueSkill
>-
create-scrap-issueSkill
>-
draft-releaseSkill
Draft a new release of the project.
git-worktree-runnerSkill
>-
playwright-cliSkill
Automate browser interactions, test web pages and work with Playwright tests.
release-dry-runSkill
Dry run for release: summarize changes since last release and suggest version bump.
rulesync-feature-researchSkill
>-
security-scan-diffSkill
Scan for malicious code in git diff between a tag/commit and HEAD