From prompt-engineering
Choose the prompting pattern — zero-shot, few-shot, chain-of-thought, decomposition/chaining, role framing, or self-consistency — by tracing the task against reliability need and token/latency cost. Reach for this when a prompt is inconsistent, when you're about to add examples 'just in case', or when one prompt is quietly doing several jobs. Pairs with structured-output-design.
How this skill is triggered — by the user, by Claude, or both
Slash command
/prompt-engineering:prompt-pattern-selectionThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Pick the **cheapest pattern that clears the reliability bar.** Every step up the
Pick the cheapest pattern that clears the reliability bar. Every step up the ladder buys reliability with tokens and/or latency — so start low and climb only on evidence of failure.
Default to zero-shot. A clear, well-ordered instruction solves more than people expect. Reach for examples, CoT, or chaining only when a zero-shot prompt measurably fails the hard cases — not preemptively.
Run the prompt on the hard/edge cases and name how it fails:
Traverse ../../knowledge/prompt-decision-trees.md §1
to a leaf. Record the path and the runner-up.
Name what the pattern costs: few-shot adds input tokens; CoT adds output tokens + latency; decomposition adds calls (latency, orchestration); self-consistency multiplies cost by N. If the cost isn't justified by the reliability gain, drop back.
Run the chosen pattern against the regression set (owned by
prompt-reliability-engineer). Keep it only if it beats the simpler pattern on
evidence, not on a single lucky example.
prompt-implementation-engineer.prompt-reliability-engineer.prompt-architect.A pattern recommendation with the tree path, the runner-up and why it lost, the token/latency cost named, and the empirical check that justified it.
npx claudepluginhub mcorbett51090/ravenclaude --plugin prompt-engineeringGuides completion of development work by verifying tests, detecting environment, and presenting structured options for merge, PR, or cleanup.
Enforces test-driven development: write failing test first, then minimal code to pass. Use when implementing features or bugfixes.
Guides creation and editing of skills using test-driven development with pressure scenarios and subagents to verify agent compliance.