Map out your project's directory structure before asking for help to clarify scope and available resources.
Explore Structure First
When you need help understanding or working with a codebase, start by mapping the project structure rather than jumping straight to vague requests.
Why This Matters
Clarifies scope: You'll see what files and directories exist before asking questions
Saves time: You won't need follow-up questions about what resources are available
Provides context: The assistant can give better help when they know the actual structure
Steps
Run a directory exploration first
Use find, tree, or your file explorer to see the project layout
Focus on top-level directories and key files
Identify the most relevant areas
Note which directories contain source code, configs, tests, docs, etc.
Understand the project's organization
Then ask your specific question
Reference the actual files/directories you found
Be specific: "I see a src/ directory with X and Y components. I need help with..."
Instead of: "Can you understand my codebase?"
Example
❌ Vague: "Can you review my project code?" ✅ Better: "I explored my project and found /src (React components), /api (backend routes), and /tests. I need help refactoring the authentication flow in /src/auth."
1---2name: explore-structure-first3description: explore-structure-first4---5# explore-structure-first67Map out your project's directory structure before asking for help to clarify scope and available resources.89# Explore Structure First1011When you need help understanding or working with a codebase, start by mapping the project structure rather than jumping straight to vague requests.1213## Why This Matters14- **Clarifies scope**: You'll see what files and directories exist before asking questions15- **Saves time**: You won't need follow-up questions about what resources are available16- **Provides context**: The assistant can give better help when they know the actual structure1718## Steps19201. **Run a directory exploration first**21 - Use `find`, `tree`, or your file explorer to see the project layout22 - Focus on top-level directories and key files23242. **Identify the most relevant areas**25 - Note which directories contain source code, configs, tests, docs, etc.26 - Understand the project's organization27283. **Then ask your specific question**29 - Reference the actual files/directories you found30 - Be specific: "I see a `src/` directory with X and Y components. I need help with..."31 - Instead of: "Can you understand my codebase?"3233## Example34❌ **Vague**: "Can you review my project code?" 35✅ **Better**: "I explored my project and found `/src` (React components), `/api` (backend routes), and `/tests`. I need help refactoring the authentication flow in `/src/auth`."
Run npx skillmds@latest add claudiawong522/explore-structure-first in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
explore-structure-first It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Capability flags: docs only. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
claudiawong522 (@claudiawong522) published this skill. Their other Agent Skills are listed on their SkillMD profile.