GitHub Contributor
A phase-based playbook for shipping pull requests that maintainers of third-party open-source repos actually merge.
Dev & CodingIntermediate★ 1,323⑂ 212AI score 9/10Last updated: Aug 8, 2026
What it does
It walks Claude through the full PR lifecycle in five phases, each with concrete git and gh commands.
- Phase 1 — Discovery: Treats CONTRIBUTING.md as a hard merge contract (AI-contribution clauses, issue-first rules, per-language test commands). Uses
gh pr listto measure the project's recent merged-PR size distribution and flags PRs that are 5–10× too large. - Phase 2 — Implementation: Branch off upstream
main, write a one-paragraph scope contract, keep the diff minimal, and use Conventional Commits plus a--fixup/autosquash workflow. - Phase 3 — Quality gates: Run the project's exact lint/test commands; for Tauri/Electron/desktop apps, isolate the data directory and run real end-to-end verification against persisted state. A self-audit step forces every "I tested…" claim to have evidence.
- Phase 4 — PR description: A full body skeleton (Summary, What, Why, Test Plan, Backward Compatibility, Security, Screenshots, Related Issue, Checklist), a test-coverage matrix table, screenshot strategies that don't pollute the repo, and an AI-assisted disclosure template.
- Phase 5 — Post-submission: Reply to bot review findings inline via
gh api ... in_reply_to, rebase safely with--force-with-lease, and filter counter-review noise by probability / cost / scenario.
It also ships ten named anti-patterns and two real case studies in references/.
Who it's for
- First-time open-source contributors who keep getting PRs closed without explanation
- Developers using AI coding tools who need to avoid the "AI dump" reputation hit
- Engineers comfortable with internal PRs but new to external maintainer etiquette
- Anyone who googles rebase-conflict or bot-reply commands every single time
Examples
- "Open a PR against owner/repo for this fix" — Claude reads CONTRIBUTING.md, benchmarks your diff against recent merges, runs the project's test commands, and drafts an evidence-backed PR body.
- "Respond to the CodeRabbit review" — Each finding is filtered, then answered inline on the exact line with the commit SHA and the test that resolves it.
- "My branch conflicts with upstream main" — Fetch, rebase file-by-file,
--force-with-leasepush, while guarding against pulling unrelated upstream changes into your PR.
· · · Install guide · · ·
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the github-contributor folder from the GitHub repo daymade/claude-code-skills into my ~/.claude/skills/github-contributor/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/daymade/claude-code-skills.git /tmp/claude-code-skills && mkdir -p ~/.claude/skills && cp -r /tmp/claude-code-skills/github-contributor ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Prerequisites: Confirm
git --versionandgh --version. If GitHub CLI is missing, install it withbrew install gh(macOS) or from cli.github.com. - Authenticate: Run
gh auth login. Most commands in this skill depend on an authenticatedgh. - Clone the repo:
git clone https://github.com/daymade/claude-code-skills.git /tmp/claude-code-skills - Copy the skill:
mkdir -p ~/.claude/skills && cp -r /tmp/claude-code-skills/github-contributor ~/.claude/skills/ - Verify:
ls ~/.claude/skills/github-contributorshould showSKILL.mdand areferences/directory. - Use it: Restart Claude Code, then say "submit a PR to this repo" or "rebase against upstream main" and the skill triggers automatically.
- Project-scoped install (optional): In step 4, target your repo's
.claude/skillsdirectory instead of~/.claude/skills.
View source on GitHub ↗License: MIT