prompt-optimization

Installation
SKILL.md

Claude Code Prompt Optimization

Optimize CLAUDE.md files and Agent Skills for Claude Code CLI using Anthropic's official prompt engineering best practices.

Core Principles

1. Positive Framing Over Prohibitions

Models attend to key nouns/concepts. "NEVER use cat" still activates "use cat". Negation requires an extra logical step that can get lost during generation.

Instead of Write
"Never use X" "Use Y instead [because reason]"
"Don't include X" "Include only Y"
"Avoid X" "Prefer Y"
"X is forbidden" "Use Y for this operation"
"Don't explain" "Output only the result"

2. Be Specific Over Vague

Related skills

More from jamie-bitflight/claude_skills

Installs
8
GitHub Stars
44
First Seen
Mar 29, 2026