Loading...
Loading...
Design, test, and optimize prompts for LLM interactions. Cover prompt patterns (few-shot, chain-of-thought, ReAct), system prompt design, output formatting, prompt evaluation, and prompt optimization techniques. Triggers on "write prompt", "optimize prompt", "design system prompt", "few-shot examples", "chain of thought", "prompt evaluation", "LLM output formatting", "prompt testing", or "prompt patterns".
npx skill4agent add daemon-blockint-tech/agentic-enteprises-skill prompt-engineerdata-scientisttech-writer-researcherinfrastructure-engineersenior-revenue-accountantai-token-improvement-plan-engineerresearch-engineer-scientist-tokens| Pattern | When | Structure |
|---|---|---|
| Zero-shot | Simple, well-defined tasks | Instructions + input |
| Few-shot | Pattern recognition, formatting | Examples + task |
| Chain-of-thought | Reasoning, math, logic | "Let's think step by step" |
| Role-based | Domain expertise needed | "You are a senior X..." |
| Structured | API/programmatic consumption | JSON schema, XML template |
| Pattern | When | Components |
|---|---|---|
| ReAct | Tool-using agent | Reasoning + Action + Observation loop |
| Plan-and-Solve | Multi-step tasks | Planner → Executor → Checker |
| Reflexion | Self-improvement | Execute → Evaluate → Revise |
| Multi-agent | Complex workflows | Specialist agents + coordinator |