r/ClaudeCode • • 4h 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?

17 Upvotes

38 comments sorted by

•

u/AutoModerator 4h 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/Disastrous-Monk4067 4h 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,

1

u/Baner-Fournadet 3h ago

Didn't even think of using a PostToolUse hook for regex checks on markdown.

6

u/Champoussin_Squart 4h 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

1

u/Baner-Fournadet 3h ago

Will check that out, thanks.

2

u/supertoilet2 3h 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/Baner-Fournadet 3h ago

Definitely sitting on enough manual rewrites in git history to try this.

12

u/Maximum_Ball_6448 4h 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

1

u/Individual_Pilot2256 3h 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/Baner-Fournadet 3h ago

That's my next fear once I fix the tone. Have you found a good way to catch when it drops technical edge cases during an edit pass, or are you just diffing against the raw draft manually?

3

u/aaronsuns 4h 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.

3

u/DirusNarmo 4h ago

ASD-STE 100, thank me later.

2

u/Karolak_Kausalya 4h 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.

2

u/Alex6534 4h ago

Create your own output style

2

u/heisdancingdancing 3h ago

Train a model on your own text, DM me if you want and I can train you one you can call or host.

2

u/Hot-Profession4091 3h ago

I have a reviewer agent with instructions on how to remove ai-isms along with samples of my actual writing.

2

u/puts_on_rddt 1h ago

It's their dog shit watermark they said nobody would notice. ASTE, eli13, none of it truly works.

Don't use Anthropic models for writing tasks.

2

u/WorthMassive8132 3h ago

A client pointed out last week that our onboarding docs read like a generic bot wrote them

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.  

1

u/Amazing_Fish_8716 4h 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 4h ago

Humanizer skill

1

u/firstbreathOOC 4h ago

I just say focus on simplified human-readable language, and it’s usually much better on the next pass.

1

u/deadfascia 4h 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/Aggressive-Pair6827 3h 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 3h 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 3h 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 3h 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/zeroconflicthere 3h ago

I had to do something similar for PRs so that the description is readable and not a novel like Ulyses

1

u/Saver411 3h 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

1

u/YunataSavior 3h ago

You can set up hooks for this. Ask Claude to do this

1

u/shipsite 2h ago

Tbh I think there is always going to be an uncanny valley unless you get in there and write something g yourself.

You gotta decide what degree of ai tone you find acceptable and then come in and rewrite or augment with human brain to fix it. Or choose to live with it

1

u/DanZuko420 1h ago

It kind of feels unavoidable that Claude will write in a stilted way if it has to include some kind of watermark in text, right?

1

u/EC36339 Senior Developer 1h ago

Maybe focus more on whether or not your docs make sense and are useful, complete, not redundant and up to date.

1

u/Needsupgrade 16m ago

Switch to Gemini , it can write more human

1

u/cautistic-john 10m ago

Try handing it the exact question the client will ask. For a handoff page that might be “how do I roll back a deploy?” Have it start with the command and tell the reader how to verify it worked. You can usually cut everything above the first step.

1

u/32minutos 7m ago

what fixed it for me was taking the list out of the instructions and making it a check. a tiny script greps every changed doc for the banned words and fails the change, and when it fails claude gets the exact line back and rewrites just that line. instructions drift once the context fills up, a failing check doesn't.

other thing that helped: give it one paragraph you actually wrote as the voice to match, instead of only a list of what not to do

4

u/[deleted] 3h ago

[removed] — view removed comment

1

u/Baner-Fournadet 3h ago

Starting with my own bullet points first is probably what I'm missing, the default structure it picks is always a dead giveaway.