Pixso code to design
Skill PixsoLtd/pixso-ai-integration/skills/pixso-code-to-design
Use this skill before calling Pixso MCP `code_to_design` when the user asks to import or convert a web page URL, HTML, ZIP, static web artifact, or browser-rendered page into Pixso. Triggers include webpage to Pixso, URL/HTML/ZIP to Pixso, code_to_design, and import webpage into Pixso. URL input must be rendered/captured locally and packaged as a real `htmlBuffer`; never pass URLs directly or switch to approximate reconstruction without user confirmation.From its SKILL.md
npx -y skills add PixsoLtd/pixso-ai-integration --skill pixso-code-to-designAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 6 stars6 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
5.3 KB, as published. Nobody here has run it
Pixso Code to Design - Import HTML, URLs, or Bundled UI into Pixso
Use this skill when the user wants to import, paste, capture, push, or convert HTML, a web page URL, ZIP bundle, static web artifact, or browser-rendered page into editable Pixso design nodes.
First-Action Gate
Before calling any Pixso MCP tool, confirm the final input is ready: use htmlStr for raw or self-contained HTML, and use real ZIP bytes in htmlBuffer for URLs or pages with resources. For URL input, first read and follow references/url-capture.md.
If login, permissions, region limits, anti-abuse controls, security policy, iframes, hash routes, missing resources, or hidden target content block capture, report the blocker and ask for the next step. Do not downgrade failed capture to pixso-design-editing, apply_design, hand-written HTML, or approximate reconstruction without user confirmation.
Activation Gate
Use this skill only when the user explicitly asks to convert HTML, a URL, a ZIP bundle, or a static web artifact into Pixso, or explicitly asks for code_to_design.
Fallback exceptions:
- If the user asks to create or edit a Pixso design without HTML conversion, use
pixso-design-editingfirst. - Only use this skill as a fallback when the current Pixso MCP tool list does not include
apply_design. - When using this fallback, explicitly say
apply_designwas unavailable and HTML-to-design conversion was used instead.
When apply_design is available, do not use this skill for general Pixso design creation, UI mockups, redesigns, homepage generation, app screen generation, or canvas editing.
Boundaries
Handle raw HTML, self-contained HTML, capturable URLs, static exports, ZIP bundles, and targeted repairs after code_to_design. Do not pass URLs directly to code_to_design.
Input Rules
- Provide exactly one of
htmlStrorhtmlBuffer; never both. - Render or capture URL input locally first; do not assume Pixso can fetch URLs, authenticate, or download runtime resources.
- For URL-derived pages, default to references/url-capture.md, create a ZIP, and pass it as
htmlBuffer. - Use
htmlStrfor URL-derived pages only when the capture is self-contained, or when omitted external resources are intentional and explicitly reported.
URL Rules
Before handling URL input, read references/url-capture.md. Prefer the browser's native complete webpage save output. Use DOM / CSS-aware visual resource collection only when browser save is unavailable or clearly incomplete.
Non-Downgrade Gates
- "Web page / URL / HTML / ZIP to Pixso" or explicit
code_to_designmeans exact capture and conversion, not reference-based reconstruction. - Hard-to-capture URLs, login, permission, error, empty states, hash routes, iframes, anti-abuse controls, security policy blocks, or missing resources are blockers or incomplete input.
- If
code_to_designfails, the wrong input was passed, or the result mismatches, report only the failure point and next options; do not switch tools or approximate-rebuild without confirmation. - Do not pass placeholder HTML, temporary stubs, summaries, paths, empty bodies,
PLACEHOLDER, orTODO.
Required Workflow
- Identify the source artifact. Determine whether the source is raw HTML, a URL, a static export, or a ZIP bundle.
- Prepare the correct input. Use
htmlStrfor raw/self-contained HTML andhtmlBufferfor ZIP bytes. - Capture and package URL input first. Follow references/url-capture.md, preferring browser complete-save output packaged as an
htmlBufferZIP unless the capture is fully self-contained. - Call
code_to_design. Convert the final artifact into Pixso nodes. - Report the outcome. State the source, how URL resources were captured or bundled, what was inspected, verification results, and any remaining differences.
Visual Standard
A successful code_to_design call is enough to finish, but do not claim visual parity unless you actually verified screenshots or structure.
Completion Checklist
Before the final response, verify:
- exactly one input type was used;
- the
code_to_designargument was finalhtmlStror realhtmlBuffer, not a placeholder, variable name, path, or temporary stub; - URL input, if any, followed references/url-capture.md;
- required URL resources were packaged, inlined, or explicitly reported unavailable;
- no unrequested redesign was introduced;
- if
code_to_designfailed or the result mismatched,pixso-design-editing/apply_designwas not used before user confirmation; - design-system alignment, if requested, was handled through
pixso-design-editingor the current project design-system flow.