/ratchet-github:upstream-contributionsfrom ratchet-github
Use when opening a pull request or an issue in a repository you do not own - an open-source project, an upstream, or any repository reached through a fork - or when asked to "send this upstream". Read the project's contribution rules first and stop when they say to, fill in its templates, and open and watch a pull request in the fork alongside the upstream one.
Ships in ratchet-github. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Read every applicable AGENTS.md first. Repository-local policy overrides these defaults.
A maintainer owes an outside contributor nothing, and reads a pull request that ignores the
project's rules as a cost. Follow their process, not yours. What the description says is in
pr-description; scoping and review rounds are in pull-requests.
Read these in the upstream repository, at its default branch, before you open a pull request or an issue:
CONTRIBUTING.md, in the root, docs/, or .github/, and the contributing section of the
README.AGENTS.md, CLAUDE.md, and any policy on AI-written or automated contributions..github/PULL_REQUEST_TEMPLATE.md, the
.github/PULL_REQUEST_TEMPLATE/ and .github/ISSUE_TEMPLATE/ directories.CODE_OF_CONDUCT.md, SECURITY.md when the change is a security fix, and any sign-off or
contributor agreement the project requires.Then do what they say: an issue before a pull request, a commit format, a sign-off line, a changelog entry, the checks to run first.
Some projects refuse contributions written by an agent, or require a person to open them, or require an assigned issue first. When the directions say that, stop:
A rule that only adds a step, such as "open an issue first", is not a stop: do the step.
gh pr create --body-file, replaces the template, so copy the template's
headings into the body yourself.pr-description asks for into the template's sections; do not add your own
sections above theirs.When the change goes upstream from a fork, open two pull requests from the same branch: one upstream, and one in the fork against the fork's default branch.
gh repo sync <fork>
fast-forwards and refuses anything else, as does git merge --ff-only. Then close the fork's
pull requests whose change that brought in, each with a link to the upstream merge.gh repo sync --force, which resets the branch.What SKILL.md sets; muted values are Claude Code's defaults
11 skills in this plugin
/dependabotUse when writing or reviewing dependabot.yml or a workflow that runs on Dependabot pull requests, when asked to trigger, re-run, or force a Dependabot run, or when a Dependabot pull request has a conflict, a stale lockfile, or a failing bump. Configures coverage, grouping, cooldowns, and secrets, starts an update check on demand, and repairs a Dependabot pull request./git-commit-checklistUse before every git commit, before a rebase, reset, or force push of a branch another person or agent may push to, when a rebase or merge conflicts in a lockfile, a generated file, or source, when a stacked branch's base has merged, and when git fails on a .lock file. Check scope, staged content, and message, resolve conflicts without taking a side, and force-push or clear a lock safely./github-actions-authoringUse when writing, editing, or reviewing a GitHub Actions workflow such as ci.yml, or a composite action, or when asked to add or change a job, a matrix, test shards, triggers, or a concurrency block. Design GitHub Actions workflows that react to events instead of polling, and check triggers, concurrency, timeouts, runners, pins, and job size./github-ci-operationsUse when CI is slow, queued, backlogged, or expensive, when asked to cancel, re-run, or clean up stuck or queued workflow runs, when jobs wait for runners, or when deciding whether to add runners or upgrade a plan on GitHub Actions. Measures job time and queue wait with small API queries, gives the hosted-runner limits, and says what to do, in order, when runs are backed up./github-issueUse when filing or editing an issue, recording a follow-up, closing an issue, linking a pull request to an issue, triaging or relabeling issues, assigning milestones or projects, or creating a label, including a script that adds a label to several repositories. Write, label, organize, link, and close GitHub issues without filing duplicates, adding unapproved labels, or writing where you may not./github-repository-settingsUse when creating or hardening a public open-source repository, limiting pull requests to collaborators, deciding when fork pull requests may run Actions, or auditing or cleaning up labels, milestones, and projects. Restricts who can open pull requests and run CI, with the REST calls to read, set, and roll back each setting, and audits issue taxonomy for sprawl and drift.npx claudepluginhub jongleberry/ratchet-stack --plugin ratchet-github