Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
daemon-blockint-tech avatar

Prompt Engineer

  • 27 installs
  • 7 repo stars
  • Updated May 20, 2026
  • daemon-blockint-tech/agentic-enteprises-skill

Design, test, and optimize LLM prompts: prompt patterns (few-shot, chain-of-thought, ReAct), system prompt design, output formatting, evaluation, and token optimization.

About

Guides prompt design, testing, and optimization for LLM interactions covering prompt patterns, system prompts, output formatting, evaluation, and token reduction. A developer uses it when writing or optimizing prompts, designing system prompts, or specifying structured output formats.

  • Covers few-shot, zero-shot, chain-of-thought, ReAct, and self-consistency patterns
  • Includes prompt evaluation, edge-case testing, and token-reduction optimization

Prompt Engineer by the numbers

  • 27 all-time installs (skills.sh)
  • Ranked #9,601 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Jul 29, 2026 (Skillselion catalog sync)
npx skills add https://github.com/daemon-blockint-tech/agentic-enteprises-skill --skill prompt-engineer

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs27
repo stars7
Last updatedMay 20, 2026
Repositorydaemon-blockint-tech/agentic-enteprises-skill

What it does

Design, test, and optimize LLM prompts: prompt patterns (few-shot, chain-of-thought, ReAct), system prompt design, output formatting, evaluation, and token optimization.

Files

SKILL.mdMarkdownGitHub ↗

Prompt Engineer

Overview

Design, test, and optimize prompts for LLM interactions. This skill covers prompt patterns (few-shot, chain-of-thought, ReAct), system prompt design, output formatting, prompt evaluation, and prompt optimization techniques.

Features

  • Prompt patterns: few-shot, zero-shot, chain-of-thought, ReAct, self-consistency
  • System prompt design: role definition, constraints, output format specification
  • Output formatting: JSON, XML, markdown, structured templates
  • Prompt evaluation: quality metrics, consistency testing, edge case analysis
  • Prompt optimization: token reduction, clarity improvement, robustness testing

Usage

1. Identify the user's prompt need (pattern selection, system prompt, output format, or optimization) 2. Follow the corresponding workflow below 3. Produce structured outputs: prompt templates, system prompts, output schemas, or evaluation reports

Examples

  • User: "Write a prompt for summarization"

Agent: Runs Prompt Design workflow, selects zero-shot pattern, defines role and constraints, produces prompt with output format

  • User: "Optimize this prompt"

Agent: Runs Prompt Optimization workflow, identifies ambiguity, reduces token count, adds clarity, tests edge cases

  • User: "Evaluate prompt quality"

Agent: Runs Prompt Evaluation workflow, tests against quality metrics, identifies failure modes, produces improvement recommendations

When to Use

  • Designing, versioning, and evaluating prompts for LLM-powered features
  • Building agent workflows (ReAct, tool use, multi-agent coordination)
  • Optimizing accuracy, format compliance, latency, and token cost
  • Deploying guardrails, observability, and abuse defenses for GenAI in production

When NOT to Use

  • Classical ML model training, feature engineering, or statistical A/B tests → use data-scientist
  • General technical writing, API reference, or runbooks → use tech-writer-researcher
  • Cloud infrastructure, CI/CD, or Kubernetes operations → use infrastructure-engineer
  • Revenue recognition or finance close procedures → use senior-revenue-accountant
  • Multi-feature token reduction roadmap → use ai-token-improvement-plan-engineer
  • Rigorous token-efficiency experiments and ablations → use research-engineer-scientist-tokens

Core Workflows

1. Prompt Design Workflow

Step-by-step process:

1. Define the task clearly

  • What input does the user provide?
  • What output format is required?
  • What constraints must be enforced?

2. Choose the pattern

PatternWhenStructure
Zero-shotSimple, well-defined tasksInstructions + input
Few-shotPattern recognition, formattingExamples + task
Chain-of-thoughtReasoning, math, logic"Let's think step by step"
Role-basedDomain expertise needed"You are a senior X..."
StructuredAPI/programmatic consumptionJSON schema, XML template

3. Draft and iterate

  • Start simple, add complexity only where needed
  • Use clear separators (###, XML tags, markdown)
  • Specify output format explicitly
  • Include constraints and what to avoid

4. Test with edge cases

  • Empty input, malformed input, adversarial input
  • Boundary conditions
  • Multiple languages or formats

2. Prompt Optimization & Testing

Evaluation dimensions:

  • Accuracy: Does it produce correct results? (human or model judge)
  • Consistency: Same input → same output? (temperature, seed control)
  • Format compliance: Does output match the schema? (JSON validator)
  • Latency: Time to first token, total generation time
  • Cost: Tokens consumed (input + output)

Testing workflow: 1. Build a benchmark dataset (50-200 diverse examples) 2. Establish baseline with current prompt 3. Modify one variable at a time (prompt, model, temperature) 4. Run A/B comparison on benchmark 5. Measure and document improvement

3. Agent Orchestration

Agent patterns:

PatternWhenComponents
ReActTool-using agentReasoning + Action + Observation loop
Plan-and-SolveMulti-step tasksPlanner → Executor → Checker
ReflexionSelf-improvementExecute → Evaluate → Revise
Multi-agentComplex workflowsSpecialist agents + coordinator

Tool use checklist:

  • [ ] Tool schemas are clearly defined (name, description, parameters)
  • [ ] Agent can handle tool failure gracefully
  • [ ] Tool results are summarized, not passed raw to user
  • [ ] Rate limits and costs are monitored

4. Production Patterns

Security checklist:

  • [ ] Input validated and sanitized
  • [ ] Prompt injection defenses in place (delimiters, output filtering)
  • [ ] No sensitive data in prompts (PII, secrets)
  • [ ] Output filtered for harmful content
  • [ ] Rate limiting and abuse detection

Observability:

  • Log all prompts and responses (with PII redaction)
  • Track token usage and cost per user/request
  • Monitor for drift in output quality
  • Alert on error rates and latency spikes

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.