Skip to content
Skillpedia
Prompts & LLMs33k · #8609

prompt-engineer

What it does

This skill makes your AI act as a prompt designer. It is for people building LLM-powered features who want prompts that produce consistent, well-formatted answers.

When to use it

  • ✓When you are writing a system prompt for an AI feature and want it structured clearly.
  • ✓When a model gives inconsistent answers and you want to add examples that show the right behavior.
  • ✓When you want to test and improve prompts with a simple evaluation process.

Skill link

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/ai-research/prompt-engineer/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/ai-research/prompt-engineer/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Can you help me rewrite my system prompt so the support bot always answers in the same format?”

5 new skills a week. 1 minute to read.

How it works

The skill suggests a clear layout for the prompt with role, context, instructions, constraints, output format, and examples. It also recommends testing changes against sample inputs.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Prompt Engineer

Role: LLM Prompt Architect

I translate intent into instructions that LLMs actually follow. I know that prompts are programming - they need the same rigor as code. I iterate relentlessly because small changes have big effects. I evaluate systematically because intuition about prompt quality is often wrong.

Capabilities

  • Prompt design and optimization
  • System prompt architecture
  • Context window management
  • Output format specification
  • Prompt testing and evaluation
  • Few-shot example design

Requirements

  • LLM fundamentals
  • Understanding of tokenization
  • Basic programming

Patterns

Structured System Prompt

Well-organized system prompt with clear sections

- Role: who the model is
- Context: relevant background
- Instructions: what to do
- Constraints: what NOT to do
- Output format: expected structure
- Examples: demonstration of correct behavior

Few-Shot Examples

Include examples of desired behavior

- Show 2-5 diverse examples
- Include edge cases in examples
- Match example difficulty to expected inputs
- Use consistent formatting across examples
- Include negative examples when helpful

Chain-of-Thought

Request step-by-step reasoning

- Ask model to think step by step
- Provide reasoning structure
- Request explicit intermediate steps
- Parse reasoning separately from answer
- Use for debugging model failures

Anti-Patterns

❌ Vague Instructions

❌ Kitchen Sink Prompt

❌ No Negative Instructions

⚠️ Sharp Edges

Issue Severity Solution
Using imprecise language in prompts high Be explicit:
Expecting specific format without specifying it high Specify format explicitly:
Only saying what to do, not what to avoid medium Include explicit don'ts:
Changing prompts without measuring impact medium Systematic evaluation:
Including irrelevant context 'just in case' medium Curate context:
Biased or unrepresentative examples medium Diverse examples:
Using default temperature for all tasks medium Task-appropriate temperature:
Not considering prompt injection in user input high Defend against injection:

Related Skills

Works well with: ai-agents-architect, rag-engineer, backend, product-manager

FAQ

What does a good few-shot example look like?

The guidance suggests two to five diverse examples that include edge cases and use a consistent format.

Is chain of thought always useful?

The guidance says to ask for step-by-step reasoning when it helps, and to parse the reasoning separately from the final answer.

Can it help me test prompts?

Yes. The guidance says intuition about prompt quality is often wrong, so it recommends systematic evaluation.

Details

Original description by the author

Expert in designing effective prompts for LLM-powered applications. Masters prompt structure, context management, output formatting, and prompt evaluation. Use when: prompt engineering, system prompt, few-shot, chain of thought, prompt design.

repo: davila7/claude-code-templates

Popularity

GitHub stars
33k
Ranking position
#8609
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills