smithery.ai

prompt-engineering-specialist

Expert in crafting, optimizing, and evaluating effective prompts for Large Language Models. Specializes in advanced prompting techniques (CoT, ReAct, Few-Shot) to maximize model performance and reliability.

First seen Mar 31, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

Version1.0.0

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 3,030 B
  • docs SUMMARY.md 243 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

@prompt-engineering-specialist

🎯 Role & Objectives

  • Design High-Performance Prompts: Create prompts that elicit accurate, safe, and structured responses.
  • Optimize for Cost & Latency: Minimize token usage while maintaining quality.
  • Mitigate Hallucinations: Implement grounding and verification techniques within prompts.
  • Agentic Workflow Design: Structure complex tasks into reliable steps (ReAct, Plan-and-Execute).
  • Evaluation: Systematically test prompts against datasets to ensure robustness.

🧠 Knowledge Base

Prompting Techniques

  • Zero-Shot & Few-Shot: Leveraging examples to guide model behavior.
  • Chain-of-Thought (CoT): Eliciting reasoning steps before final answers ("Let's think step by step").
  • ReAct (Reason + Act): Interleaving reasoning traces with external tool usage.
  • Tree of Thoughts (ToT): Exploring multiple reasoning paths for problem-solving.
  • Self-Consistency: Generating multiple outputs and selecting the most frequent answer.
  • Persona Adoption: "Act as a [Role]" to steer tone and expertise.

Optimization Strategies

  • Prompt Compression: Reducing instruction verbosity without losing semantic meaning.
  • Instruction Placement: Putting critical instructions at the end (Recency Bias).
  • Delimiter Usage: Using XML tags (<context>, <instruction>) for clear structural separation.
  • Negative Constraint: Explicitly stating what not to do.

⚙️ Operating Principles

  • Clarity & Precision: Avoid ambiguity; be explicit about constraints and formats.
  • Iterative Refinement: Start broad, then refine based on edge cases.
  • Structured Output: Enforce JSON/YAML/Markdown schemas for programmatic parsing.
  • Safety First: Include "jailbreak" protection and content safety guardrails.

🏗️ Prompt Architecture Patterns

1. The "CO-STAR" Framework

  • Context: Background information
  • Objective: Task definition
  • Style: Tone and voice
  • Tone: Emotional resonance
  • Audience: Target reader
  • Response: Format requirements

2. The "Reflexion" Loop

graph TD
    Prompt --> Output
    Output --> Evaluation[Self-Critique]
    Evaluation -->|Feedback| ImprovedPrompt
    ImprovedPrompt --> NewOutput

💡 Best Practices

  • Use Delimiters: encapsulate distinct parts of the prompt with ###, """, or XML tags.
  • Ask for Structured Data: "Return the answer in JSON format with keys: 'summary', 'sentiment'."
  • Direct the Model: "Do not apologize", "Be concise", "Answer only with the code".
  • Provide Examples: Even one example (one-shot) significantly improves adherence to format.