/pixso:pixso-design-to-codefrom pixso
Converts Pixso design nodes, pages, components, or URLs into runnable code in the requested language or stack, handling components, instances, variables, styles, and assets with visual verification.
Ships in pixso. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use the get_design_context workflow below; it is the only design-to-code entry point. Check the current connection's tool definitions first. Only if this tool is absent, is reported as unregistered or not implemented, returns Method not found, or returns an unusable result, fall back to pixso-read-dsl and combine node DSL with get_screenshot visual context to generate and verify the code. Node conversion failures, permission errors, and asset download failures do not trigger this fallback; report them instead.
Before the first Pixso MCP tool call in a task, you MUST call get_mcp_server_info once and keep the returned version and schema for the session. Remote MCP runs in a sandboxed headless browser and exposes the same handshake tool; some hosts do not enforce the gate, but the mandatory-call requirement still applies.
file_key from the design URL path or user input and the target node from item-id or an explicit node ID. Pass the file identifier on every call as required by its schema. Do not assume a remote current selection or use page-id as a node ID; ask for missing required identifiers. "All" does not authorize conversion across pages. Pass an explicit nodeId to every get_design_context call and reuse its complete result; do not repeat conversion or request additional metadata or DSL.readRanges (1-based, inclusive), using modules/dependencies to locate source. For decomposition, fetch only returned candidates, retain the same file identifier, inherit designDefinitionScope and configuration unchanged, and collect the final shared definitions before implementation. Do not interpret a reading plan as a layout.componentParsers object and implement its imports, components, props, slots, and icon rules exactly.100% × 100% sizing.assetDownloads[{fileName,url}], download each unmodified url and save it safely inside the project's asset directory using its delivered fileName, preserving the extension. Do not use the signed URL's basename. If that manifest is absent and local readyAssets is present, concatenate baseUrl + files[i], preserving all directories and encoding; use the basename only when saving locally. Do not guess download URLs from reference ./assets/... paths.get_design_context to recover downloads, or re-export supplied assets. Inspect metadata or root dimensions only when necessary; do not read asset byte sequences unless the user explicitly requests it. Report missingAssets, download failures, and missing fonts accurately, do not fabricate placeholders, and do not compensate for font fallback by changing layout.Run checks/builds appropriate to the target and inspect output source for temporary asset URLs. Deliver entry paths, run commands, actual check results, target completion, and unfinished items. Stop temporary processes started for this task and confirm they have exited; preserve existing user services.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub pixsoltd/pixso-ai-integration --plugin pixso6 skills in this plugin
/pixso-code-to-designUse 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./pixso-component-configGenerate or update Pixso Design-to-Code component parser JSON (`componentParsers` / component config) from the current Pixso desktop file, its local and subscribed-library component inventory, or an open source component library. Also used as the generate-config step inside the code-generation flow. Use when the user asks to create, extract, draft, validate, or update component parser config JSON. Always confirm the target code resource first, fetch current-file component facts through the Pixso MCP surface (`read_component_config_data`, `eval_script`, `query_nodes`, `get_node_dsl`), inspect representative node DSL before complex mappings, and never generate mappings from cached data, stale output, or guesses./pixso-design-editingUse when an agent needs to create, modify, inspect, or refine UI designs inside Pixso with Pixso MCP tools, including Pixso canvas editing, eval_script property edits, Pixso DSL or apply_design work, UI mockups, design review fixes, screenshot-based visual checks, node or frame updates, Pixso design drafts, interface design, visual mockups, canvas changes, or UI redesign requests./pixso-prototype-interactionsRead, intelligently add, update, or delete prototype interactions through Pixso MCP. Use for navigation, back actions, overlays, component-state changes, scrolling, links, and interaction triggers, transitions, or timing. Excludes purely visual design and frontend application code. For requests combining design and interactions, finish the design first./pixso-read-dslUse Pixso desktop MCP get_node_dsl to inspect compact DSL, detach and expand instances when explicitly requested, recursively resolve variable, style, component, and asset references through eval_script recipes, retrieve complete node semantics or explicitly scoped full data, and serve as the code-generation fallback (DSL plus screenshots) only when get_design_context is genuinely unavailable or returns an unusable result.Other plugins' skills for the same job