prompt-engineer

Solid

Design, optimize, test, and evaluate prompts for large language models. Use when: (1) crafting or refining system prompts, user prompts, or prompt templates, (2) optimizing token usage or cost of existing prompts, (3) designing few-shot examples or chain-of-thought reasoning, (4) setting up prompt evaluation, A/B testing, or regression testing, (5) building production prompt management systems (versioning, monitoring, safety), (6) debugging inconsistent or low-quality LLM outputs, (7) selecting prompt patterns (zero-shot, few-shot, CoT, ToT, ReAct, role-based). Triggers on: prompt engineering, optimize prompt, reduce tokens, prompt template, few-shot, chain-of-thought, prompt evaluation, A/B test prompts, prompt versioning.

AI & Automation 36 stars 22 forks Updated today MIT

Install

View on GitHub

Quality Score: 82/100

Stars 20%
52
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Prompt Engineer Craft and optimize LLM prompts for maximum effectiveness, consistency, and cost efficiency. ## Core Workflow ### 1. Requirements Analysis Before writing or editing any prompt: 1. Identify the **use case** — what task the prompt must accomplish 2. Define **success criteria** — accuracy target, format requirements, tone 3. Understand **constraints** — token budget, latency ceiling, cost limit, model choice 4. Review **existing prompts** and their failure modes (if any) 5. Determine **safety requirements** — input validation, output filtering, injection defense ### 2. Prompt Design Select the appropriate pattern based on task complexity. See `references/patterns.md` for detailed guidance on each. | Complexity | Pattern | When to Use | |-----------|---------|-------------| | Simple | Zero-shot | Clear task, model already knows the domain | | Medium | Few-shot | Specific format or style needed | | Complex | Chain-of-thought | Multi-step reasoning required | | Branching | Tree-of-thought | Multiple valid approaches to explore | | Agentic | ReAct | Tool use + reasoning interleaved | | Safety | Constitutional AI | Output must pass ethical/policy filters | Design principles: - **Instruction clarity** — state the task, constraints, and output format explicitly - **Minimal tokens** — every token must earn its place; compress without losing meaning - **Modular structure** — separate system prompt, context, instructions, and examples - **Variable placeholders**...

Details

Author
OpenCoven
Repository
OpenCoven/coven
Created
3 months ago
Last Updated
today
Language
Rust
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category