<< All versions
Skill v1.0.0
currentAutomated scan100/100newkub/devin-skills/analyze-file-structure
──Details
PublishedOctober 7, 2026 at 07:44 AM
Content Hashsha256:24042d6dad98c0ee...
Git SHA
──Files
Files (1 file, 1.7 KB)
SKILL.md1.7 KBactive
SKILL.md · 64 lines · 1.7 KB
version: "1.0.0" name: analyze-file-structure description: Analyze project file and folder structure with a Rust CLI argument-hint: "[scope]" related:
- report-file-structure
- report
- follow-create-rust-cli
- deep-review-codebase
Goal
Scan a project and analyze its file/folder structure with statistics, filtering out build/cache files
Scope
For viewing the file tree plus file counts, types, and sizes, scanned by a Rust CLI built as a single binary
Execute
1. Install
Goal: Install the CLI
- For a global install:
cargo install --git https://github.com/newkub/analyze-file-structure - For a dev build: clone then
cargo build --release - The binary is at
target/release/analyze-file-structurewhen built from source
2. Analyze Structure
Goal: Analyze the file structure
- Run
analyze-file-structure <path> - Filters
node_modules,.git,dist,build,targetby default - Set depth with
--depth <N> - View stats with
--stats - View JSON output with
--json
3. Report
Goal: Report results
- Use
--jsonand pass the output to/reportor/report-file-structure - For simple output, use
--statsand read the values in the terminal - To visualize in a browser → use
/report html
Rules
- Never modify source files in the scanned project — read-only
- Build/cache files are filtered out by default
- Set a depth limit for large projects
- If the CLI doesn't match the tech stack → run
/deep-review-codebasefirst
- Use /follow-create-rust-cli if needed
Expected Outcome
- A readable file and folder listing
- Basic stats (file counts, types, sizes)
- Build/cache files filtered out
- JSON output supported for downstream tools