Claude Skill MartBrowse skillsWhat is a Skill?
Back to list

GitHub Contributor

A phase-based playbook for shipping pull requests that maintainers of third-party open-source repos actually merge.

Dev & CodingIntermediate1,323212AI 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 list to 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

  1. "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.
  2. "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.
  3. "My branch conflicts with upstream main" — Fetch, rebase file-by-file, --force-with-lease push, while guarding against pulling unrelated upstream changes into your PR.

· · · Install guide · · ·

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Download 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.

  1. Prerequisites: Confirm git --version and gh --version. If GitHub CLI is missing, install it with brew install gh (macOS) or from cli.github.com.
  2. Authenticate: Run gh auth login. Most commands in this skill depend on an authenticated gh.
  3. Clone the repo: git clone https://github.com/daymade/claude-code-skills.git /tmp/claude-code-skills
  4. Copy the skill: mkdir -p ~/.claude/skills && cp -r /tmp/claude-code-skills/github-contributor ~/.claude/skills/
  5. Verify: ls ~/.claude/skills/github-contributor should show SKILL.md and a references/ directory.
  6. Use it: Restart Claude Code, then say "submit a PR to this repo" or "rebase against upstream main" and the skill triggers automatically.
  7. Project-scoped install (optional): In step 4, target your repo's .claude/skills directory instead of ~/.claude/skills.