What problem does it solve?
directory-structure helps you quickly understand a project's layout by generating a clean, professional Markdown representation of folders and files.
Core Features & Use Cases
- Directory tree generation: Produces an ASCII tree in Markdown to visualize the structure of a target directory.
- Depth control & layout options: Supports vertical (classic top-down) and horizontal (side-by-side top-level dirs) layouts with configurable recursion depth.
- Smarter output with exclusions: Applies built-in ignore patterns, optional
.gitignore parsing, and user-provided ignored paths/extensions to keep results readable.
- Use case: Before modifying a large repo, generate a structure map for the relevant module to identify key files and relationships without manually browsing.
Quick Start
Run the directory-structure skill to generate a Markdown tree for your project directory while excluding common clutter like node_modules and build artifacts by setting an appropriate ignored_path.