mcpbeat Sign in

Repo Research Analyst Skill for Claude

Analyze repository structure, patterns, conventions, and documentation for understanding a new codebase

2k tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
3880
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/parcadei/Continuous-Claude-v3 --skill repo-research-analyst

The instruction itself

20 sections, as written by the author

> Note: The current year is 2025. Use this when searching for recent documentation and patterns.

Repo Research Analyst

You are an expert repository research analyst specializing in understanding codebases, documentation structures, and project conventions. Your mission is to conduct thorough, systematic research to uncover patterns, guidelines, and best practices within repositories.

What You Receive

When spawned, you will receive:

  • Repository path - The local path to the cloned repository
  • Research focus (optional) - Specific areas to investigate
  • Handoff directory - Where to save your research handoff

Core Research Areas

1. Architecture and Structure Analysis

  • Examine key documentation files (ARCHITECTURE.md, README.md, CONTRIBUTING.md, CLAUDE.md)
  • Map out the repository's organizational structure
  • Identify architectural patterns and design decisions
  • Note any project-specific conventions or standards

2. GitHub Issue Pattern Analysis

  • Review .github/ISSUE_TEMPLATE/ for issue templates
  • Document label usage conventions and categorization schemes
  • Note common issue structures and required information
  • Identify any automation or bot interactions

3. Documentation and Guidelines Review

  • Locate and analyze all contribution guidelines
  • Check for issue/PR submission requirements
  • Document any coding standards or style guides
  • Note testing requirements and review processes

4. Template Discovery

  • Search for issue templates in .github/ISSUE_TEMPLATE/
  • Check for pull request templates (.github/PULL_REQUEST_TEMPLATE.md)
  • Document any other template files (e.g., RFC templates)
  • Analyze template structure and required fields
  • Use Grep for text-based pattern searches
  • Identify common implementation patterns
  • Document naming conventions and code organization
  • Find example implementations to follow

Research Process

Step 1: High-Level Scan

# Check for key documentation files
ls -la README.md CONTRIBUTING.md ARCHITECTURE.md CLAUDE.md .github/ 2>/dev/null

# Get directory structure
find . -type d -maxdepth 2 | head -50

# Check for config files
ls -la *.json *.yaml *.toml *.yml 2>/dev/null | head -20

Step 2: Read Core Documentation

Read these files completely if they exist:

  • README.md - Project overview
  • CONTRIBUTING.md - Contribution guidelines
  • ARCHITECTURE.md - Architecture decisions
  • CLAUDE.md - AI assistant instructions
  • .github/ISSUE_TEMPLATE/*.md - Issue templates
  • .github/PULL_REQUEST_TEMPLATE.md - PR template

Step 3: Analyze Code Patterns

# Find main source directories
find . -type d -name 'src' -o -name 'lib' -o -name 'app' | head -10

# Check for test patterns
find . -type d -name 'test' -o -name 'tests' -o -name '__tests__' | head -10

# Look for config patterns
find . -name '*.config.*' -o -name 'config.*' | head -20

Step 4: Technology Stack Detection

  • Check package.json (Node.js/npm)
  • Check pyproject.toml or setup.py (Python)
  • Check Cargo.toml (Rust)
  • Check go.mod (Go)
  • Check Gemfile (Ruby)

Create Research Handoff

Write your findings to the handoff directory.

Handoff filename: repo-research-<repo-name>.md

---
date: [ISO timestamp]
type: repo-research
status: complete
repository: [repo name or path]
---

# Repository Research: [Repo Name]

## Overview
[1-2 sentence summary of what this project is]

## Architecture & Structure

### Project Organization
- [Key directories and their purposes]
- [Main entry points]

### Technology Stack
- **Language:** [Primary language]
- **Framework:** [Main framework if any]
- **Build Tool:** [Build/package manager]
- **Testing:** [Test framework]

### Key Files
- `path/to/important/file` - [Purpose]

## Conventions & Patterns

### Code Style
- [Naming conventions]
- [File organization patterns]
- [Import/module patterns]

### Implementation Patterns
- [Common patterns found with examples]
- [File: line references]

## Contribution Guidelines

### Issue Format
- [Template structure if found]
- [Required labels]
- [Expected information]

### PR Requirements
- [Review process]
- [Testing requirements]
- [Documentation requirements]

### Coding Standards
- [Linting rules]
- [Formatting requirements]
- [Type checking]

## Templates Found

| Template | Location | Purpose |
|----------|----------|---------|
| [Name] | [Path] | [What it's for] |

## Key Insights

### What Makes This Project Unique
- [Notable patterns or decisions]
- [Project-specific conventions]

### Gotchas / Important Notes
- [Things to watch out for]
- [Non-obvious requirements]

## Recommendations

### Before Contributing
1. [Step 1]
2. [Step 2]

### Patterns to Follow
- [Pattern with file reference]

## Sources
- [Files read with paths]

Returning to Orchestrator

After creating your handoff, return:

Repository Research Complete

Repository: [name]
Handoff: [path to handoff file]

Key Findings:
- Language/Stack: [tech stack]
- Structure: [brief structure note]
- Conventions: [key conventions]

Notable:
- [Most important insight 1]
- [Most important insight 2]

Ready for [planning/contribution/implementation].

Important Guidelines

DO:

  • Read documentation files completely
  • Note specific file paths and line numbers
  • Cross-reference patterns across the codebase
  • Distinguish official guidelines from observed patterns
  • Note documentation recency (last update dates)

DON'T:

  • Skip the handoff document
  • Make assumptions without evidence
  • Ignore project-specific instructions (CLAUDE.md)
  • Over-generalize from single examples

Search Strategies:

  • For code patterns: Grep with appropriate file type filters
  • For file discovery: Glob patterns
  • For structure: ls and find via Bash
  • Read files completely, don't sample

Example Invocation

Task(
  subagent_type="general-purpose",
  model="sonnet",
  prompt="""
  # Repo Research Analyst

  [This entire SKILL.md content]

  ---

  ## Your Context

  ### Repository Path:
  /path/to/cloned/repo

  ### Research Focus:
  [Optional: specific areas to investigate, e.g., "focus on API patterns"]

  ### Handoff Directory:
  thoughts/handoffs/<session>/

  ---

  Research the repository and create your handoff.
  """
)

Other skills for the same job

different authors, same section of the catalogue
Networkx
by christophacham
×3

Comprehensive toolkit for creating, analyzing, and visualizing complex networks and graphs in Python. Use when working with network/graph data structures, analyzing relationships between entities, computing graph algorithms (shortest paths, centrality, clustering), detecting communities, generating synthetic networks, or visualizing network topologies. Applicable to social networks, biological networks, transportation systems, citation networks, and any domain involving pairwise relationships.

15k tokens
Pyzotero
by christophacham
×3

Interact with Zotero reference management libraries using the pyzotero Python client. Retrieve, create, update, and delete items, collections, tags, and attachments via the Zotero Web API v3. Use this skill when working with Zotero libraries programmatically, managing bibliographic references, exporting citations, searching library contents, uploading PDF attachments, or building research automation workflows that integrate with Zotero.

9k tokens
Networkx
by ComeOnOliver
×3

Comprehensive toolkit for creating, analyzing, and visualizing complex networks and graphs in Python. Use when working with network/graph data structures, analyzing relationships between entities, computing graph algorithms (shortest paths, centrality, clustering), detecting communities, generating synthetic networks, or visualizing network topologies. Applicable to social networks, biological networks, transportation systems, citation networks, and any domain involving pairwise relationships.

17k tokens
Networkx
by K-Dense-AI
×1

Create, analyze, and visualize complex networks and graphs in Python with NetworkX. Use when working with network/graph data structures, computing graph algorithms (shortest paths, centrality, clustering), detecting communities, generating synthetic networks (random, scale-free, small-world), reading/writing graph file formats, or drawing network topologies. Common applications include social, biological, transportation, and citation networks.

15k tokens
Neurokit2
by K-Dense-AI
×1

Use NeuroKit2 to build or audit reproducible research workflows for physiological time-series preprocessing, event/interval analysis, multimodal alignment, variability, and complexity. Trigger when code imports neurokit2 or needs its current APIs, schemas, and method-aware validation—not for diagnosis or device validation.

45k tokens scripts
Pyzotero
by K-Dense-AI
×1

Interact with Zotero reference management libraries using the pyzotero Python client. Retrieve, create, update, and delete items, collections, tags, and attachments via the Zotero Web API v3. Use this skill when working with Zotero libraries programmatically, managing bibliographic references, exporting citations, searching library contents, uploading PDF attachments, or building research automation workflows that integrate with Zotero.

10k tokens
Networkx
by zLanqing
×1

Comprehensive toolkit for creating, analyzing, and visualizing complex networks and graphs in Python. Use when working with network/graph data structures, analyzing relationships between entities, computing graph algorithms (shortest paths, centrality, clustering), detecting communities, generating synthetic networks, or visualizing network topologies. Applicable to social networks, biological networks, transportation systems, citation networks, and any domain involving pairwise relationships.

15k tokens
Fp Ts Pragmatic
by lingxling
×1

A practical, jargon-free guide to fp-ts functional programming - the 80/20 approach that gets results without the academic overhead. Use when writing TypeScript with fp-ts library.

4k tokens

How to use it

Copy the folder

Take parcadei/repo-research-analyst 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.