> filesystem_navigation
Guidelines for systematically exploring and understanding directory structures.
fetch
$
curl "https://skillshub.wtf/esurovtsev/langchain-lab/filesystem-navigation?format=md"SKILL.md•filesystem_navigation
Filesystem Navigation
When to Use This Skill
When you are asked to explore, understand, or map a project's file structure. This includes requests like "what is this project?", "show me the structure", or "help me find where X is".
Strategy
Start at the Root
Always begin by listing the top-level directory. The root reveals the project type faster than anything else:
README.mdorREADME.rst→ start here, it's the author's own summaryrequirements.txt,pyproject.toml,package.json→ tells you the language and dependenciesDockerfile,docker-compose.yml→ the project is containerizedMakefile,justfile→ there are predefined commands to run.env.example→ environment variables are needed; never read.envitself
Explore Breadth Before Depth
List all top-level directories before diving into any single one. Build a mental map:
src/orapp/→ application code lives heretests/ortest/→ test suiteconfig/orconf/→ configurationdocs/→ documentationscripts/orbin/→ utility scriptsmigrations/oralembic/→ database migrations
Go Deeper with Purpose
Don't read every file. Choose what to read based on what you're trying to answer:
- To understand what the project does → README, then entry point
- To understand how it's structured → list
src/recursively - To understand how to run it → README, Makefile, Dockerfile, config
- To understand dependencies → requirements.txt, package.json, pyproject.toml
Things to Avoid
- Don't assume a file's purpose from its name alone —
utils.pycould contain anything - Don't read binary files (images, compiled files, databases)
- Don't read
.envfiles — they may contain secrets - Don't try to read
node_modules/,__pycache__/,.git/, or other generated directories - Don't list deeply nested directories all at once — go level by level
Signals That Help
- A
__main__.pyorif __name__ == "__main__"block indicates an entry point - A file named
app.py,main.py, orserver.pyis usually the entry point __init__.pyfiles in Python indicate a package; they may re-export key symbols- Hidden files (
.gitignore,.flake8,.pre-commit-config.yaml) reveal tooling choices
┌ stats
installs/wk0
░░░░░░░░░░github stars2
░░░░░░░░░░first seenMar 18, 2026
└────────────