Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
davila7 avatar

Prompt Engineer

  • 1.1k installs
  • 29.9k repo stars
  • Updated July 27, 2026
  • davila7/claude-code-templates

prompt-engineer is an agent skill for structured Claude Code prompt design and refinement.

About

The prompt-engineer skill from claude-code-templates teaches structured prompt design for Claude Code agents including role definition, constraint blocks, few-shot examples, and evaluation loops. It covers decomposing vague user goals into testable instructions, separating system behavior from tool usage rules, and iterating prompts against failure cases. Agents apply templates for coding assistants, reviewers, and workflow orchestrators while avoiding ambiguous or conflicting instruction stacks. The skill emphasizes measurable success criteria and concise prompt sections that models can follow reliably during long multi-step sessions.

  • Structured system prompt design for Claude Code agents.
  • Role, constraint, few-shot, and evaluation loop patterns.
  • Separates system behavior from tool usage instructions.
  • Templates for coding, review, and orchestration assistants.
  • Emphasizes measurable success criteria in prompts.

Prompt Engineer by the numbers

  • 1,145 all-time installs (skills.sh)
  • +45 installs in the week ending Jul 28, 2026 (Skillselion tracking)
  • Ranked #928 of 16,659 AI & Agent Building skills by installs in the Skillselion catalog
  • Security screen: MEDIUM risk (skills.sh audit)
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
From the docs

What prompt-engineer says it does

prompt engineer
SKILL.md
npx skills add https://github.com/davila7/claude-code-templates --skill prompt-engineer

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1.1k
repo stars29.9k
Security audit3 / 3 scanners passed
Last updatedJuly 27, 2026
Repositorydavila7/claude-code-templates

How should I write or improve system prompts for this agent workflow?

Craft and refine system prompts and agent instructions using prompt engineering patterns.

Who is it for?

Developers authoring or tuning Claude Code agent instruction templates.

Skip if: Skip when the task is pure application code without prompt changes.

When should I use this skill?

User engineers, refines, or debugs agent system prompts and instructions.

What you get

Testable prompt sections with clear roles, constraints, and success criteria.

  • System prompt draft
  • Evaluation criteria
  • Structured output specification

Files

SKILL.mdMarkdownGitHub ↗

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

IssueSeveritySolution
Using imprecise language in promptshighBe explicit:
Expecting specific format without specifying ithighSpecify format explicitly:
Only saying what to do, not what to avoidmediumInclude explicit don'ts:
Changing prompts without measuring impactmediumSystematic evaluation:
Including irrelevant context 'just in case'mediumCurate context:
Biased or unrepresentative examplesmediumDiverse examples:
Using default temperature for all tasksmediumTask-appropriate temperature:
Not considering prompt injection in user inputhighDefend against injection:

Related Skills

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

Related skills

FAQ

What prompt sections are recommended?

Role definition, constraints, few-shot examples, and evaluation criteria.

How are tool rules handled?

Separate system behavior instructions from tool usage rules.

What makes a good prompt?

Concise testable sections with measurable success criteria.

Is Prompt Engineer safe to install?

skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.