prompt-engineering

Featured

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 253 stars 28 forks Updated 3 days ago MIT

Install

View on GitHub

Quality Score: 91/100

Stars 20%
80
Recency 20%
100
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
3 days ago
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

prompt-master

Generates optimized prompts for any AI tool. Use when writing, fixing, improving, or adapting a prompt for LLM, Cursor, Midjourney, image AI, video AI, coding agents, or any other AI tool.

8,208 Updated 3 weeks ago
nidhinjs
AI & Automation Featured

prompting

Meta-prompting system for dynamic prompt generation using templates, standards, and patterns. USE WHEN meta-prompting, template generation, prompt optimization, or programmatic prompt composition.

14,396 Updated 5 days ago
danielmiessler
AI & Automation Solid

agency-image-prompt-engineer

Expert photography prompt engineer specializing in crafting detailed, evocative prompts for AI image generation. Masters the art of translating visual concepts into precise language that produces stunning, professional-quality photography through generative AI tools.

68 Updated 1 months ago
mk-knight23
AI & Automation Solid

agent-skills-authoring

Guides agents through creating, validating, and optimizing Agent Skills (SKILL.md files) from user requests. Covers all YAML frontmatter fields, directory layout, progressive disclosure, scripts, quality patterns, and evaluation workflows. Use when a user asks you to create, edit, audit, or improve an Agent Skill, even if they don't use the word "skill" — any request about reusable agent instructions, workflow packaging, or capability extension should trigger this skill.

22 Updated 2 months ago
zebbern
Data & Documents Solid

skill-evolve

用演进式方法论改进任何 skill 的质量。当用户说"改进这个 skill"、"这个 skill 效果不好"、"优化 skill"、"skill 不够好"、"迭代 skill"、"skill-evolve"、"/evolve"时触发。也适用于用户拿着一个 skill 的输出结果说"不满意"、"有问题"、"效果差"的场景。不要等用户明确说"演进"——只要他们在讨论一个 skill 的质量问题,就应该启用。

36 Updated 2 months ago
OrangeViolin