Skip to content

Commit f82fefd

Browse files
ofriwclaude
andcommitted
Add value-focused caption requirements to presentation generator
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 3982397 commit f82fefd

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

scripts/generate-presentation.js

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,13 +155,27 @@ Examples you will see:
155155
**MANDATORY RULE:** When you encounter a [VISUAL_COMPONENT: X] marker, you MUST:
156156
1. Generate a "visual" slide type (NOT a "concept" slide)
157157
2. Set "component" field to the exact component name from the marker
158-
3. Use the surrounding context to write a descriptive caption
158+
3. Use the surrounding context to write a VALUE-FOCUSED caption
159+
160+
**CAPTION REQUIREMENTS:**
161+
162+
CRITICAL: Captions must be EXACTLY ONE SHORT SENTENCE capturing the core essence.
163+
- Length: 8-15 words maximum
164+
- No statistics, percentages, or numerical data
165+
- Less is more—distill to the single most important insight
166+
167+
✓ Capture the core conceptual essence in one breath
168+
✓ Be direct and concise—what's the ONE key insight?
169+
✓ Focus on impact or principle, not detailed explanation
170+
✗ Don't include multiple points or list consequences
171+
✗ Don't use numbers, statistics, or percentages
172+
✗ Don't just describe what's shown (that's the title's job)
159173
160174
Example:
161175
{
162176
"type": "visual",
163177
"component": "AbstractShapesVisualization",
164-
"caption": "Visual comparison showing cluttered vs clean context"
178+
"caption": "Clean context prevents agent hallucinations"
165179
}
166180
167181
**DO NOT:**

0 commit comments

Comments
 (0)