Given any Git repository — a GitHub URL, an org/repo slug, a local path on disk, or the repo you're already inside — get productive fast and land a mergeable commit. Clone/orient, get the build+test loop green, extract the contribution rules that gate a PR, map the 20% of the code you'll touch, locate the change site, and lay out the shortest path to a passing commit. Use when the user points at a repo (remote or local) and wants to "onboard", "get productive", "start contributing", "make my first commit", "ship a change", or "get set up to work in this codebase".
75
94%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Low
Low-risk findings worth noting
Turn a GitHub repository into the shortest path from "I have the repo" to "I have a commit that will pass review." The output is six sections, produced in order. Optimize for what do I type to land an accepted change, not for a complete tour of the codebase.
The input is a repo in any form: a GitHub URL, an org/repo slug, a local path on disk, or the current working directory when the user is already inside a checkout. Local repos are a first-class input — most onboarding happens on a checkout the user already has. If it's ambiguous which repo, ask (or infer from git remote -v) before starting.
Sibling skill: rapid-onboard does the same for a docs URL (learn an API). This one is for source code (contribute to it). If the user pastes docs, prefer that one.
Get a local checkout, then map the stack from signals, not guesses.
git clone or gh repo clone); cloning is safe and reversible, so do it without asking. If given a local path or already inside a checkout, work in place — do not re-clone. Either way, confirm the repo with git remote -v and git status, and note the default branch (git remote show origin, or the local HEAD if there's no remote — a local-only repo is fine).README, then detect language and tooling from manifests actually present: package.json, pyproject.toml / requirements.txt, go.mod, Cargo.toml, pom.xml / build.gradle, Gemfile, composer.json, *.csproj, etc. Identify the primary language, framework, and package manager from these files — not from the repo name.Report: repo, default branch, primary language/framework, package manager, and the one-line layout.
This is the crux. You cannot commit with confidence until you can reproduce the project's own definition of "working." A commit that fails local checks is a wasted round trip.
Find and actually run the loop — do not just read the commands off the README, execute them and report what really happened:
npm ci, pnpm i, pip install -e ., go mod download, cargo build, make setup, a devcontainer, etc.).ruff, eslint, prettier, gofmt, cargo clippy, mypy, tsc). These are usually what actually blocks a PR.Prefer discovering the canonical commands from Makefile, justfile, package.json scripts, CONTRIBUTING, or CI workflow files (.github/workflows/*.yml) over inventing them — CI is the source of truth for "what must pass." If a step fails for environment reasons, say so plainly and record the exact failure and the closest working fallback.
Report each command, whether it succeeded, and the baseline test/lint status.
Extract the things that get a PR bounced, so the first commit clears them. Pull from CONTRIBUTING.md, .github/PULL_REQUEST_TEMPLATE*, CODEOWNERS, CI workflows, and existing merged history:
git log --oneline -30 for the real pattern the maintainers use, not just what a doc claims.main/master, sometimes develop).Signed-off-by, needs git commit -s)? A CLA bot? These silently block merges.List each rule as one line: the rule, then how to satisfy it. Flag anything that fails silently.
Derive the 20% of the code a contributor must hold in their head, from centrality signals, not file size or impression:
main, CLI entry, server bootstrap, the framework's app root.Present the 5–8 highest-signal files/dirs with, for each: path, one line on its role, and why it's core (entry point / N inbound references / README-highlighted). Show the auditable signal, not just an assertion.
TODO, a thin missing test) and the conventions to copy. Do not invent scope.The deliverable is: "the change goes here, mirror this existing code, and its test goes there."
The shortest sequence from clean tree to a commit that will pass. Write the exact commands for this repo:
git checkout -b <convention>).-s sign-off if DCO applies).Produce the six sections under clear headers, in order:
Lead with a one-line note on what you did (cloned vs. in-place, and whether the build/tests actually ran green). Keep prose minimal everywhere.
Verify, don't assume. The value of this skill is that the build/test/lint commands actually ran and the contribution rules are real (confirmed against CI and git history), not pattern-matched from a generic README. Where a step couldn't be executed (no network, missing secret, long build), say so explicitly and mark that part as unverified rather than presenting it as done.
Stay reversible until told otherwise. Clone freely, build freely, commit locally freely. Do not push, open a PR, or otherwise write to the remote without explicit user confirmation.
End with the commit checklist — a dense, scannable list the user pins while working: base branch, branch-name pattern, format/lint/test commands, commit-message format, sign-off requirement, and the gating CI checks. Each line one glance.
84f0498
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.