Hyperframes pr to video

From oyi77/1ai-skills · View interactive version

Hyperframes pr to video is an AI agent skill from the GitHub repository oyi77/1ai-skills. Use when turning a GitHub pull request into a changelog or feature-reveal video. Turn a GitHub pull request into a changelog, feature-reveal, fix, or refactor explainer video using HyperFrames. Use when the user provides a PR URL, owner/repo#N ref, or says 'this PR'. Reads diff via gh CLI, visualize

How to use this skill

Skill file

Overview

This skill turns a pull request diff into a shareable code-walkthrough video via a HyperFrames composition. Use it when a review or announcement benefits from seeing the change animated. It renders an MP4 that presents the PR's story.

HyperFrames — PR to Video

A GitHub pull request → changelog / feature-reveal / fix / refactor explainer. Read via gh CLI, visualized as animated code diffs with narration.

When to Use

When NOT to Use

Workflow

1 · Fetch the PR

gh pr view 123 --json title,body,files,additions,deletions,author
gh pr diff 123 > pr-123.diff

Extract: title, description, files changed, lines added/removed, author.

2 · Classify the change

3 · Plan the story

4 · Visualize the diff

Render code hunks as styled blocks with line-level highlighting:

<div class="clip diff-scene" data-start="8" data-duration="12" data-track-index="1">
  <div class="diff-header">src/auth.ts — +42 / -18</div>
  <pre class="diff-added">+ function verifyToken(token) {</pre>
  <pre class="diff-removed">- function checkAuth(req) {</pre>
</div>

5 · Render

npx hyperframes render --output pr-123-reveal.mp4

Anti-Rationalization Table

| Rationalization | Reality |

|----------------|---------|

| "I'll show the entire diff" | Pick 2-3 key hunks — full diffs are unreadable on video |

| "I'll skip the context" | Viewers need the WHY before the WHAT |

| "I'll use tiny monospace" | 24px+ for code, highlight don't wallpaper |

| "I'll skip the author credit" | Credit the author — it's their work |

Verification

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.