tree-view
Display directory tree structure with customizable depth, using fd and Python3 for fast and beautiful tree visualization.
소스 정보
- 저장소
- Dwsy/agent
- 최근 소스 활동
- 2026년 2월 11일 10:39
- 감지된 SKILL.md 언어
- 영어
- 스타
- 23
- 포크
- 3
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
파일 탐색기
2 개 파일SKILL.md 표시 중
SKILL.md
소스 지침 · 읽기 전용 미리보기- name
- tree-view
- description
- Display directory tree structure with customizable depth, using fd and Python3 for fast and beautiful tree visualization.
# Tree View
Fast directory tree visualization using fd + Python3.
## When to Use
- Need a quick overview of directory structure
- Want to see files organized hierarchically
- Default `tree` command is not available or too slow
- Need customizable depth limits
## Usage
```bash
# Show directory tree (default 2 levels)
bun ~/.pi/agent/skills/tree-view/cli.ts
# Show 3 levels deep
DEPTH=3 bun ~/.pi/agent/skills/tree-view/cli.ts
# Show 4 levels deep
DEPTH=4 bun ~/.pi/agent/skills/tree-view/cli.ts
```
## Features
- **Fast**: Uses `fd` for efficient file discovery
- **Depth control**: Environment variable `DEPTH` controls levels
- **Clean output**: Proper tree structure with branch characters
- **Smart truncation**: Long filenames are truncated for readability
## Requirements
- `bun` - Bun runtime
- `fd` - Fast alternative to `find`
- `python3` - For tree formatting
## Output Format
```
docs/
├── adr/
│ └── 20240210-decision.md
├── issues/
│ ├── frontend/
│ │ └── 20240210-task.md
│ └── backend/
└── guides/
```
## Notes
- Directories are shown with trailing `/`
- Files are shown without trailing slash
- Names longer than 30 characters are truncated (`prefix...suffix`)
GitHub에서 보기