Back to Skills

researching-codebase

verified

>-

View on GitHub

Marketplace

rpikit

bostonaholic/rpikit

Plugin

rpikit

Repository

bostonaholic/rpikit
2stars

/skills/researching-codebase/SKILL.md

Last Verified

January 15, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/bostonaholic/rpikit/blob/main//skills/researching-codebase/SKILL.md -a claude-code --skill researching-codebase

Installation paths:

Claude
.claude/skills/researching-codebase/
Powered by add-skill CLI

Instructions

# Research Methodology

Research topic: **$ARGUMENTS**

## Overview

Help turn research requests into thorough codebase understanding through
natural collaborative dialogue.

Start by understanding what the user needs to learn, then ask questions one
at a time to refine the scope. Once you understand what you're researching,
explore the codebase systematically, presenting findings in digestible
sections and validating as you go.

## The Iron Law

**Ask questions BEFORE exploring code.**

Do not touch the codebase until the problem is understood. Resist the urge
to immediately search for files or read code.

## Phase 1: Understanding the Request

**Your first action must be asking a clarifying question.**

Do NOT:

- Read any files
- Search the codebase
- Use Glob or Grep
- Explore anything
- Make assumptions about what the user wants

**Ask questions one at a time using AskUserQuestion:**

- Prefer multiple choice questions when possible, but open-ended is fine too
- Only one question per message
- If a topic needs more exploration, break it into multiple questions

**Focus on understanding:**

- **Purpose**: What are they trying to accomplish? (build, change, fix, learn)
- **Specifics**: What exactly should happen or change?
- **Scope**: How big is this? (one file, multiple files, architectural)
- **Constraints**: Any requirements around performance, compatibility, security?
- **Context**: Have they already looked at anything or have hunches?

**When you believe you understand, confirm:**

Summarize your understanding and ask if it's accurate before proceeding.
If anything needs clarification, ask follow-up questions.

## Phase 2: Exploration

**Only proceed after confirming understanding with the user.**

### Locate Relevant Files

Use the **file-finder** agent to locate files relevant to the research objective:

```text
Task tool with subagent_type: "file-finder"
Prompt: "Find files related to [topic from interrogation]. Goal: [user's stated purpose]"
```

The fi

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
6392 chars