ChatGPT: Asking Questions Isn't Enough — 4 Prompt-Writing Principles That Double AI Performance
"Why does ChatGPT keep giving me off-the-mark or superficial answers no matter how detailed my questions are?"
Have you ever felt this way? Large language models (LLMs) like ChatGPT are treasure troves of knowledge. But using them is like telling a brilliant but directionless new hire, "Just get some work done." Even the best tool delivers only a fraction of its potential if you don't know how to use it.
As AI has become a core driver of work, the ability to write prompts has become as important as coding skills. Prompt engineering goes beyond listing keywords—it is about designing how the AI thinks.
This article distills four of the most structured, systematic prompt-writing principles I've refined through extensive trial and error. They're written for practitioners across roles—developers, PMs, marketers, and more. Master these, and I'm confident your work efficiency will at least double.
1. Give the AI a Role and Context: The Absolute Basics
By default, an AI model is a general-purpose assistant. If you don't specify the tone, perspective, and expertise you want, it will produce the most generic, vague answer. That's why persona assignment is essential.
✅ Hands-on example: Role assignment (role-playing)
Simple question: "Write some marketing copy for a new product." (→ You get generic, bland copy)
Improved prompt: "You are a B2B SaaS marketer with 20 years of experience. Your target customers are IT managers at small and mid-sized businesses, and the value they care about most is time savings. Emphasize that point and write three versions of copy that capture the core value of a cloud-based inventory management solution."
See the difference? The moment you assign the role of a "B2B SaaS marketer with 20 years of experience," the expertise, word choice, and emphasis of the answer completely change. Telling the AI whose perspective to speak from is the first and most important step.
2. Three Advanced Techniques That Maximize Performance: Design the Thinking Process
Once you've covered the basics, the next step is controlling the model's thinking process itself. These three techniques are essential when you need complex reasoning or structured output.
💡 Technique 1: CoT (Chain-of-Thought) — Guide Step-by-Step Reasoning
CoT is instructing the AI not to jump to the answer, but to show its reasoning. It's essential for complex logic problems and multi-step inference.
✅ Hands-on example: "When solving the following problem, do not give only the final answer. You must describe your thinking process step by step. (e.g., show that in step 1 you calculated A, in step 2 you applied B, and you ultimately reached conclusion C.)"
That single instruction makes the model spend more energy on explaining its logic than on guessing the right answer, which dramatically improves reliability.
💡 Technique 2: Few-shot Learning — Guide with Exemplar Answers
Few-shot learning provides a few examples (input-output pairs) so the model learns the pattern and format you want. It shines when the output format is picky.
✅ Hands-on example: "Here are examples that match [product name] and [key features] into a [concise benefit] summary. Follow this pattern to summarize the product below.
- Input: Laptop, 16GB RAM, 32GB SSD
- Output: A professional workstation that combines portability and high performance
- Input: Smartwatch, heart rate monitoring, sleep pattern analysis
- Output: Your personal health coach that tracks health data in real time
Input: Tablet, stylus support, slim design"
The model sees these examples and is forced to follow the specific "benefit summary" format.
💡 Technique 3: Output Format Enforcement
This is the most important part in real work. If the AI replies with a blob of text, you have to parse it yourself. Force the answer into JSON, a Markdown table, or specific key-value pairs.
✅ Hands-on example: "Your answer must strictly follow the JSON schema below. Do not add any other explanation or introduction.
{
"주제": "요약된 주제",
"핵심_키워드": ["키워드1", "키워드2"],
"추천_액션": "실무자가 취할 수 있는 구체적인 행동 지침"
}
```"
## 3. In Practice: A Guide to Building Role-Specific Prompt Templates
Now that you know the theory, let's learn templates you can use immediately.
| Work area | Goal | Principles applied | Core template structure |
| :--- | :--- | :--- | :--- |
| **Marketing copywriting** | Generate ad copy that resonates with the target audience | Role + Few-shot | "You are a [role]. Write copy for [target] in a [tone and manner]. Follow the example pattern: [Input] -> [Output], and output the final result as a Markdown list only." |
| **Code review and improvement** | Identify vulnerabilities and performance improvements | Role + CoT | "You are a [language] expert and senior developer. Review the code below and **explain it step by step in this order: security vulnerabilities, performance improvements, then readability improvements.**" |
| **Data summarization and comparison** | Extract key insights from a complex report | Format + CoT | "Read the report below and summarize it in **[JSON] format**. The required fields are 'key issues', 'impact (high/medium/low)', and 'recommended actions'." |
**💡 A practitioner's empirical advice:**
When I first started writing prompts, I tended to spend too much time hunting for the "perfect prompt." In real work, what matters is getting the maximum result with the minimum effort. So rather than a perfect prompt, finding **a structure that gets you to the desired result fastest through iterative testing** turned out to be the more practical approach.
## 4. Become an AI Expert by Building Your Own Prompt Library
Prompt engineering is not a one-off skill. It's a way of thinking. The end goal is to combine the four principles you learned today (role, context, CoT, few-shot, and format enforcement) into your own prompt library.
That library should hold proven, role-specific prompts: a marketing copy generation template, a technical document summarization template, a data analysis template, and so on. A systematic set of prompts like this is what turns you from a casual AI user into someone who directs AI.
---
## Frequently Asked Questions (FAQ)
**Q1. If I use RAG (Retrieval-Augmented Generation), do I still need prompt engineering?**
A1. Yes. RAG is a technique for *providing* external knowledge to the model. Instructing the model *how to reason and answer* based on that knowledge is still prompt engineering. Think of RAG as the ingredients and the prompt as the recipe.
**Q2. Does a prompt that's too long actually hurt performance?**
A2. Yes, it can. Too many instructions—or contradictory ones—confuse the model. Separate the core principles (role, goal, constraints) clearly, and ruthlessly cut unnecessary explanation. Conciseness matters.
**Q3. Do these principles apply to other LLMs besides ChatGPT (e.g., Claude, Gemini)?**
A3. Yes. The fundamental principles are the same regardless of the model. That said, each model may respond best to a slightly different style or emphasis, so it's worth testing and learning each model's characteristics.Nodelog는 모든 콘텐츠의 내용과 출처를 공개 전에 검토합니다. 환경(OS·버전)에 따라 결과가 달라질 수 있는 기술 정보는 공식 문서와 함께 확인하며, 검토 기준과 정정 원칙은 편집 정책에서 안내합니다. 오류를 발견하시면 이메일로 제보해 주세요 — 확인 후 신속히 정정합니다.
Comments
Be the first to comment.