# craft Worktree Finish Demo
# Shows: AI-assisted feature completion (tests -> changelog -> PR)

Output craft-finish.gif

Set Shell "zsh"
Set FontSize 18
Set Width 900
Set Height 550
Set Theme "Dracula"
Set Padding 15
Set TypingSpeed 40ms

# Show the 3-layer architecture
Type "# The 3-Layer Workflow:"
Enter
Sleep 1s
Type "# Layer 1: flow-cli (instant) - g, wt, cc"
Enter
Sleep 1s
Type "# Layer 2: aiterm (rich)     - ait feature, ait mcp"
Enter
Sleep 1s
Type "# Layer 3: craft (AI)        - /craft:git:worktree"
Enter
Sleep 2s

# Show the finish command
Type ""
Enter
Type "# Complete a feature with craft:"
Enter
Sleep 1s
Type "# /craft:git:worktree finish"
Enter
Sleep 1s
Type "#   Step 1: Run tests (auto-detect)"
Enter
Sleep 1s
Type "#   Step 2: Generate changelog entry"
Enter
Sleep 1s
Type "#   Step 3: Create PR with AI description"
Enter
Sleep 3s
