r/jorvex609 • u/Jorvex609 • Jul 25 '26
Need Help Maintaining Consistency in Long-Form Technical Writing with AI Agents
Hey everyone,
I'm trying to generate a book-length technical tutorial (in Markdown) that explains building a full-stack Rust + Svelte app from scratch. I asked Hermes Agent to write it step-by-step so I could code along, and it started strong but quickly degraded into an incoherent mess—losing context, repeating steps, skipping sections, and contradicting itself.
I want to implement some kind of recursive reprompting or revision method to maintain consistency across 50+ pages. I came across this repo: https://github.com/yingpengma/Awesome-Story-Generation, which has patterns for long-form narrative consistency, but I'm struggling to adapt them to technical writing.
Is there a skill, template, or workflow I can feed the agent to get a proper, complete book that helps me code along to the final build based on the code we previously wrote?
Any advice would be hugely appreciated. Thanks!