tree
Use when an agent needs a cross-platform directory tree view after narrowing the DNL search area.
- License 许可
- Apache-2.0
- 最近更新
- 2026-10-22
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- tree
- description
- Use when an agent needs a cross-platform directory tree view after narrowing the DNL search area.
02 资源文件 1
- 脚本tree.py1.0 KB
03 SKILL.md 正文
DNL Tree Tool
Use this skill when a candidate DNL area is already narrowed and you need a quick directory map.
The executable tool is scripts/dnl/tree.py; the detailed guide is scripts/dnl/tree.md.
The retained executable in this skill directory is a compatibility shim only.
Common Commands
# Folder structure only.
python3 scripts/dnl/tree.py --root docs --depth 3 --ascii
# Include files and line counts.
python3 scripts/dnl/tree.py --root DNL-system --depth 2 --files --ascii
# JSON output for downstream scripts.
python3 scripts/dnl/tree.py --root docs --depth 3 --files --json
Usage Boundary
- Narrow the search first with DNL routing or
dnl-query. - Run tree only inside the narrowed subtree.
- Use
--depth 3to--depth 5for normal exploration. - Do not start with broad repository-wide trees unless the user explicitly asks for a repository map.
Read scripts/dnl/tree.md for installation, options, output examples, and Windows UTF-8 notes.
04 同仓库更多 Skills
tree
python으로 트리 구조 분석 가이드 (Windows tree 명령어 대체)
dnl-query
DNL 문서를 수정하지 않고 tag/name/status/path 조건으로 빠르게 찾아야 할 때 사용하는 조회 스킬
dnl-builder
DNL 문서 작업 시 DNL-system/authoring 정본으로 라우팅하고 QA까지 수행하는 스킬
dnl-query
Use when an agent needs to find DNL documents by metadata or link records without editing DNL content.
dnl-builder
Use when creating, editing, restructuring, promoting, or validating canonical DNL documents and routes.