velt-js/agent-skills

velt-recorder-best-practices

Velt Recorder implementation patterns and best practices for React, Next.js, and web applications.

First seen Mar 31, 2026

Installation

$ npx skills add velt-js/agent-skills --skill velt-recorder-best-practices

Summary

  • Velt Recorder implementation patterns and best practices for React, Next.js, and web applications.
  • Use when adding audio, video, or screen recording features, recording playback, video editing, recording transcription, managing recording lifecycle events, or binding Recorder wireframe slots with template variables (velt-data / velt-if / velt-class).

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from velt-js/agent-skills · top by installs.

npx skills add velt-js/agent-skills

Browse all from velt-js/agent-skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 1
License MIT
Default branch main
Open issues 7
Status Active

Skill metadata

Parsed from SKILL.md frontmatter.

Version1.2.0
LicenseMIT
More metadata
author
velt
version
1.2.0

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 5,155 B
  • docs README.md 3,453 B
  • docs SUMMARY.md 387 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 17 installs

SKILL.md

Velt Recorder Best Practices

Comprehensive implementation guide for Velt's Recorder system in React and Next.js applications. Contains 25 rules across 8 categories, prioritized by impact to guide automated code generation and integration patterns.

When to Apply

Reference these guidelines when:

  • Adding audio, video, or screen recording to a React/Next.js application
  • Setting up VeltRecorderTool, VeltRecorderControlPanel, and VeltRecorderPlayer
  • Configuring VeltRecorderNotes for pinned recordings
  • Integrating the VeltVideoEditor for post-recording editing
  • Configuring recording quality constraints and encoding options
  • Requesting device permissions (camera, microphone, screen)
  • Subscribing to recording lifecycle events
  • Managing recording data (fetch, subscribe, delete, download)
  • Enabling AI transcription and summary display
  • Configuring Picture-in-Picture mode for screen recordings
  • Setting max recording duration limits
  • Choosing between floating and thread control panel modes
  • Binding Recorder wireframe slots with template variables (velt-data, velt-if, velt-class)

Rule Categories by Priority

Priority Category Impact Prefix
1 Core Setup CRITICAL core-
2 Recording Configuration HIGH config-
3 Data Management HIGH data-
4 Event Handling MEDIUM-HIGH events-
5 Video Editor MEDIUM editor-
6 UI/UX Configuration MEDIUM ui-
7 Debugging & Testing LOW-MEDIUM debug-
8 Wireframe Variables MEDIUM wireframe-variables-

Quick Reference

1. Core Setup (CRITICAL)

  • core-setup — Add VeltRecorderTool, VeltRecorderControlPanel, and VeltRecorderPlayer
  • core-permissions — Request device permissions for camera, microphone, and screen capture
  • core-webhooks — Handle the recorder.done server-side webhook event (RecorderPayload, RecorderTrigger)

2. Recording Configuration (HIGH)

  • config-type-and-mode — Select recording type (all, audio, video, screen) and customize tool button
  • config-max-length — Set maximum recording duration
  • config-picture-in-picture — Enable PiP for screen recordings (Chrome only)
  • config-quality-encoding — Configure recording quality constraints and encoding options

3. Data Management (HIGH)

  • data-hooks — Use React hooks (useRecordings, useRecorderAddHandler) for reactive data
  • data-fetch-subscribe — Fetch or subscribe to recording data via API
  • data-delete-download — Delete recordings and download latest video version
  • data-rest-api — Retrieve recordings via REST API (server-side, with pagination)

4. Event Handling (MEDIUM-HIGH)

  • events-lifecycle — Subscribe to all 11 recorder events via API
  • events-hooks — Use useRecorderEventCallback hook for React event subscriptions

5. Video Editor (MEDIUM)

  • editor-enable-configure — Enable video editor with auto-open, retake, timeline preview
  • editor-standalone — Embed standalone VeltVideoEditor component

6. UI/UX Configuration (MEDIUM)

  • ui-control-panel-mode — Choose floating vs thread mode for VeltRecorderControlPanel
  • ui-playback-options — Configure fullscreen playback and click-to-play behavior
  • ui-countdown-settings — Control countdown timer and embedded settings
  • ui-ai-transcription — Configure AI transcription and summary display

7. Debugging & Testing (LOW-MEDIUM)

  • debug-common-issues — Common recorder issues and solutions

8. Wireframe Variables (MEDIUM)

  • wireframe-variables-recorder — Bind Recorder wireframe slots (button, pin, control panel, player, expanded player) using velt-data / velt-if / velt-class; covers the six naming-conflict variables and the shared player behaviour callbacks
  • wireframe-variables-recorder-transcription — Bind Transcription, Subtitles, and Subtitles-Dialog wireframe slots using componentConfig.<name> paths; covers vttFileTextArray iteration via content-item-wireframe, segment / currentTime context variables, and transcript / subtitle behaviour callbacks

How to Use

Read individual rule files for detailed explanations and code examples:

rules/shared/core/core-setup.md
rules/shared/config/config-type-and-mode.md

Each rule file contains:

  • Brief explanation of why it matters
  • Incorrect code example with explanation
  • Correct code example with explanation
  • Source pointers to official documentation

Compiled Documents

  • AGENTS.md — Compressed index of all rules with file paths (start here)
  • AGENTS.full.md — Full verbose guide with all rules expanded inline