dir-tree-index
Dir Tree Index
Generate a STRUCTURE.md in every directory, listing its contents with one-line summaries.
This helps LLMs orient themselves quickly, improves discovery in large codebases, and is especially effective for documentation-first or knowledge repository workflows.
Input
Optional argument: target directory (defaults to repo root).
Algorithm
Process directories bottom-up (deepest first) so child indexes exist before parents need them.
Step 1: Discover directories
Replace <target> with the resolved path (repo root if no argument given):
More from apocohq/skills
things-morning-organizer
Morning review and prioritization of Things todos. Use this skill every morning, or whenever the user asks to review, triage, categorize, or prioritize their Things tasks. Also trigger when the user says things like 'what should I work on today', 'organize my todos', 'morning routine', or 'daily review'.
29gmail-multi-inbox
|
24align-repo
|
17ralph-it
Pick and implement the next user story from a PRD GitHub issue. Analyzes merged PRs for prior work and findings, proposes a plan, implements it, and creates a PR linking back to the PRD. Use when user says "ralph it", "ralph-it", or wants to work through PRD user stories.
16grill-me
|
14write-a-prd
>
13