Index of every page on this site: llms.txt
All skills
khoahyh avatar

/record-verification

@fb2abb3
Run it yourself

Capture before/after media only for visual or timing changes a human must judge. Use before implementation when that judgment needs a recording; never for routine proof or release films.

Use this Skill: https://skilld.dev/gh/khoahyh/skills/record-verification

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈52 tokens for metadata: the name and description. ≈2.9k when used: this file. ≈2.1k more on demand in 1 file.

Description uses 2.6% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈208 characters, or 2.6%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Record Verification

Make the changed user path inspectable by a human. The video is evidence of what happened in the running app, not a substitute for assertions and not a release film. The reviewer decides whether the behavior, appearance, and direction are right. The review cut exists so they can see the change at the size a PR plays it, know what to look at, and trace every frame back to the original take.

Record only visual or timing changes requiring human judgment, never by default. Proof remains the exact-head CI result plus the one relevant behavioral assertion, cited once in the PR or item; media supports that judgment, not a separate proof packet.

1. Define the proof

Identify the changed user-visible behavior, its entry point, expected result, and any persisted or cross-surface effect. Read the repository's applicable agent guides, verification skill, feature map, recipe, and test harness before driving the app. Discover local CLIs and their current help rather than assuming a universal launch or login command. If no user-visible path exists, explain that and offer the relevant non-video evidence instead of staging a fake walkthrough.

Plan the comparison before implementation. For a UI bug, reproduce and capture it in the unchanged running app before editing. For other UI changes, capture the existing experience when it provides a meaningful baseline. Use the capture steps below for the baseline, then repeat the same meaningful actions after the change with comparable fixtures, viewport, and environment; identify both revisions. If a safe baseline is unavailable or the bug cannot be reproduced, state that limit and provide after-only evidence without implying an observed before/after comparison.

Present a flow's before and after side by side in one review video: Before on the left, After on the right, synchronized beat by beat, with each pane labeled by revision. After-only evidence stays single-pane. Leave implementation time out of the recording. Static-only changes may use labeled, side-by-side screenshot pairs unless a video was requested.

Choose a small number of scenarios that cover the changed risk. Keep the review plan in the PR or item:

  • the watch-for sentence: the one thing the reviewer judges
  • per beat, the action → result, its caption, and its evidence region, the part of the screen where the result appears

Estimate viewing time from those beats, not from the agent's execution time. Favor the shortest cut that remains understandable at 1×; a simple flow may be brief, while a complex or cross-surface flow may need longer or separate focused clips. Preserve essential evidence rather than forcing a fixed duration. Name what the selected path cannot prove. Use a task-owned or explicitly approved environment and non-sensitive fixture; respect shared instance, account, device, and data ownership rules. Do not reset, seed, or mutate a shared environment merely to make footage attractive.

Done when the watch-for sentence and every beat's caption and evidence region are written, and the Before and After sides run the same beats.

2. Prove and rehearse

Reuse the exact-head CI result; do not rerun a suite CI already runs. Exercise the real user controls for the one relevant behavioral assertion if CI does not cover it, not just successful clicks or a loading shell. Inspect applicable console, network, logs, or persistence evidence when the behavior depends on them. A passing video cannot override a failed check, and a passing test cannot replace the selected human visual or timing judgment. When comparing against a provided design (Figma, Paper), load build-design for its comparison steps only; verification grants no implementation authority.

Rehearse navigation, authentication, test data, and state-based waits before the take. Plan how to drive the recorded path without leaving model reasoning or slow tool-call gaps on screen: use an existing deterministic UI drive when appropriate, or capture short continuous sections and assemble a review copy. Keep credentials, setup shortcuts, and test-only controls out of the visible user path; disclose any setup that affects interpretation. If the flow fails, diagnose or report the failure. A reproducible failure can be recorded as failure evidence; do not present a later take as if the failure never occurred.

3. Select capture

Use the repository's owning browser or native driver for interaction. Select the recorder that actually covers the review surface:

  • For a contained web page driven by browse, prefer its recording tool, which can draw the cursor. Otherwise, the driver's own recorder may suffice. Check whether it captures the cursor, browser chrome, dialogs, and final state you need.
  • For desktop, native dialogs, cross-app or cross-surface behavior, or when visible input materially improves review, prefer Cap as the screen recorder when available. Discover current commands with cap guide --json; target an exact, non-sensitive window or display and use intentional virtual input. Cap records the driver; it does not replace the repo's verification harness.
  • For mobile, use the owning simulator/device capture helper where available. Check that it records the same device the agent drives.

Before recording, test a still through the intended single-pane or two-up review layout at about 900 px player width, including its bars and caption strip. Choose a viewport and fixed app/browser scale that keep the whole captured page and changed result readable there; rehearse scrolling results into view while retaining page context. If it does not read, adjust capture and rehearse again rather than planning a series of crops. Use the review-cut framing exception only for an isolated result that remains unreadable.

State the selected scenario, window/device, account or fixture, capture area, resolution/frame rate when configurable, cursor and audio choices, and any privacy risk. An explicit recording request or an engineering workflow selecting this skill authorizes bounded capture of that flow, not an unrelated desktop or sensitive account. If the available target would expose private or unrelated material, choose an isolated target or ask before capture.

4. Capture honestly

Start before the meaningful action and stop after the resulting state has been visible long enough to read. For each beat, show where the action will happen, move the pointer purposefully when it helps, perform the action at normal speed, wait for the asserted state, and hold the result long enough to recognize or read it before advancing. Spend viewing time on the changed behavior and its outcome, not a pause after every tool call. A hold makes evidence legible; it does not prove the state. Show the action and outcome in the same take where practical. Include a screenshot of a critical end state when a frame alone may be hard to inspect.

Retain the original recording unchanged, including every original .cap project if Cap was used.

5. Cut for review

Build the review cut from the original takes, following references/review-cut.md:

  1. Write an edit decision list pairing each beat's Before and After source ranges and measured result frames (After alone when no baseline exists).
  2. Run scripts/build-cut.mjs.
  3. Render with HyperFrames.

The cut plays paired takes simultaneously, aligning each beat's action and result, with one caption under both panes. Each pane keeps the full captured UI surface in matching static framing and has its own revision label, source clock, marks, and chips for every crop, speed change, cut and freeze. The reference defines synchronization, first-finisher freezes, and the opt-in static crop for otherwise unreadable evidence.

Trim setup, searching, agent/tool latency, and uneventful dead air. Speed up ordinary waits; the builder discloses each pane's synchronization retiming. Judge latency from source clocks and the unchanged takes, not the synchronized playback duration. Keep failures and causal transitions visible or explicitly called out; never edit them into an apparent pass. Disclose omitted steps, recreated state, and separate takes on the title card and in the PR or item. Prefer a fresh take to an edit that could misrepresent causality.

Time every caption, mark, and stated duration from the source itself. Probe the evidence region's pixels for the frame where the state changes, because contact sheets and freeze detection miss small changes.

An after-only take that already reads at PR size and needs no retiming may ship as-is, with its beats in the PR body.

Done when the builder's pacing table shows no warnings, every timing claim matches a source probe, and npx hyperframes check reports nothing beyond the expected silence findings.

6. Inspect and hand off

Inspect the finished artifacts, not just the live app or command output. For screenshot pairs, inspect the labeled images side by side at their expected viewing size for legibility, comparable framing, and private content.

For video, stop and finalize the recorder, then watch the final review file at 1× at about 900 px wide, the size a PR plays it. At every planned beat, confirm that both panes' targets, actions, and results are readable simultaneously, their action/result anchors align, and each source clock and retiming/freeze chip matches that pane. After-only cuts have one pane. Marks and the shared caption direct attention; stable, comparable framing preserves layout, spacing, alignment, hierarchy, layout shifts, and side effects. Inspect any disclosed static crop against the reference's readability exception; desktop comparisons stay two-up under that rule too.

At each retimed beat and each state change, extract a frame from the rendered file. Confirm each pane shows the state the caption claims, at the take time its clock shows, including the side held while its partner finishes. Inspect the beginning and end, and scan the whole video for secrets or unrelated private content. Use ffprobe or the available media inspector for duration, dimensions, and frame rate. If capture failed, report it rather than claiming video proof.

For an authorized PR create/update, attach sanitized, task-owned review evidence to that PR with gh pr create|edit|comment --attach <file> (gh 2.99+; gh pr edit --help has the details); use pr-body for placement. Reference each file by its local path in the --body-file Markdown (paths resolve from that file's directory) and pass the same files to --attach: gh rewrites each reference to the uploaded URL. A video renders as a player only when its ![](clip.mp4) reference is the whole paragraph, so attach the MP4 review cut rather than a raw .webm link. Uploads accept OAuth and personal access tokens, not GitHub App tokens, and cap video at 100 MB on paid plans. Read the PR body back and confirm every reference became a user-attachments URL. Other uploads or sharing require separate authorization. If publication is unauthorized or --attach fails, return local artifact paths and the exact error.

Link the review media alongside the single CI/behavioral citation in the PR or item, with coverage limits and the visual or timing question for the reviewer. No separate evidence packet or proof doc. Leave the human verdict open even when the checks pass.

Finish when the reviewer can inspect the changed flow and distinguish what was verified from what still needs their judgment. If the app, account, recorder, or safe capture target is unavailable, name the blocker and provide the strongest alternative evidence obtained; never invent a successful take.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts11d3 checks · Risk SAFE
  • Gen Agent Trust Hub22d

    The skill provides a safe and structured process for recording and verifying UI changes. It emphasizes privacy, data sanitization, and human oversight, instructing the agent to use local tools safely. No malicious behaviors or security risks were identified.

  • Socket11d

    No alerts

  • Snyk22d

    Risk: LOW · No issues

Signed by skilld at fb2abb3. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 4 days ago.

Activeupdated 5 days ago

README badge

README badge for khoahyh/skills/record-verification