Saltar al contenido
TakoAPI
Volver a skills

folder-tree-generator

por wanng-ide

Coding Agents & IDEs
606Descargas según clawskills.sh
0Vistas
0 me gustaInicia sesión para dar me gusta a esta skill
—Aún sin valoraciones
Tu valoración

Resumen

Generates an ASCII tree or JSON representation of a directory structure.

Descripción

Qué hace esta skill

Generates a visual representation of a directory structure as either an ASCII tree or JSON. Accepts a target path, optional depth limit, and output format flag. Useful for documenting, sharing, or inspecting folder layouts.

Produces both human-readable ASCII and machine-parseable JSON from the same tool, removing the need to switch between separate utilities.

Cuándo usarla

  • Documenting project structure in a README
  • Debugging unexpected files in a build output directory
  • Sharing folder layout during a code review
  • Checking scaffold depth after generating a new project
  • Snapshotting directory contents before a refactor

Flujo de trabajo de ejemplo

ENTRADA

User asks: Show the structure of /src limited to 2 levels deep

AGENTE
  1. 1

    Run folder-tree-generator with /src and --depth 2

  2. 2

    Traverse the directory recursively up to 2 levels

  3. 3

    Format the result as an ASCII tree

  4. 4

    Return the formatted output

SALIDA

ASCII tree of /src showing files and folders up to 2 levels deep

Instalación

clawhub install wanng-ide/folder-tree-generator

Ejecuta el comando de la CLI o pega el prompt en Claude Code, Cursor, Codex o el agente de programación que uses.

Enlaces