Ui to code
Skill sumitake/agent-collab/plugins/agent-collab/skills/ui-to-code
Turn a UI mockup, screenshot, or wireframe into code in the active primary's project context. Use when the user says "turn this into code," "build this UI," "implement this mockup," "code this screenshot," or "extract a UI spec." Also offer this proactively when implementation is about to start from a visual artifact. The unified plugin currently has no managed cross-family image transport, so the active primary performs the visual extraction and implementation while explicitly reporting that independent visual extraction is unavailable; never claim a second visual read occurred.From its SKILL.md
npx -y skills add sumitake/agent-collab --skill ui-to-codeAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
3.1 KB, 500 tokens by cl100k_base, as published. Nobody here has run it
UI to code
Implement a visual design in the user's actual stack while preserving an honest boundary around reviewer independence.
Current availability boundary
The coordinator has no image or binary attachment contract. Managed cross-family structural extraction is temporarily unavailable. Do not pass paths, base64 image bytes, invented media fields, or raw provider commands. When the user requires an independent visual extraction as a governance gate, return typed unavailable and stop that gate.
Workflow
- Inspect the image using the active host's native visual capability. When any region is detail-bound — small text, dense charts, closely spaced lines, fine UI detail — magnify it before reading: use the host's native zoom or crop actions, or a code-execution crop from the full-resolution source. A full-view-only read of sub-patch detail is unreliable and tends to fail confidently rather than uncertainly.
- State that the structural read is primary-only; do not call it a two-read or cross-family result.
- Extract a working spec: layout regions, elements, visible text, hierarchy, approximate spacing and colors, interaction hints, responsive behavior, and accessibility requirements.
- Inspect the project before writing. Reuse its framework, components, design tokens, naming conventions, tests, and accessibility patterns.
- Implement in the trusted primary's normal mutation boundary. This public skill does not grant a provider backend file-write, shell, test, commit, PR, merge, or deploy authority.
- Run project-appropriate verification and compare the rendered result against the source image. Record assumptions where the image is ambiguous.
If the caller supplies an independently authored textual design spec, an advisory route may review that text with the exact artifact snapshot and author model. That is a text-spec review, not image analysis.
Guardrails
- Do not invent the user's framework or component library.
- Prefer existing design tokens over hardcoded values.
- Add semantic HTML, keyboard behavior, focus states, and accessible labels even when the static mockup cannot depict them.
- Do not reuse working element identifiers blindly; map them to project conventions.
- Do not claim pixel precision for values that were visually estimated.
- Do not claim independent verification until a signed typed image contract is advertised by the native runtime.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.