Tree

From syedsaif666/LGTM · View interactive version

Tree is an AI agent skill from the GitHub repository syedsaif666/LGTM. Show the project folder structure. Optionally scope to a subdirectory. Use when exploring the codebase layout or orienting in the project.

How to use this skill

Skill file

Show the project folder tree, excluding noise (node_modules, .next, .git, worktrees, etc.).

Steps

  1. Parse arguments. If a path is provided, use it as the subtree root. If --depth N is provided, limit tree depth. Defaults: full project, depth 4.
  1. Run the script:
python .claude/scripts/tree.py [path] [--depth N]
  1. Show the output to the user as-is. Do not summarize or truncate.

Examples

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.