Show HN: Treedocs: Documentation that automatically checks for staleness
11–20 of 22 posts
Re: Show HN: Treedocs: Documentation that automatically checks for staleness
#12This is very good - I have found that well-designed progressive disclosure systems like this tend to be far more effective and performant than cookie-cutter semantic / encoding-based RAG systems. Agents seem to love tables of contents.
Though I will say it has been a challenge to get agents to reliably use tools like `treedocs explore`. They tend to default to using their built in tooling first or commands like grep. I'm still working on reliable prompts and skills that tell the agent when to use which approach.
Re: Show HN: Treedocs: Documentation that automatically checks for staleness
#13Maaan, this seems so great except it's MacOS only.
Re: Show HN: Treedocs: Documentation that automatically checks for staleness
#14Hi HN, I built treedocs, a CLI that shows a tree of your file structure, side-by-side with docs. The idea is simple: your filesystem already tells you what exists, but not what each path is for. treedocs mirrors the file tree into a treedocs.yaml file and lets you define short descriptions, references, and links to files and folders. It can then render that back as a documented tree, detect drift when files move or d…
The question is who maintains it. I think, LLM is the only practical option. In my agent rules, I tell it to maintain INDEX.md on each level. That takes 1 line of instruction and starting with an example file. Then, it self-maintains.
Sure the LLM can do all of that but it's a waste of a lot of tokens, and in my experience it often makes incorrect assumptions or doesn't realize certain details.
Re: Show HN: Treedocs: Documentation that automatically checks for staleness
#15Hi HN, I built treedocs, a CLI that shows a tree of your file structure, side-by-side with docs. The idea is simple: your filesystem already tells you what exists, but not what each path is for. treedocs mirrors the file tree into a treedocs.yaml file and lets you define short descriptions, references, and links to files and folders. It can then render that back as a documented tree, detect drift when files move or d…
This is lovely! I'd done something similar in my own setup. I'm curious what your experience has been with fork/merge – why a monolithic file rather than something more diffuse?
So it doesn't have to be monolithic.
Re: Show HN: Treedocs: Documentation that automatically checks for staleness
#16Why is @DandyLyons' comment flagged and dead? Like ... what's wrong with what he posted? I've seen thousands of Show HNs here, for like a decade. Very similar to this. What rule did he break?
Re: Show HN: Treedocs: Documentation that automatically checks for staleness
#17Re: Show HN: Treedocs: Documentation that automatically checks for staleness
#18I made a similar kind of tool [0] to scratch this itch too. Hashes all your files and adds a short llm summary for each one so Claude/Codex can quickly explore rather than load all those files into context. [0] https://github.com/tristanmatthias/llmdoc
Re: Show HN: Treedocs: Documentation that automatically checks for staleness
#19Why is @DandyLyons' comment flagged and dead? Like ... what's wrong with what he posted? I've seen thousands of Show HNs here, for like a decade. Very similar to this. What rule did he break?
You can email the mods and they'll fix it.