r/devops • DevOps • Jul 29 '26

Vendor / market research How does your team handle documentation

I'm doing research on how documentation is done in different DevOps teams. What processes exist? How is it valued within your team? Has AI made that better or worse? Are there tools that you use to make it easier (not talking about Confluence here)? If you hqve worked in a professional context then I'd love to hear your input.

Considering the huge amount of shill posts I want to disclose that I'm (considering) making a tool that helps with documentation but I'm still in the process of understanding this problem thoroughly, which is why I'm askibg for your input :)

6 Upvotes

53 comments sorted by

View all comments

1

u/yiddishisfuntosay Jul 29 '26

Ai helps you organize, but it doesn’t write the docs for you. The content is populated by people. And honestly, docs can live in a repository, and there can even be pipelines that run to support certain changes, but to me, the problem with documentation in an org is shaped differently depending on the maturity of the team’s alignment posture.

If alignment is low and docs are best effort, you’re gonna have some real problems regardless. And those problems won’t surface until the existing staff inevitably leave or prepare to.

3

u/Work4Bots DevOps Jul 30 '26

This digs at the core of what think to be the problem, that there are many companies that do not know how bad their docs are and what the impact of this is. But deducting from the other comments it seems way more viable to introduce a rule like "No repo doc update = no PR approval" than to introduce complex processes and extra tooling to simplify this

1

u/yiddishisfuntosay Jul 31 '26

It’s a gap in leadership, namely. If modern leaders believed in better docs to outsource policies and to actually adhere to what’s in writing, we’d be better organized across the board. But it takes a mature leader to recognize and value that over simply new features.

1

u/Zenin The best way to DevOps is being dragged kicking and screaming. Aug 01 '26

On a practical note, what I've personally built up is a set of tools and a saved prompt for Kiro (my AI assistant of choice) such that I basically type @qa-docs and let it rip. Much of the prompt is specific to my style, tools, company standards, etc, but the gist of it is validating that all changes to this branch align with the ticket we're working on and that all changes, additions, subtractions from the code made for this effort have their documentation updated to align with the code.

I've got a stack of these that are more specific as well, covering architecture, API interfaces, security controls, etc. I've broken them up into their own specialized prompts mainly because I've found the AI generates much more accurate higher quality doc updates when I keep the scope narrow.

I'll occasionally do some hand-edits after AI has done its first pass, after which I'll ask the AI to review what I've done and update the steering/saved-prompts to align for the future. It's a self-improvement loop that over time, but pretty quickly results in output that needs little if any hand-edits. A little investment in your AI tooling goes a long, long way.

---

On the CI side of the equation I similarly have AI validation checks asking similar coverage and accuracy questions, automating most all of of the "no repo doc update = no PR approval". Humans still need to approve the PR, but this check catches not only lack of doc updates very reliably, it also catches documentation errors much more effectively than our human reviewers generally do.

0

u/Zenin The best way to DevOps is being dragged kicking and screaming. Aug 01 '26

Ai helps you organize, but it doesn’t write the docs for you. The content is populated by people.

WTH? AI trivially writes wildly better organized, better written, and more accurate documentation than 99.9999% of humans. If there's a real first role that AI has eaten whole, it's technical writer.

And not for nothing, humans never read docs before and read them even less today. You know who does actually read and make valuable use of documentation? AI.

1

u/yiddishisfuntosay Aug 01 '26

Sadly disagree. Ai produces sloppily formatted inferences that have some findings and mermaid diagrams “at best”. And won’t build your run books as cleanly as humans can. If you think AI is good enough, I think you need to aim higher. Or maybe I just have high standards.

0

u/Zenin The best way to DevOps is being dragged kicking and screaming. Aug 01 '26

I'm very much of the mindset that effort invested in extensive run books for common operational issues is far better spent improving the code/system to prevent or auto-correct those common issues from occurring in the first place. Systems having common issues is a quality control issue, not a documentation gap.

If you're finding your runbooks are so extensive they need a skilled human to write them "cleanly", you're really just painting over your actual problems. Your time here is far better spent engineering a real solution and writing a clear design spec for it than it is documenting the kludgy workaround.

Runbooks should be few, deliberate, and short. If they're longer than about half a dozen steps simple steps then they need to be implemented in code, not human instructions.

1

u/yiddishisfuntosay Aug 01 '26

Nobody said anything about extensive runbooks, I’m referring to clarity. And AI is not a substitute for human curation, it’s a crutch if you don’t easily notate your workflows otherwise.

0

u/Zenin The best way to DevOps is being dragged kicking and screaming. Aug 01 '26

Clearly a skill issue.

AI is so good at this today it takes effort to make it output poor documentation.

Even if you're looking for very polished architectural graphs, there are plenty of tools to empower AI wildly behind MD and mermaid charts. D2, Graphviz DOT, PlantUML, etc. Take an afternoon to workout a pipeline that fits your style, let it rip across all your documentation tasks, save it all as skills/tools/saved prompts/whatever your AI uses they all have some solution to effectively make the task of updating all your docs to your standards nothing more than a hot key going forward.

It's obvious from your comments you haven't invested much if any time actually skilling yourself up on AI tools. You're still at the resentment stage, assuming AI is just magic pixy dust people are sprinkling on their system without skill. Of course you're getting crappy results, but the fault is yours not the tools you can't be bothered to spend even one afternoon training up on.

0

u/yiddishisfuntosay Aug 01 '26

Making a few heavy assumptions there, but I’m not gonna make it a big deal. You do you man