Loading...
Loading...
This skill should be used when creating, optimizing, or implementing advanced prompt patterns including few-shot learning, chain-of-thought reasoning, prompt optimization workflows, template systems, and system prompt design. It provides comprehensive frameworks for building production-ready prompts with measurable performance improvements.
npx skill4agent add giuseppe-trisciuoglio/developer-kit prompt-engineeringreferences/few-shot-patterns.mdExample 1 (Basic case):
Input: {representative_input}
Output: {expected_output}
Example 2 (Edge case):
Input: {challenging_input}
Output: {robust_output}
Example 3 (Error case):
Input: {problematic_input}
Output: {corrected_output}
Now handle: {target_input}references/cot-patterns.mdLet's approach this step-by-step:
Step 1: {break_down_the_problem}
Analysis: {detailed_reasoning}
Step 2: {identify_key_components}
Analysis: {component_analysis}
Step 3: {synthesize_solution}
Analysis: {solution_justification}
Final Answer: {conclusion_with_confidence}references/optimization-frameworks.mdreferences/template-systems.md{user_input}{context}# System Context
You are a {role} with {expertise_level} expertise in {domain}.
# Task Context
{if background_information}
Background: {background_information}
{endif}
# Instructions
{task_instructions}
# Examples
{example_count}
# Output Format
{output_specification}
# Input
{user_query}references/system-prompt-design.mdYou are an expert {role} specializing in {domain} with {experience_level} of experience.
## Core Capabilities
- List specific capabilities and expertise areas
- Define scope of knowledge and limitations
## Behavioral Guidelines
- Specify interaction style and communication approach
- Define error handling and uncertainty protocols
- Establish quality standards and verification requirements
## Output Requirements
- Specify format expectations and structural requirements
- Define content inclusion and exclusion criteria
- Establish consistency and validation requirements
## Safety and Ethics
- Include content policy adherence
- Specify bias mitigation requirements
- Define harm prevention protocolsreferences/few-shot-patterns.mdreferences/cot-patterns.mdreferences/optimization-frameworks.mdreferences/template-systems.mdreferences/system-prompt-design.mdClassify customer feedback into categories using semantic similarity for example selection and diversity sampling for edge case coverage.Implement step-by-step reasoning for financial analysis with verification steps and confidence scoring.Create modular templates with role-based components and conditional sections for different inquiry types.Design comprehensive system prompt with behavioral guidelines, output requirements, and safety constraints.