upvote
I'm a technical writer. Off the top of my head I reckon at least 10 startups have … started up … in this space since 2023.
reply
I once had a mad idea of creating an automated documentation-driven paradigm where every directory/module/class/function has to have a DocString/JSDoc, with the higher level ones (directory/module) essentially being the documentation of features and architecture. A ticket starts by someone opening a PR with suggested changes to the docs, the idea being that a non-technical person like a PM or tester could do it. The PR then passes to a dev who changes the code to match the doc changes. Before merging, the tool shows the doc next to every modified piece of code and the reviewer must explicitly check a box to say it's still valid. And docstrings would be able to link to other docstrings, so you could find out what other bits of code are connected to what you're working on (as that link doesn't always exist in code, e.g. across APIs) and read their docs to find the larger context and gotchas.
reply
There is at least one startup doing it already (I'm not affiliated with it in any way): https://promptless.ai/
reply
Thanks for the pointer. That looks more to me like it's totally synthesizing the docs for me. I can see someone somewhere wanting that. I would want a UX more like a compiler warning. "Comment on line 447 may no longer be accurate." And then I go fix it my own dang self.
reply
Why would you need comments from an AI if you can just ask it what the code is doing?
reply
Because the human needs to tell the AI whether it’s the code or the comment that’s wrong.
reply
Because only a human writer can explain why he did the resolution. But nobody wants to update comments each time.
reply
If you have CI hooked up to AI you could you just use a SLM to do that in a periodic job with https://github.github.com/gh-aw/ or https://www.continue.dev/. You could also have it detect architectural drift.
reply