Prompt Optimization Guide
Comprehensive guide for crafting high-quality prompts that maximize AI understanding and effectiveness. Contains best practices for clarity, context, structure, and tactical approaches to prompt engineering.
When to Apply
Reference these guidelines when:
- Crafting initial prompts for complex tasks
- Improving AI response quality and accuracy
- Training team members on effective AI interaction
- Iterating on prompts that aren't producing desired results
- Creating reusable prompt templates
Rule Categories by Priority
| Priority | Category | Impact | Prefix |
|----------|----------|--------|--------|
| 1 | Clarity and Precision | CRITICAL | clarity- |
| 2 | Context Provisioning | CRITICAL | context- |
| 3 | Structure and Formatting | HIGH | structure- |
| 4 | Tactical Tips | MEDIUM | tactical- |
| 5 | Examples and Patterns | MEDIUM | example- |
| 6 | Advanced Techniques | HIGH | advanced- |
Quick Reference
1. Clarity and Precision (CRITICAL)
clarity-specific-language- Use precise terminology instead of vague conceptsclarity-define-terms- Define technical terms or acronymsclarity-clear-objectives- State specific goals and expectationsclarity-avoid-ambiguity- Eliminate vague pronouns and references
2. Context Provisioning (CRITICAL)
context-project-info- Include relevant project backgroundcontext-current-state- Describe current situation and constraintscontext-goals-outcomes- Specify desired outcomes and success criteriacontext-priorities-tradeoffs- Explain important priorities and trade-offs
3. Structure and Formatting (HIGH)
structure-segmentation- Break complex requests into logical sectionsstructure-order-of-info- Present information in logical sequencestructure-formatting-visual- Use markdown for readabilitystructure-sequential-steps- Number steps when sequence matters
4. Tactical Tips (MEDIUM)
tactical-role-definition- Assign specific roles to AItactical-expectation-setting- Explicitly state output formattactical-feedback-loops- Include iteration and refinement cyclestactical-constraints-clarification- Clearly define limitations
5. Examples and Patterns (MEDIUM)
example-good-vs-bad- Compare effective and ineffective approachesexample-template-patterns- Provide reusable prompt templatesexample-industry-specific- Show domain-specific best practicesexample-error-patterns- Highlight common mistakes to avoid
6. Advanced Techniques (HIGH)
How to Use
Follow the systematic approach outlined in USAGE.md for consistent prompt optimization results.
Scan to join WeChat group