Files
claude-code-skills-reference/demos/ppt-creator/create-presentation.tape
daymade 4ce0bb2ab4 fix: Remove bash execution errors from demos using echo commands
**Critical fix for Image #1 issue:**

**Root cause:** VHS interprets typed text as actual bash commands in a real shell.
Text like "Create:", "Conclusion:", "12" caused "command not found" errors.

**Solution:** Wrap all narrative text in `echo '...'` commands for proper bash execution.

**Changes:**
- ppt-creator demo: All stages now use `echo` for display
- ui-designer demo: All steps now use `echo` for display
- File sizes increased (proper animation rendering):
  - ppt-creator: 496KB → 2.2MB
  - ui-designer: 262KB → 2.6MB

**Verification:**
✓ No "command not found" errors in VHS output
✓ Both GIFs render as valid 1400x800 GIF89a format
✓ All stage names and deliverables remain accurate per SKILL.md

**Technical details:**
- Before: `Type "# Stage 2: Storyline"` → bash error
- After: `Type "echo '# Stage 2: Storyline'"` → clean output

This fix ensures demos display workflow narratives without bash execution errors.
2025-10-26 13:25:28 +08:00

65 lines
2.1 KiB
VHS

Output demos/ppt-creator/create-presentation.gif
Set FontSize 18
Set Width 1400
Set Height 800
Set Theme "Catppuccin Mocha"
Set Padding 30
Set TypingSpeed 50ms
Type "echo '# PPT Creator - Professional Presentation Generation'" Sleep 500ms Enter
Sleep 2s
Type "echo 'User: Create a presentation about renewable energy'" Sleep 500ms Enter
Sleep 2s
Type "echo ''" Sleep 100ms Enter
Type "echo '✓ ppt-creator activates automatically'" Sleep 500ms Enter
Sleep 2s
Type "echo ''" Sleep 100ms Enter
Type "echo '# Stage 2: Storyline (Pyramid Principle)'" Sleep 500ms Enter
Sleep 500ms
Type "echo ' → Conclusion: Renewable energy adoption is accelerating'" Sleep 500ms Enter
Sleep 2s
Type "echo ''" Sleep 100ms Enter
Type "echo '# Stage 3: Outline & Slide Titles (Assertions)'" Sleep 500ms Enter
Sleep 500ms
Type "echo ' → 12 slides with assertion-style headings'" Sleep 500ms Enter
Sleep 2s
Type "echo ''" Sleep 100ms Enter
Type "echo '# Stage 4: Evidence & Charts'" Sleep 500ms Enter
Sleep 500ms
Type "echo ' → Selecting charts via VIS-GUIDE.md'" Sleep 500ms Enter
Sleep 500ms
Type "echo ' → scripts/chartkit.py generates PNG charts'" Sleep 500ms Enter
Sleep 2s
Type "echo ''" Sleep 100ms Enter
Type "echo '# Stage 6: Speaker Notes (45-60s per slide)'" Sleep 500ms Enter
Sleep 500ms
Type "echo ' → Opening → Assertion → Evidence → Transition'" Sleep 500ms Enter
Sleep 2s
Type "echo ''" Sleep 100ms Enter
Type "echo '# Stage 7: Self-Check & Scoring (RUBRIC.md)'" Sleep 500ms Enter
Sleep 500ms
Type "echo ' → Score: 82/100 (target: ≥75)'" Sleep 500ms Enter
Sleep 2s
Type "echo ''" Sleep 100ms Enter
Type "echo '# Stage 8: Package Deliverables (/output/)'" Sleep 500ms Enter
Sleep 500ms
Type "echo ' ✓ slides.md (Marp/Reveal.js format)'" Sleep 500ms Enter
Sleep 500ms
Type "echo ' ✓ notes.md (speaker notes)'" Sleep 500ms Enter
Sleep 500ms
Type "echo ' ✓ refs.md (citations & sources)'" Sleep 500ms Enter
Sleep 500ms
Type "echo ' ✓ assets/*.png (generated charts)'" Sleep 500ms Enter
Sleep 500ms
Type "echo ' ✓ presentation.pptx (if python-pptx available)'" Sleep 500ms Enter
Sleep 3s