Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

record-pr-demo

БесплатноЗапускает вложенные скриптыНе проверен

Use when a Payload pull request needs a concise visual walkthrough for reviewers.

payloadcmsот payloadcms★ 46 079 звёзд на GitHub

Об этом скилле

Record a PR Demo

Create a short, reviewer-focused screen recording of the current Payload feature. Produce and review the video locally before uploading anything to GitHub.

This skill is for feature demonstrations, not committed screenshot regression baselines.

Non-negotiable review gate

Uploading consumes GitHub storage and changes an external PR. Always stop after rendering the local MP4, show that exact file to the user, and request approval. A general request to “record and post a demo” does not waive this checkpoint.

Before showing the video, record its absolute path and SHA-256 digest. Immediately before an approved upload, recompute the digest. If it changed, show the new video and request approval again.

Do not upload previews, rejected takes, raw intermediate recordings, or files the user has not reviewed. Never commit demo media to the repository.

Gesture-based scenarios

Drive the application through browser gestures: paced pointer clicks, keystrokes, and wheel scrolling. Open the starting URL once, then navigate through visible controls. Use existing seeded data when possible. Optional setup/teardown hooks may seed and clean up recording-only data through the API outside the walkthrough. Within the scenario, use gestures to reach each demonstrated state; avoid API or Local API calls, direct navigation between steps, field filling, DOM mutations, and programmatic scrolling. Assertions and read-only DOM inspection may observe the result. Recording chrome, encoding, and verification remain harness operations. See recording.md for the interaction contract and examples.

Use circleCursor(locator) selectively to emphasize a value or result with two tight loops near the focus point and an eased finish. See recording.md for timing and radius options.

Use await click(chrome.back) and await click(chrome.forward) for browser-history steps. The shared window chrome provides these real history controls beside the live URL bar, with normal cursor movement and click feedback.

Required presentation chrome

Every scenario must export presentation with a change kind, title, and description. For a known sequence of steps, declare annotationSteps, then call showAnnotation to advance through that sequence. Use hideAnnotation when the explanation should no longer accompany the action. See window-chrome.md for the API contract and examples. Scripts supply content and intent; the shared renderer owns presentation. Do not inject markup, styles, badges, or layout rules into the application or recording chrome.

Keep the default canvas and desktop viewport for ordinary demos. Use a smaller --viewport or resizeWindow only when demonstrating responsive reflow or breakpoints, or when the user explicitly requests different dimensions. Keep the canvas fixed while resizing the application. Do not shrink the viewport or canvas merely to crop surrounding content or emphasize a visual change.

For a before/after comparison, set change.kind: 'Bug' on the real unfixed scenario and 'Fix' on the corrected scenario. Set kind: 'Bug' on an individual step only when its action visibly demonstrates a failure; leave setup and ordinary navigation unmarked. Write a short description of the visible action or outcome, and assert that state in the script.

Accessibility demonstrations

Set presentation.accessibility: true when keyboard commands are part of the evidence, and presentation.showAnnouncements: true when relevant UI updates should be observed. The harness chooses the compatible presentation and preserves application focus styling. Captions are DOM observations, not screen-reader audio. Use --a11y on or --a11y off to override these options without editing the scenario; omit the flag to preserve its defaults. See recording.md for privacy filtering and evidence limits.

Workflow

  1. Inspect the feature, relevant diff, and available test configs. Choose the smallest existing Payload config that demonstrates the real feature. Create a temporary config only when no existing config can show it clearly.
  2. Write a brief plan in /tmp with the opening state, 2–6 visible actions, and the final proof a reviewer should see. For a fix with a visible before, plan Before/After recordings of the bug and the fix; otherwise default to one current-state feature demo. For annotation content and APIs, use recording.md.
  3. Start the relevant dev server and make its initial state deterministic. Do not expose credentials, personal data, tokens, or unrelated records.
  4. Read recording.md and create a temporary scenario module in /tmp. Write readable, multi-line JavaScript with clear preparation and visible-step
Полный SKILL.md на GitHub

Установить record-pr-demo в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/publishing.mdreferences/recording-jobs.mdreferences/recording.mdreferences/window-chrome.mdscripts/WindowChrome/index.mjsscripts/WindowChrome/sidebar.mjsscripts/accessibility-demo.mjsscripts/accessibility-demo.test.mjsscripts/annotation-demo.mjsscripts/annotation-demo.test.mjsscripts/capture-demo.mjsscripts/capture-demo.test.mjsscripts/circle-demo.test.mjsscripts/convert-demo.mjsscripts/convert-demo.test.mjsscripts/keyboard-demo.mjsscripts/keyboard-demo.test.mjsscripts/prepare-demo.mjsscripts/prepare-demo.test.mjsscripts/presentation-demo.mjsscripts/presentation-demo.test.mjsscripts/preview-chrome.mjsscripts/preview-chrome.test.mjsscripts/preview/accessibility-application.htmlscripts/preview/application.htmlscripts/preview/index.htmlscripts/preview/index.mjsscripts/record-demo.mjsscripts/record-demo.test.mjsscripts/recording-job.mjsscripts/recording-job.test.mjsscripts/scroll-demo.mjsscripts/scroll-demo.test.mjsscripts/sidebar-layout.test.mjsscripts/window-chrome.test.mjs

FAQ

Что делает скилл record-pr-demo?

Use when a Payload pull request needs a concise visual walkthrough for reviewers.

Как установить скилл record-pr-demo?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл record-pr-demo запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить record-pr-demo с