To make AI write like you, give it a voice.md file: a short description of how you write. The idea comes from an engineer who taught Claude Code to message his colleagues the way he writes himself. It works with any AI that writes for you: emails, chat messages, comments in tasks. The original: dev.to/abdallah
1. Create a voice.md file: a style guide starring you
Template (fill it in with your answers):
# How I write to colleagues
Length: one line, sometimes 2–3 short ones.
Capitals and periods: [capitalized / all lowercase], [period at the end / none].
How I ask: ["can you take a look at …?", "when you have a minute …"].
Warmth: ["thanks!" / sometimes an emoji / nothing].
My words: [for example: "btw", "fyi"].
Links: [bare link / task number and title].
## I never
- formal sign-offs ("best regards", "happy to answer any questions")
- long explanations
- bold text and lists in a short message
- [add your own]
## Example: my first message of the day
[paste a real one, for example: "morning
can you look at the plan on staging when you have a minute? not urgent"]The key section is "I never". AI tends to add extra stuff by nature, and this list tells it what to drop.
2. Let the AI describe your style
Writing about yourself by hand is hard: you don't notice your own habits. Give the AI 90 days of your messages with 3–5 different people (from different work tasks, so it doesn't pick up the manner of one chat) and this prompt:
Below are my messages. Learn only from the messages I wrote. Describe how I write: length, capitals and periods, how I ask, warmth, pet words, links. In a separate list: what I never do. Copy my habits, not my typos. Don't include real names, projects, clients or quotes from the messages. Show me a draft voice.md before saving.
Remove anything you can't share (passwords, client data) from the messages before giving them to the AI.
3. Check and refine
- Read the draft and fix what doesn't sound like you.
- Ask for a few test messages to colleagues.
- Keep editing voice.md until you'd send the messages without changes.
4. How to use it
- In Claude Code or another agent: put voice.md next to the project and add to the instructions "write messages following voice.md".
- In a regular chat (ChatGPT, Claude and others): paste the text of voice.md into the project instructions or at the start of the chat.
- Rules the engineer added on top: the request first, then at most 1–2 lines of context; never invent deadlines or promises; always include a link to the task.