Sign in
Explore
Workflows Β· WorkflowEveryday codingGit & pull requestsReviewed

repo-tree-map

Generates an ASCII tree map of the repository file structure every week.

Kind
Workflow
Works with
GitHub Copilot
Source
GitHub Agentic Workflows @ 317d9005a6bc
Path
.github/workflows/repo-tree-map.md
Jobs
Documentation
Topics
Git & pull requests

Credit

Made by
github
Original
github.com/github/gh-aw/blob/317d9005a6bca5ae586c3c3dcc0acf3a…
License
MIT

Listed by Skill Manifest; not made by us.

InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
Install factsScanned 3 Nov 2026
Adds
  • Steps in the source's README; what they create is not stated in the catalog
Runs scripts
Yes
  • shell block in the text
Uses the network
None found
Needs secrets
None found
Source revision
317d9005a6bc
Licence
MIT
Last activity
27 Nov 2026
Source changed after the scan
Yes
  • Last push 27 Nov 2026, scanned 3 Nov 2026; read it again before you rely on this scan
Review
Reviewed

Found by a static scan of the stored text; nothing is run. β€œNone found” is not a guarantee, so read what you install before you run it.

  • What this adds depends on the source's own instructions
# Repository Tree Map Generator

Generate a comprehensive ASCII tree map visualization of the repository file structure.

## Mission

Your task is to analyze the repository structure and create an ASCII tree map that visualizes:
1. Directory hierarchy
2. File sizes (relative visualization)
3. File counts per directory
4. Key statistics about the repository

## Analysis Steps

### 1. Collect Repository Statistics

Use bash tools to gather:
- **Total file count** across the repository
- **Total repository size** (excluding .git directory)
- **File type distribution** (count by extension)
- **Largest files** in the repository (top 10)
- **Largest directories** by total size
- **Directory depth** and structure

Example commands you might use:
```bash
# Count total files
find . -type f -not -path "./.git/*" | wc -l

# Get repository size
du -sh . --exclude=.git

# Count files by extension
find . -type f -not -path "./.git/*" | sed 's/.*\.//' | sort | uniq -c | sort -rn | head -20

# Find largest files
find . -type f -not -path "./.git/*" -exec du -h {} + | sort -rh | head -10

# Directory sizes
du -h --max-depth=2 --exclude=.git . | sort -rh | head -15
```
…