Search for documentation files like CLAUDE.md at the start of a project to clarify scope and avoid misdirected analysis.
Overview
Before diving into deep exploration of a codebase, proactively search for guidance documentation. Files like CLAUDE.md, README.md, or project-specific docs often contain critical context about scope, architecture, and intended workflows.
Steps
Search for documentation files immediately
Look for CLAUDE.md, README.md, docs/, .github/, or similar directories
Check the project root first, then subdirectories
Use search/grep to find files with "guide", "doc", "readme" in the name
Read guidance documents completely
Understand the project's purpose and scope
Identify key architectural patterns or constraints
Note any specific workflows or tools the project expects
Use documentation to shape your exploration
Prioritize areas mentioned in docs over random exploration
Align your analysis with the project's stated goals
Reference docs when making decisions about what to analyze next
Return to docs as needed
Docs often contain answers to questions that arise during exploration
Use them to resolve ambiguities without unnecessary trial-and-error
Tips
Documentation is usually the fastest way to understand a project's intent
Skipping this step often leads to wasted effort analyzing irrelevant code paths
Well-maintained projects invest in docs—trust and use them early
If docs are sparse, that itself is useful information about the project's maturity
1---2name: check-docs-first3description: check-docs-first4---5# check-docs-first67Search for documentation files like CLAUDE.md at the start of a project to clarify scope and avoid misdirected analysis.89## Overview10Before diving into deep exploration of a codebase, proactively search for guidance documentation. Files like `CLAUDE.md`, `README.md`, or project-specific docs often contain critical context about scope, architecture, and intended workflows.1112## Steps13141. **Search for documentation files immediately**15 - Look for `CLAUDE.md`, `README.md`, `docs/`, `.github/`, or similar directories16 - Check the project root first, then subdirectories17 - Use search/grep to find files with "guide", "doc", "readme" in the name18192. **Read guidance documents completely**20 - Understand the project's purpose and scope21 - Identify key architectural patterns or constraints22 - Note any specific workflows or tools the project expects23243. **Use documentation to shape your exploration**25 - Prioritize areas mentioned in docs over random exploration26 - Align your analysis with the project's stated goals27 - Reference docs when making decisions about what to analyze next28294. **Return to docs as needed**30 - Docs often contain answers to questions that arise during exploration31 - Use them to resolve ambiguities without unnecessary trial-and-error3233## Tips34- Documentation is usually the fastest way to understand a project's intent35- Skipping this step often leads to wasted effort analyzing irrelevant code paths36- Well-maintained projects invest in docs—trust and use them early37- If docs are sparse, that itself is useful information about the project's maturity
Run npx skillmds@latest add claudiawong522/check-docs-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.
check-docs-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.