mcpbeat Sign in

Bootstrap Repo Analysis Agent Skill

First-time analysis of a repository with no prior reviewer outcomes. Crawl historical merged-PR review feedback with the gh CLI (plus any preloaded samples), extract the team's review norms, and synthesize the initial per-repo review-style prompt. Use this for a cold-start repo; use continual-learning instead once the reviewer has accumulated finding outcomes.

736 tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
10433
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/langchain-ai/open-swe --skill bootstrap-repo-analysis

The instruction itself

4 sections, as written by the author

Bootstrap repo analysis

You are writing the first review-style prompt for the repository named in the

system prompt. There is no outcomes history yet, so your signal comes entirely from

the repo's own historical PR review feedback. Do not call read_finding_outcomes in

this mode — it will be empty.

Always invoke gh as: GH_TOKEN=dummy gh <command>.

1. Research (required)

Browse historical merged PR review feedback until you have catalogued at least

8 substantive human review comments (skip [bot] accounts and obvious automation

like codecov / dependabot). Useful commands:

GH_TOKEN=dummy gh pr list --repo <owner>/<repo> --state merged --limit 30
GH_TOKEN=dummy gh api repos/<owner>/<repo>/pulls/<PR_NUMBER>/reviews
GH_TOKEN=dummy gh api repos/<owner>/<repo>/pulls/<PR_NUMBER>/comments
GH_TOKEN=dummy gh api repos/<owner>/<repo>/issues/<PR_NUMBER>/comments

If the first batch is sparse, raise --limit or walk older PR numbers. The user

message may include preloaded samples — verify and extend them with gh, don't

just trust them.

Identify the top ~5 human reviewers by volume and note their phrasing, what severity

they assign, and what they routinely ignore.

2. Extract concrete, repo-specific patterns

The highest-value content is a bug taxonomy tied to this repo's stack — concrete

"hunt for X" rules a maintainer would catch on first read — plus a calibrated "do not

flag" list. Pair each pattern with the failure mode and, where you saw it, the kind of

diff that triggered it. Avoid generic advice that would apply to any repo.

Cover:

  • What the team routinely flags vs. skips (paraphrased patterns, not invented quotes)
  • Severity calibration tied to user-visible / runtime consequence
  • Tone and test expectations
  • Repo-specific conventions (frameworks, repository/data-access boundaries, naming)
  • Anti-patterns the reviewers here deliberately avoid

Stay aligned with the reviewer-agent themes in the system prompt (high-signal,

diff-anchored defects — not nits).

3. Save

Only after real research, call save_review_style_prompt once with:

  • custom_prompt: 400–1200 words teaching the reviewer this repo's norms.
  • analysis_summary: 2–4 sentences for the dashboard.
  • top_reviewers (comma-separated logins), prs_sampled, reviews_sampled.

Do not save a generic guide after one or two commands. Only after ~25+ merged PRs

with zero human feedback may you save a short, conservative guide — and say so in

analysis_summary.

Other skills for the same job

different authors, same section of the catalogue
Git Commit
by github
vendor ×3

Execute git commit with conventional commit message analysis, intelligent staging, and message generation. Use when user asks to commit changes, create a git commit, or mentions "/commit". Supports: (1) Auto-detecting type and scope from changes, (2) Generating conventional commit messages from diff, (3) Interactive commit with optional type/scope/description overrides, (4) Intelligent file staging for logical grouping

799 tokens
Github Code Review
by ComeOnOliver
×3

Comprehensive GitHub code review with AI-powered swarm coordination

13k tokens
Commit Work
by softaworks
×2

Create high-quality git commits: review/stage intended changes, split into logical commits, and write clear commit messages (including Conventional Commits). Use when the user asks to commit, craft a commit message, stage changes, or split work into multiple commits.

2k tokens
Verification & Quality Assurance
by Microck
×2

Comprehensive truth scoring, code quality verification, and automatic rollback system with 0.95 accuracy threshold for ensuring high-quality agent outputs and codebase reliability.

4k tokens
Gh CLI
by christophacham
×2

GitHub CLI (gh) comprehensive reference for repositories, issues, pull requests, Actions, projects, releases, gists, codespaces, organizations, extensions, and all GitHub operations from the command line.

10k tokens
Github
by Dicklesworthstone
×2

GitHub CLI - manage repositories, issues, pull requests, actions, releases, and more from the command line.

1k tokens
Codebase Cleanup Refactor Clean
by ComeOnOliver
×2

You are a code refactoring expert specializing in clean code principles, SOLID design patterns, and modern software engineering best practices. Analyze and refactor the provided code to improve its quality, maintainability, and performance.

9k tokens
Codebase Cleanup Tech Debt
by ComeOnOliver
×2

You are a technical debt expert specializing in identifying, quantifying, and prioritizing technical debt in software projects. Analyze the codebase to uncover debt, assess its impact, and create acti

6k tokens

How to use it

Copy the folder

Take langchain-ai/bootstrap-repo-analysis from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.