Select agents to install to:
npx add-skill https://github.com/bostonaholic/rpikit/blob/main//skills/researching-codebase/SKILL.md -a claude-code --skill researching-codebaseInstallation paths:
.claude/skills/researching-codebase/# 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