Skip to main content
Techniques

10 Prompt Techniques That Actually Work

One Shotr Team7 min read

Forget the hype—these are prompt techniques that consistently deliver better results across AI tools. Each one is practical, tested, and ready to use.

1. Role Assignment

Start your prompt by giving the AI a role. This frames the entire conversation and influences the style, depth, and perspective of responses.

You are a senior software engineer with 10 years of experience in distributed systems...

2. Chain of Thought

Ask the AI to think step-by-step before answering. This produces more thorough, accurate responses for complex problems.

Think through this problem step by step before giving your final answer.

3. Few-Shot Examples

Show the AI what you want by providing examples. It learns the pattern and applies it to new inputs.

Convert casual text to formal:
Casual: "Hey, can we meet tomorrow?"
Formal: "I would like to request a meeting at your earliest convenience tomorrow."
Casual: "This is pretty cool!"
Formal: 

4. Output Format Specification

Tell the AI exactly how to structure its response. Be explicit about format, length, and structure.

Respond in this format:
- Summary: (2-3 sentences)
- Key Points: (bullet list)
- Recommendation: (1 sentence)

5. Context Injection

Provide relevant background information before your question. The more context, the better the response.

Context: I'm building a SaaS product for small business accounting. We use React, Node.js, and PostgreSQL. Our target users are non-technical small business owners.

Question: How should we approach our onboarding flow?

6. Constraint Setting

Define boundaries to focus the output. Constraints prevent rambling and keep responses relevant.

In under 100 words, explain [topic]. Use language suitable for a 10-year-old. Avoid technical jargon.

7. Self-Critique Request

Ask the AI to evaluate its own output. This catches errors and produces higher-quality results.

After giving your answer, critique it: What could be wrong? What's missing? Then provide an improved version.

8. Perspective Rotation

Ask for multiple viewpoints on a topic. This surfaces considerations you might have missed.

Analyze this decision from three perspectives:
1. A customer using the product
2. A developer maintaining it
3. A business owner paying for it

9. Iterative Refinement

Don't try to get everything in one prompt. Start simple, then refine through follow-up prompts.

First prompt: Write a product description for X.
Follow-up: Make it shorter and more punchy.
Follow-up: Add a sense of urgency.
Follow-up: Include a call to action.

10. Negative Constraints

Sometimes it's easier to say what you don't want. Use negative constraints to prevent common issues.

Write a blog post about AI.
DO NOT:
- Use clichés like "game-changer" or "revolutionary"
- Start with "In today's world..."
- Include generic advice

Putting It All Together

These techniques are most powerful when combined. A great prompt might include a role, context, specific constraints, and a defined output format. Start with one or two techniques, then add more as you get comfortable.

#techniques#prompt engineering#AI tips#productivity
O

One Shotr Team

The One Shotr team helps people write better prompts for AI tools.

Ready to write perfect prompts?

Stop wasting time on trial and error. Get it right the first time with One Shotr.

Try One Shotr Free