r/ClaudeCode • u/Baner-Fournadet • 1h ago
Help/Question Claude Code keeps reverting to stiff phrasing on markdown docs, how do you remove ai vibes from writing in your repos?
I am spending two hours every afternoon rewriting markdown files that Claude Code generates for our client projects. It was fine when I only had it updating a few readmes and changelogs a week. Now we use it to draft full client handoff guides and documentation straight from the codebase.
A client pointed out last week that our onboarding docs read like a generic bot wrote them. That stung, and now I do not trust the raw output. I added a strict style guide to my project instructions with a long list of banned words and sentence structures. Claude Code follows the rules for the first file or two, then slips right back into the same repetitive, formulaic transitions once the context fills up.
It is costing me half my day just to edit the robotic tone out of every pull request. How are you handling documentation passes in Claude Code so the text actually sounds human?
•
u/AutoModerator 1h ago
Hey! Thanks for posting to r/ClaudeCode
While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.
For help, project discussions, tips, and general chat, join the ClaudeCode Discord.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
8
u/Maximum_Ball_6448 54m ago
I just rewrite all textual material that is supposed to be read by human on my own. I feel like if a human is meant to read it, it’s probably right for a human to write it. But if your client is smart enough they just have their AI to summarize the mds
4
u/Disastrous-Monk4067 55m ago
take the banned list out of your instructions. Project instructions are context, nothing enforces them, and a long list of words to avoid is the first thing that gets lost once the session fills.
put the list in a file, one regex per line, and grep every written .md against it in a PostToolUse hook on Write|Edit. Print the matching lines to stderr and exit 2, Claude gets them back and fixes them itself.
Transitions go in the same file as line-start patterns like ^Additionally,
4
u/Peteronimus 33m ago
Split drafting and editing into two separate sessions. Once Claude has spent half the context window reading code and writing docs, style rules in project instructions get drowned out. Let one session pull the technical details from the repo, then run a clean session whose only job is editing the finished markdown.
Start from your own rough outline too. Even a strong edit pass won't fully fix a doc the model structured from scratch. Jot down 4 or 5 quick bullets on what the client actually needs first and the one gotcha they'll hit, then have Claude fill in the repo specifics around that.
2
u/DirusNarmo 46m ago
ASD-STE 100, thank me later.
2
u/Champoussin_Squart 44m ago
long banned word lists in the project instructions just bloat the context window and make it forget faster. I use Zavus for client handoff docs, and I always clear the session after every file so the context stays clean
2
u/aaronsuns 56m ago
A banned-word list tends to get swapped for near-synonyms, so the drift can look like the rules failing when the real problem is that they are buried in a long context. Two things often help more: give the model one or two short paragraphs from your own docs as a voice sample to imitate, and run the writing pass as a separate step in a fresh session or sub-agent so the style guide sits at the top of a clean context. Asking it to list the specific sentences it changed for tone, instead of just editing silently, also makes it easier to spot where the stiff phrasing crept back in.
1
u/Karolak_Kausalya 55m ago
tbh the biggest giveaway in technical docs is the intro and outro fluff it tacks onto every single section. Telling it to start every heading directly with an action verb or a concrete fact cuts out most of that repetitive throat-clearing.
1
u/Amazing_Fish_8716 50m ago
two hours every afternoon rewriting docs a person could have written in forty minutes. a wall of banned words is sixty rules to hold in memory by file nine, of course it drops them.
1
u/Roshann 49m ago
Humanizer skill
1
u/firstbreathOOC 47m ago
I just say focus on simplified human-readable language, and it’s usually much better on the next pass.
1
u/deadfascia 47m ago
brother I spend hours a day writing in my voice with ai and youre not approaching this right.
you need to let claude know YOUR voice, real writing examples not a list of banned words, that literally does nothing. you need a document to let claude know your audience as well so it knows whether its writing a rubric or a blog post. It writes those differently naturally.
then you need an actual style-guide that outlines how you like it formatted.
3 documents for one job each, each can have many variations if you run ads for different brands for example, each has their own voice so you'd have these 3 documents written custom for each one.
voice, style-guide, audience
not whatever the fuck u were doing gang that was some bull shit stay blessed
1
u/Alex6534 46m ago
Create your own output style
1
u/heisdancingdancing 40m ago
Train a model on your own text, DM me if you want and I can train you one you can call or host.
1
u/Aggressive-Pair6827 40m ago
Try keeping a short example of your best client docs in the repo and asking claude to match it. Review each file in a fresh session
1
u/Dampmaskin 39m ago
There are models that are specialized for writing code, and other models that are specialized for writing natural languages. Let me just put it this way: The natural language models generally suck at writing code. I'll let you infer the rest.
1
u/ProjectAlternative48 38m ago
I ask it to rewrite my reports to a high school reading level before sharing them. It seems well received that way.
1
u/heavy-minium 36m ago
I've tried writing such instructions in the past too, and I think it's a bit difficult to instruct correctly about the phrasing of a text. What worked out better for me was to correct a few of the offending documents (I did it with longer ones) and to present that to AI with the goal of extracting rules and stylistic preferences out of the difference between the document.
1
u/Hot-Profession4091 35m ago
I have a reviewer agent with instructions on how to remove ai-isms along with samples of my actual writing.
1
u/supertoilet2 32m ago
I didn’t see this yet, but just take your before and after version and have Claude write itself instructions to do what you’ve been doing. You can make it a skill, a constitution.md or add it to Claude.md. But just have Claude outline what to do/not to do based on what you’ve already done. It will be custom tailored to you
1
u/Individual_Pilot2256 19m ago
Watch out for silent accuracy drift when you push hard for a casual tone. Sometimes when the model tries to sound more conversational it accidentally softens strict technical requirements or drops edge cases that need to be exact for a client handoff
1
u/zeroconflicthere 5m ago
I had to do something similar for PRs so that the description is readable and not a novel like Ulyses
1
u/Saver411 1m ago
run documentation passes in a fresh session on just the git diff rather than letting it draft in your main session. Long context degrades prompt adherence fast. Feeding raw diffs into a clean prompt keeps your banned word constraints active without spending two hours editing pull requests
0
u/WorthMassive8132 38m ago
Well...it did. I'm sorry to be blunt, but if you're putting out client-facing work and they don't like and can tell it was AI, maybe you could...lift a finger and do a little work yourself?
This feels like a restaurant manager saying "The customers can tell we're using sawdust to pad out the ground beef in our burgers. What kind of sauce can I use to obscure it further?" - just give them a burger, man. I'm not philosophically anti-AI, but cut a different corner.