prompt-engineering-suite
Comprehensive prompt engineering with Chain-of-Thought, few-shot learning, prompt versioning, and optimization. Use when designing prompts, improving accuracy, managing prompt lifecycle.
npx skills add majiayu000/claude-skill-registry --skill prompt-engineering-suite --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Prompt Engineering Suite Design, version, and optimize prompts for production LLM applications. ## Overview - Designing prompts for new LLM features - Improving accuracy with Chain-of-Thought reasoning - Few-shot learning with example selection - Managing prompts in production (versioning, A/B testing) - Automatic prompt optimization with DSPy ## Quick Reference ### Chain-of-Thought Pattern ```python from langchain_core.prompts import ChatPromptTemplate COT_SYSTEM = """You are a helpful assistant that solves problems step-by-step. When solving problems: 1. Break down the problem into clear steps 2. Show your reasoning for each step 3. Verify your answer before responding 4. If uncertain, acknowledge limitations Format your response as: STEP 1: [description] Reasoning: [your thought process] STEP 2: [description] Reasoning: [your thought process] ... FINAL ANSWER: [your conclusion]""" cot_prompt = ChatPromptTemplate.from_messages([ ("system", COT_SYSTEM), ("human", "Problem: {problem}\n\nThink through this step-by-step."), ]) ``` ### Few-Shot with Dynamic Examples ```python from langchain_core.prompts import FewShotChatMessagePromptTemplate examples = [ {"input": "What is 2+2?", "
- Overview
- Quick Reference
- Chain-of-Thought Pattern
- Few-Shot with Dynamic Examples
- Prompt Versioning with Langfuse SDK v3
- DSPy 3.1.0 Automatic Optimization
- Pattern Selection Guide
- Key Decisions
- Anti-Patterns (FORBIDDEN)
- Detailed Documentation
- Related Skills
- Capability Details
- chain-of-thought
- few-shot-learning
What does the prompt-engineering-suite skill do?
Comprehensive prompt engineering with Chain-of-Thought, few-shot learning, prompt versioning, and optimization. Use when designing prompts, improving accuracy, managing prompt lifecycle.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill prompt-engineering-suite --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
