workspace-tools

pheuter 的头像作者 pheuter

用于检查本地项目工作区的工具(列出文件,发现大文件夹,并确定关注点)。

📖 中文导读:用于检查本地项目工作区的工具(列出文件,发现大文件夹,并确定关注点)。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: workspace-tools description: Utilities for inspecting the local project workspace (list files, spot large folders, and determine where to focus). license: MIT

Tools

list-directory

  • Purpose: Print a depth-limited directory tree as JSON for the current working directory or a target path.
  • Usage:
    • ./scripts/list-directory/list-directory (defaults to current directory, depth 2)
    • ./scripts/list-directory/list-directory --path ./src --depth 3
  • Flags:
    • --path <path>: Directory to scan (default: ., relative paths are resolved from cwd)
    • --depth <number>: How deep to recurse (default: 2)
    • --json: Emit compact JSON instead of pretty output