تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

folder-tree-generator

بواسطة wanng-ide

Coding Agents & IDEs
606التنزيلات وفق ما يذكره clawskills.sh
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

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

الوصف

ما الذي تفعله هذه المهارة

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.

متى تستخدمها

  • 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

مثال على سير العمل

الإدخال

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

الوكيل
  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

الإخراج

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

التثبيت

clawhub install wanng-ide/folder-tree-generator

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط