prompt-engineering

Solid

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.

AI & Automation 263 stars 31 forks Updated 1 weeks ago MIT

Install

View on GitHub

Quality Score: 89/100

Stars 20%
81
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# 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 - Order examples from simple to complex for progressive learning #### Few-Shot Example (Sentiment Classification) ``` Classify the sentiment as Positive, Negative, or Neutral. Text: "I love this product! It exceeded my expectations." Sentiment: Positive Reasoning: Enthusiastic language, positive adjectives, satisfacti...

Details

Author
giuseppe-trisciuoglio
Repository
giuseppe-trisciuoglio/developer-kit
Created
7 months ago
Last Updated
1 weeks ago
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

prompt-engineering-patterns

Master advanced prompt engineering techniques to maximize LLM performance, reliability, and controllability.

39,350 Updated today
sickn33
AI & Automation Featured

prompt-engineering-patterns

Master advanced prompt engineering techniques to maximize LLM performance, reliability, and controllability.

27,705 Updated today
davila7
AI & Automation Solid

prompt-engineer

Writes, refactors, and evaluates prompts for LLMs — generating optimized prompt templates, structured output schemas, evaluation rubrics, and test suites. Use when designing prompts for new LLM applications, refactoring existing prompts for better accuracy or token efficiency, implementing chain-of-thought or few-shot learning, creating system prompts with personas and guardrails, building JSON/function-calling schemas, or developing prompt evaluation frameworks to measure and improve model performance.

9,537 Updated 1 weeks ago
Jeffallan
AI & Automation Listed

prompt-engineering-patterns

Master advanced prompt engineering techniques to maximize LLM performance, reliability, and controllability in production. Use when optimizing prompts, improving LLM outputs, or designing production prompt templates.

1 Updated 6 days ago
HermeticOrmus
AI & Automation Listed

prompt-engineering-patterns

Master advanced prompt engineering techniques to maximize LLM performance, reliability, and controllability in production. Use when optimizing prompts, improving LLM outputs, or designing production prompt templates.

18 Updated 6 days ago
HermeticOrmus