package-my-work
БесплатноЗапускает вложенные скриптыНе проверенRecords one interaction in a running page as a short, sharp clip, framed on the component with a real cursor or touch and one push-in on the detail that…
от raphaelsalaja★ 74 звезды на GitHubОб этом скилле
Package my work
This skill turns a piece of interface work into a clip people watch. It scripts the interaction, renders every frame sharp against its own clock and frames the component instead of the window.
One interaction, framed and paced for a viewer
A raw screen recording undersells good work: the component is a small box in a whole window and the detail happens too fast to see. This skill makes the other kind.
The values below are the default. A project with its own demo style keeps it, and the plan file holds every value.
Use it when the user wants to record, demo or share something they built, for a pull request, a post, a changelog or a portfolio. It also fits a screen recording that looks small, blurry or hard to follow. Staging the clip in 3D for a launch post belongs to product-shot. Taking a motion apart frame by frame belongs to deconstruct.
What the scripts need
record.mjs needs playwright-core, resolved from the current project or this skill's folder (npm i playwright-core in either). It drives installed Chrome, or Playwright's Chromium when Chrome is missing.
It also needs ffmpeg on the path. Never add either to the user's project without asking.
1. Name what the clip shows
Finish the sentence "this clip shows that ___", such as "the stepper updates the total". A sentence that needs an "and" is two clips, and one clip of both is package-my-work-one-sentence.
Aim for 4 to 10 seconds. People watch these on a loop in a feed or a pull request, usually without sound.
2. Get it running and learn its selectors
Record against the dev server that is already running. Starting a second one is package-my-work-running-server; when none runs, ask.
Read the component's source for stable selectors: ids, aria-labels and data attributes. Reach the starting state with setup steps or a demo route.
Use tidy, believable content. "Sourdough loaf, $6.50" reads as a product and "test test 123" reads as unfinished, package-my-work-believable-data. Record private or messy data against a fixture.
3. Write the shot plan
shot-plan.md has the format. examples/add-to-cart.json is a full plan.
Set frame to the component's selector with some padding, so the viewer never hunts for it. A 300px card inside a whole 1280px window is package-my-work-frame-subject. Add isolate when the page around it is noise.
Keep viewport at the size the component is designed for and set outputWidth to 3840 for sharpness. A viewport widened to 3840 changes the layout instead, package-my-work-output-not-viewport.
Match the pointer to the platform. Desktop takes "pointer": "mouse", whose cursor changes shape over links and fields. Phone layouts take "pointer": "touch" with a 390px viewport. A mouse arrow on a phone layout is package-my-work-pointer-matches.
Push the camera in only when the detail is smaller than the story, with zoom on the move that leads to it. Use one push-in and one pull-out per clip. A zoom on every action is package-my-work-one-push-in.
Pace it for a viewer. Open on about 500ms of stillness, leave 400 to 700ms after each action and end on a short hold. Actions back to back at user speed are package-my-work-viewer-pace.
End where the clip started when that is natural: open then close, add twice then remove twice. A clip that jumps at the seam is package-my-work-loop.
4. Draft, read the sheet, then render
node <skill>/record.mjs shot.json --draft # half size, 30fps
node <skill>/sheet.mjs out/clip.mp4 # contact sheet beside the clip
Read the sheet image against the sentence from step 1. Check four things: the subject stays whole in frame while zoomed and every click lands. Each change holds for two sheet frames, and the last frame matches the first.
A full render with no draft sheet read first is package-my-work-sheet-before-render. Then render without --draft; 6 seconds at 3840 wide and 60fps takes about a minute.
For a page that plays by itself, set "pointer": "none" and film it with wait steps. examples/self-running.json starts at the top of the loop. Its last setup eval returns a promise that resolves there.
The recorder steps timers, requestAnimationFrame and CSS animations itself. It does not step <video>, audio or scroll-behavior: smooth, so keep those out of a shot. Network requests finish between frames, so delay a fixture response when the loading state is the subject.
5. Deliver
Name the file for what it shows and how long it runs. recording-final-2.mp4 has to be opened to be known, package-my-work-named-file. Keep the plan beside the clip so it re-renders when the interface changes.
Report the path, resolution, frame rate, duration and size. Convert only on request:
# X: 1080p H.264, since X downscales anything larger
ffmpeg -i clip.mp4 -vf scale=1920:-2:flags=lanczos -c:v libx
Установить package-my-work в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл package-my-work?
Records one interaction in a running page as a short, sharp clip, framed on the component with a real cursor or touch and one push-in on the detail that matters.
Как установить скилл package-my-work?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл package-my-work запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic