İçeriğe geç
TakoAPI
Becerilere dön

folder-tree-generator

wanng-ide tarafından

Coding Agents & IDEs
606İndirme sayıları clawskills.sh tarafından bildirilir
0Görüntülenmeler
0 beğeniBu beceriyi beğenmek için giriş yapın
—Henüz değerlendirilmedi
Puanınız

Özet

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

Açıklama

Bu Beceri Ne Yapar

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.

Ne Zaman Kullanılır

  • 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

Örnek İş Akışı

GİRİŞ

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

AJAN
  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

ÇIKIŞ

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

Kurulum

clawhub install wanng-ide/folder-tree-generator

CLI komutunu çalıştırın ya da istemi Claude Code, Cursor, Codex veya kullandığınız kodlama ajanına yapıştırın.

Bağlantılar