prompt-engineering
Installation
SKILL.md
Prompt Engineering
Reference for writing and reviewing LLM system prompts. Based on Harada et al. (2024) — Curse of Instructions, EARS syntax, and ARQ pattern.
1. Minimize the Rule Count (Curse of Instructions)
The probability of the model following all rules simultaneously is approximately P = p^N, where N is the number of independently verifiable instructions and p is the per-rule adherence rate.
| N rules | p = 0.95 | p = 0.90 |
|---|---|---|
| 5 | 77% | 59% |
| 10 | 60% | 35% |
| 20 | 36% | 12% |
| 30 | 21% | 4% |
Target: 10 or fewer distinct rules in the system prompt.