AI

Prompt Engineering for X

How to prompt AI for tweets that sound like you, with the context, constraints, and examples that turn generic drafts into usable ones.

PNPriya NairUpdated July 7, 20263 min read
Quick answer

Good prompts for X give the AI three things: who you are, what you want the post to do, and examples of how you actually write. Skip the tone adjectives and paste real posts instead. The AI cannot read your mind, so the more grounded context you give, the less editing you do after.

Most people prompt an AI for tweets like they are ordering coffee: write me a witty tweet about marketing. That gets you a generic draft every time. This guide covers the prompt structure that actually works for short-form posts, the difference between telling and showing the AI your voice, and why the best prompt often starts with your own worst first draft.

Why generic prompts fail

When you ask for a witty tweet about productivity, the AI averages every productivity tweet it has ever seen. The result is the average of the internet, which is exactly what you do not want, because the average post gets no attention. Adjectives like witty, punchy, or engaging do almost nothing, because the model has no shared definition of them with you.

Before

Write a witty, engaging tweet about email marketing.

After

I run email for a small B2B SaaS. Write a tweet in my voice about how our best-performing email was the ugliest one we sent. Here are three of my recent posts so you match my rhythm: [paste]. Keep it under 240 characters, no hashtags.

The second prompt gives a real angle, a real constraint, and real examples. The first gives the model nothing to work with but adjectives.

A prompt structure that works

You do not need a 500-word mega prompt. You need four parts, in roughly this order.

  1. 1
    Context: who you are and who you write for
    One line. I write for early-stage founders about hiring. This narrows the whole draft more than any tone word could.
  2. 2
    The job: what this specific post should do
    Share a lesson, ask a real question, tell a short story, make one sharp claim. Pick one. Posts that try to do three things at once read as mush.
  3. 3
    Voice examples: show, do not tell
    Paste two or three of your real posts. The model learns your rhythm and vocabulary from examples far better than from you describing them.
  4. 4
    Constraints: length, format, and hard nos
    Set a character limit, say no hashtags, no em dashes, no rhetorical questions if you hate them. Constraints do more than instructions.

Show your voice, do not describe it

This is the single highest-leverage move in prompting for X. Describing your voice as casual but sharp is nearly useless. Pasting three posts that are casual but sharp teaches the model in one shot. This is why voice-based tools beat tone sliders: they are built on your examples, not your adjectives.

How TweetX handles this
TweetX builds a voice profile from your real posts, so you do not paste examples into a prompt every time. The AI writes from that profile by default, which is show-dont-tell baked into the tool. You still steer each draft with the angle and the constraint.

Prompts worth saving

GoalPrompt shape
Get unstuck on a topicGive me five different angles on [idea], each one sentence. Do not write full posts yet.
Tighten a rambling draftHere is my draft. Cut it to the strongest version under 200 characters. Keep my words where you can.
Fix a weak first lineRewrite only the first line of this post five ways so it earns the tap. Keep the rest.
Turn a note into a postHere is a rough note I wrote. Draft it as a single post in my voice. Do not add claims I did not make.
The one instruction that saves you later
Add do not invent facts, numbers, or quotes to any prompt where the model might fill gaps. AI will happily make up a statistic to round out a post, and you will not catch it if you are moving fast.

The best prompt often starts with your bad draft

Counterintuitively, the highest-quality output usually comes when you give the AI something to react to rather than something to invent. Write the ugly version yourself, dump the idea in plain words, then ask the model to sharpen it. You keep the point of view and the first-hand detail, and the AI does the tightening. That division of labor is where AI is genuinely good.

You
@yourhandle

The email that made us the most money last quarter had a typo in the subject line.

We almost did not send it.

This started as a three-sentence ramble in a notes app. The AI cut it to two lines. The story, the typo, the near miss are all yours. That is the split that works.

FAQ

Long enough to include your context, the job, a couple of real examples, and your constraints, and no longer. That is usually a short paragraph plus two pasted posts. A giant prompt with lots of adjectives performs worse than a short one with real examples.

Related guides

Grow on X without the guesswork

TweetX writes in your voice, schedules straight to X, and turns your real analytics into a plain do more of this and do less of this.