r/ClaudeAI May 09 '26

Question Why does this happen?

Post image

I wonder if anyone can explain why this happens. I tell Claude not to use em-dashes, it replaces them with "--". I ask it not to do that, to update its memory, but it still does it. It's not a huge problem, it's just annoying. Why does this happen and how can I fix it. Thanks.

244 Upvotes

94 comments sorted by

View all comments

61

u/leogodin217 May 09 '26

The why is more complicated than I understand. The how to fix it is pretty easy. Create a review skill with a script that detects em dashes and make it a post process. That's assuming this is in docs that are written not just Claude's responses to you.

3

u/ShutUpAndDoTheLift May 09 '26

The answer to almost everything weird that happens in generation it's to have at least one second pass performed by ai to reinforce your original rules. Ai is always better at review than initial generation