From build
Reads PR body (Preview URL + How to Test steps), drives agent-browser to capture screenshot (1 step) or video (2+ steps), returns artifact path for manual attachment on GitHub.
How this skill is triggered — by the user, by Claude, or both
Slash command
/build:use-workflow-pageshotWhen to use
/pr workflow UI変更検出時のスクショ/動画撮影, screenshot capture, video capture
opusThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
| Field | Source |
| Field | Source |
|---|---|
| Preview URL | The leading Preview URL: <URL> line in the PR body |
| Steps | Numbered list under the ## How to Test section in PR body |
PR body is passed as a string from /pr. If Preview URL or How to Test is missing, return mode: failed with the missing field name and let /pr decide.
| Steps count | Mode | Artifact |
|---|---|---|
| 1 | screenshot | step-01.png |
| 2+ | video | capture.mp4 |
| Step | Action |
|---|---|
| 1 | Create output directory: ${CLAUDE_SKILL_DIR}/../../workspace/pageshot/$(date +%Y%m%d-%H%M%S)/ |
| 2 | agent-browser open {Preview URL} |
| 3 | Run Screenshot Flow or Video Flow based on Mode |
| 4 | Print absolute path of artifact to stdout |
| # | Command |
|---|---|
| 1 | agent-browser snapshot to obtain accessibility tree |
| 2 | If the step contains operations, run agent-browser {click/type/fill/...} |
| 3 | agent-browser screenshot --full {outdir}/step-01.png |
| # | Command |
|---|---|
| 1 | agent-browser record start {outdir}/capture.webm |
| 2 | For each step run snapshot then the operation in order |
| 3 | agent-browser record stop |
| 4 | ffmpeg -i {outdir}/capture.webm -vcodec libx264 {outdir}/capture.mp4 |
Insert agent-browser wait 500 between steps. Run snapshot before each operation to identify elements.
Single stdout line.
mode=screenshot artifact=/absolute/path/to/step-01.png
or
mode=video artifact=/absolute/path/to/capture.mp4
On failure.
mode=failed reason=<one-line reason>
npx claudepluginhub thkt/dotclaude --plugin buildRecords a browser video walkthrough of a feature and embeds it in a GitHub PR description for visual review.
Records browser interactions as a video walkthrough of a feature, stitches screenshots into MP4 with ffmpeg, uploads to GitHub, and embeds in PR description. Useful for visual PR demos and reviewer walkthroughs.
Captures before/after screenshots of UI changes for pull request documentation using browser commands like browser_take_screenshot and browser_snapshot. Use for frontend PRs with visual modifications.