> ## Documentation Index
> Fetch the complete documentation index at: https://notes.kodekloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Your first prompt

> Guide showing how to craft an effective first prompt by specifying persona, context, and task to get fast useful AI responses

In this lesson you'll learn how to write your first effective prompt.

Twelve minutes before Maya’s next client call, she’s been avoiding a follow-up email for two weeks. The lead—a bakery owner she met about Instagram captions—hasn’t replied. Each day she waits, the opportunity drifts further away.

DeepSeek is open in the next tab. This is the moment of truth: will it save her time, or will it just waste more of it?

The chat interface is intentionally minimal. At the top left, a "New chat" button; a column for past conversations (empty here); a model selector at the top; and a large input area at the bottom where you type.

<Frame>
  <img src="https://mintcdn.com/kodekloud-c4ac6d9a/mFGmNm8vEtrQy5DO/images/Introduction-to-Deepseek/Meet-DeepSeek/Your-first-prompt/minimal-chat-ui-v4-flash.jpg?fit=max&auto=format&n=mFGmNm8vEtrQy5DO&q=85&s=27e1cc886e116209a19437e985d63f42" alt="A minimalist chat UI mockup with the heading &#x22;No tabs. No settings. Just four things.&#x22; It shows a sidebar with &#x22;New chat&#x22; and &#x22;Past chats&#x22;, a main panel labeled &#x22;V4‑Flash&#x22;, and a &#x22;Type here...&#x22; input field." width="1920" height="1080" data-path="images/Introduction-to-Deepseek/Meet-DeepSeek/Your-first-prompt/minimal-chat-ui-v4-flash.jpg" />
</Frame>

No tabs, no hidden settings to fiddle with — just a focused chat prompt box.

Maya types her first message into the input field. Writing it as one short, complete instruction helps the model deliver an immediate, usable result.

```text theme={null}
"I'm a freelance content writer. Two weeks ago, I had a meeting with a bakery owner about helping with her Instagram captions. She hasn't replied. Write a short follow-up email that sounds warm and patient, not pushy. Sign it, Maya."
```

She presses Enter. DeepSeek pauses briefly, then streams the reply in real time. Before she finishes reading the first sentence, the model is on the third. Forty words later she has a three-line email she can paste straight into Gmail. The tone is right, and her name is at the bottom. She changes just one phrase and hits send.

What had stalled in her inbox for two weeks took ninety seconds with DeepSeek.

<Frame>
  <img src="https://mintlify.s3.us-west-1.amazonaws.com/kodekloud-c4ac6d9a/images/Introduction-to-Deepseek/Meet-Deep-Seek/Your-first-prompt/blank-page-draft-instagram-captions-bakery.jpg" alt="A screenshot of a webpage titled &#x22;From blank page to a draft she can paste.&#x22; showing a short follow-up email about Instagram captions for a bakery signed &#x22;Maya.&#x22; Below the email are three stat boxes (40 words, 1 phrase changed, 90s blank to sent) and the line &#x22;A two-week stall, cleared in ninety seconds.&#x22;" />
</Frame>

Look at why that single message worked.

Maya explicitly told DeepSeek:

* Who she is (persona),
* The relevant context (a real meeting, a real prospect, no reply), and
* The exact task and tone (short follow-up email, warm and patient), plus how to sign it.

That combination gave the model enough information to produce a clean, nearly final draft on the first try.

<Frame>
  <img src="https://mintlify.s3.us-west-1.amazonaws.com/kodekloud-c4ac6d9a/images/Introduction-to-Deepseek/Meet-Deep-Seek/Your-first-prompt/three-invisible-moves-followup-email.jpg" alt="An infographic titled &#x22;Three invisible moves — Why that one message worked&#x22; showing three numbered cards: 1) &#x22;Who she is&#x22; with the line &#x22;I'm a freelance content writer.&#x22;, 2) &#x22;The context&#x22; with &#x22;A real meeting, a real prospect, no reply.&#x22;, and 3) &#x22;A specific job&#x22; with &#x22;Write a short follow-up email.&#x22;" />
</Frame>

<Callout icon="lightbulb" color="#1CB2FE">
  A concise, effective prompt usually contains three parts: (1) the persona or role to adopt, (2) the relevant context or constraints, and (3) the specific task plus desired tone or format. The more of these you include up front, the less editing the result will need.
</Callout>

Summary — The three essential prompt components:

| Component | What to include | Example |
| - | - | - |
| Persona | Who or what role the model should adopt | `I'm a freelance content writer.` |
| Context | Brief background, constraints, or relevant facts | `Two weeks ago I met a bakery owner about Instagram captions; she hasn't replied.` |
| Task & Tone | The exact output you want and the tone/format | `Write a short follow-up email, warm and patient. Sign it Maya.` |

Practical tips to get a strong first draft

* Be explicit about the persona if voice matters (e.g., "as a junior developer" or "as a friendly small-business owner").
* Include only the context that affects the result—avoid long unrelated backstory.
* Specify format and length (email, subject line, 2-3 bullets, 40–60 words).
* Mention tone: warm, assertive, technical, playful, concise, etc.
* If you want signatures, placeholders, or variables, state them in the prompt.

A quick checklist before you hit Enter

* [ ] Persona or role is specified (if needed)
* [ ] Relevant context is clear and concise
* [ ] Task, format, and tone are defined
* [ ] Any output constraints (word count, sign-off, bullets) are included

Maya’s prompt succeeded because it had shape: it told the model who, what, and how. Some prompts land immediately; others need iteration. Use the three invisible moves — persona, context, task — and you’ll get closer to a ready-to-send result on the first try.

<CardGroup>
  <Card title="Watch Video" icon="video" cta="Learn more" href="https://learn.kodekloud.com/user/courses/introduction-to-deepseek/module/c53b465d-cabe-43fd-82fb-33833b1b168a/lesson/51f73b33-8d49-473f-9659-5ff1671687d1" />
</CardGroup>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.