Provides workflows to write, debug, and optimize prompts for LLMs, including few-shot example selection, chain-of-thought structuring, system prompt design, and template composition. Use when the user asks to write or improve a prompt, wants help with few-shot examples, chain-of-thought, system prompts, prompt templates, or asks how to get better results from an LLM.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Prompt Engineering
## Overview
Use this skill to design prompt systems that are clear, testable, and reusable.
It covers prompt drafting, optimization, evaluation, and production-oriented
patterns for few-shot prompting, reasoning workflows, templates, and system
prompts.
Keep the main workflow in this file and load the targeted reference files only
for the pattern you are applying.
## When to Use
Use this skill when:
- A user asks to write, rewrite, or improve a prompt
- A prompt needs better structure, reliability, or output formatting
- Few-shot examples or reasoning scaffolds are needed
- A system prompt or reusable prompt template must be created
- An existing prompt needs measurable optimization and testing
Read the relevant files in `references/` when you need deeper guidance on a
specific pattern.
## Core Patterns
### 1. Few-Shot Learning
#### Example Selection Strategy
- Use `references/few-shot-patterns.md` for comprehensive selection frameworks
- Balance example count (3-5 optimal) with context window limitations
- Include edge cases and boundary conditions in example sets
- Prioritize diverse examples that cover problem space variations
…
The line at the top of this page pins the label git:20260316.68f3ca5, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
GET https://markdownregistry.com/api/v1/artifacts/art_r633lt67hwlhdpch
GET https://markdownregistry.com/api/v1/resolve?ref=giuseppe-trisciuoglio/developer-kit/prompt-engineering
GET https://markdownregistry.com/api/v1/blob/6dc34322d01d44be7e429107eba0b9756ae3a17e7167520172d4269f78c1e537
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
giuseppe-trisciuoglio/developer-kit · plugins/developer-kit-aws/skills/aws-cloudformation/aws-cloudformation-auto-scaling/SKILL.md · Provides AWS CloudFormation patterns for Auto Scaling including EC2, ECS, and Lambda. Use when creating Auto Scaling…
giuseppe-trisciuoglio/developer-kit · plugins/developer-kit-aws/skills/aws-cloudformation/aws-cloudformation-dynamodb/SKILL.md · Provides AWS CloudFormation patterns for DynamoDB tables, GSIs, LSIs, auto-scaling, and streams. Use when creating…
giuseppe-trisciuoglio/developer-kit · plugins/developer-kit-aws/skills/aws-cloudformation/aws-cloudformation-ec2/SKILL.md · Provides AWS CloudFormation patterns for EC2 instances, Security Groups, IAM roles, and load balancers. Use when…
ericrisco/rsc-harness · skills/prompt-engineering/SKILL.md · Use when one prompt must give the same right answer across reruns, models, and pasted-in hostile input: forcing a fixed…
codealive-ai/ai-driven-development · skills/prompt-engineering/SKILL.md · Universal prompt engineering techniques for any LLM. Use when crafting, optimizing, or reviewing prompts for AI models…
doodledood/manifest-dev · claude-plugins/manifest-dev-tools/skills/prompt-engineering/SKILL.md · Create, update, review, or discuss an LLM prompt — a system prompt, a skill, or an agent. Use when writing or improving…
nahid-sparktales/agent-dispatcher · skills/ai/prompt-engineering/SKILL.md · Write or revise a prompt so it holds up — output contract, instruction placement, examples that earn their place, an…
vodailocz/kilo-kit-mcp · skills/engineering/prompt-engineering/SKILL.md · Use when designing, optimizing, testing, or deploying robust prompt systems for AI agents. This skill provides…