cyberneticlibrary

Write effective prompts for LLMs

writing-for-llmsskillsetup L1381
majiayu000/claude-skill-registry
What it does

Structure prompts for clarity with XML tags and few-shot examples

Best for

Prompt engineering that avoids anti-pattern traps by showing only correct patterns and front-loading critical info

Inputs
  • · prompt goal
  • · example inputs/outputs
Outputs
  • · prompt text
  • · system prompt
Preconditions

Knows target LLM capability

Failure modes
  • · Anti-patterns shown as negative examples
  • · Examples structurally inconsistent
  • · Over-prescriptive process instead of goals
Trust signals
  • · @rules/prompt-engineering.mdc reference
  • · XML structure discipline
  • · No anti-patterns shown