Agent skill UI design
Clean UI Shot
Shape a web interface around a coherent visual direction.
Install the skill
Run the command from your project root with Node.js and npm.
npx skills@latest add 1weiho/cinematic-shot --skill clean-ui-shot --agent claude-code --yesCheck this file in your project.claude/skills/clean-ui-shot/SKILL.md
Other ways to install
Choose an assistant interactively
npx skills@latest add 1weiho/cinematic-shot --skill clean-ui-shotSelect your assistant and choose the project installation scope.
Official instructions
The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. An authorized local preview or scratch instance, representative data, a confirmed shot style, and Playwright and sharp from the project or scratch.
View operation manualWhat this skill helps with
- Shape a web interface around a coherent visual direction.
Good for
- Visual direction
- Task
- Capture a product feature in its actual ready state
- Inputs
- An authorized local preview or scratch instance, representative data, a confirmed shot style, and Playwright and sharp from the project or scratch.
- Deliverable
- One clear framed screenshot and, if requested, its raw capture with the same selected product state.
- Skill name
clean-ui-shot- Repository
1weiho/cinematic-shot
Define the real inputs and output
A broad request
Take a screenshot of my open app and make it pretty.
A random open session may show the wrong state or real records. The smallest possible crop can also lose the controls that explain the feature.
A verifiable workflow
- A specific local route, safe data and a reproducible shot plan are ready.
- The capture occurs only after the expected state is visible, with an original composed output.
- The final crop shows the useful content and excludes unintended records.
Clean UI Shot operation manual
One clear framed screenshot and, if requested, its raw capture with the same selected product state.
An authorized local preview or scratch instance, representative data, a confirmed shot style, and Playwright and sharp from the project or scratch.
Choose the feature state and style before capture
A specific local route, safe data and a reproducible shot plan are ready.
Prompt · Step 1Use Clean UI Shot on [approved local preview and desired feature]. Confirm clean or glass style and a real state that explains the feature. Use demo records and stable roles or visible labels. If a new server is needed, confirm which isolated project and port will be used first.Write and run the shot recipe
The capture occurs only after the expected state is visible, with an original composed output.
Prompt · Step 2Start from the installed scripts/shots.example.mjs and write [local shots file]. Use path, viewport, setup and the actual accessible names to open the state. Wait for the visibly ready element. From a project with Playwright and sharp, run node [installed scripts/shoot.mjs] [shots file] --url [local origin] --out [output folder] --style clean. Add --raw [raw folder] if a raw capture is needed.Review legibility and the captured state
The final crop shows the useful content and excludes unintended records.
Prompt · Step 3Open [composed screenshot and raw capture]. Check that the title, controls and fixture context are legible and the style matches the rest of the batch. Re-run only a failed shot via --only using its actual name. Confirm no personal or client records appear before sharing the final file.
Look up tooling and verification
Use the scripts or templates in this installed distribution.
Can I make a shot without cropping the page manually?SKILL.md
- Command or reference
--style clean|glass · --format · --raw- Examples
- Yes. Omit crop for a full viewport shot. Add a crop in CSS pixels only when it helps isolate the feature and preserves context.
Troubleshooting and FAQ
Can I make a shot without cropping the page manually?
Yes. Omit crop for a full viewport shot. Add a crop in CSS pixels only when it helps isolate the feature and preserves context.