file-analysis

Solid

Map file structure and organization for downstream review and refactoring workflows

Code & Development 310 stars 27 forks Updated today MIT

Install

View on GitHub

Quality Score: 94/100

Stars 20%
83
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# File Analysis ## When To Use - Before architecture reviews to understand module boundaries and file organization. - When exploring unfamiliar codebases to map structure before making changes. - As input to scope estimation for refactoring or migration work. ## When NOT To Use - General code exploration - use the Explore agent - Searching for specific patterns - use Grep directly ## Required TodoWrite Items 1. `file-analysis:root-identified` 2. `file-analysis:structure-mapped` 3. `file-analysis:patterns-detected` 4. `file-analysis:hotspots-noted` Mark each item as complete as you finish the corresponding step. ## Step 1: Identify Root (`file-analysis:root-identified`) - Confirm the analysis root directory with `pwd`. - Note any monorepo boundaries, workspace roots, or subproject paths. - Capture the project type (language, framework) from manifest files (`package.json`, `Cargo.toml`, `pyproject.toml`, etc.). ## Step 2: Map Structure (`file-analysis:structure-mapped`) - Run `tree -L 2 -d` or `find . -type d -maxdepth 2` to capture the top-level directory layout. - Identify standard directories: `src/`, `lib/`, `tests/`, `docs/`, `scripts/`, `configs/`. - Note any non-standard organization patterns that may affect downstream analysis. ## Step 3: Detect Patterns (`file-analysis:patterns-detected`) - Use `find . -name "*.ext" -not -path "*/.venv/*" -not -path "*/__pycache__/*" -not -path "*/node_modules/*" -not -path "*/.git/*" | wc -l` to count files by extension. - Ide...

Details

Author
athola
Repository
athola/claude-night-market
Created
6 months ago
Last Updated
today
Language
Python
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category