Files
claude-skills-reference/marketing-skill/prompt-engineer-toolkit/references/technique-guide.md
Alireza Rezvani 20c4fe823c fix: enhance 5 skills with scripts, references, and Anthropic best practices (#248)
* fix(skill): enhance git-worktree-manager with scripts, references, and Anthropic best practices

* fix(skill): enhance mcp-server-builder with scripts, references, and Anthropic best practices

* fix(skill): enhance changelog-generator with scripts, references, and Anthropic best practices

* fix(skill): enhance ci-cd-pipeline-builder with scripts, references, and Anthropic best practices

* fix(skill): enhance prompt-engineer-toolkit with scripts, references, and Anthropic best practices

* docs: update README, CHANGELOG, and plugin metadata

* fix: correct marketing plugin count, expand thin references

---------

Co-authored-by: Leo <leo@openclaw.ai>
2026-03-04 08:25:54 +01:00

675 B

Technique Guide

Selection Rules

  • Zero-shot: deterministic, simple tasks
  • Few-shot: formatting ambiguity or label edge cases
  • Chain-of-thought: multi-step reasoning tasks
  • Structured output: downstream parsing/integration required
  • Self-critique/meta prompting: prompt improvement loops

Prompt Construction Checklist

  • Clear role and goal
  • Explicit output format
  • Constraints and exclusions
  • Edge-case handling instruction
  • Minimal token usage for repetitive tasks

Failure Pattern Checklist

  • Too broad objective
  • Missing output schema
  • Contradictory constraints
  • No negative examples for unsafe behavior
  • Hidden assumptions not stated in prompt