/kivo-creator:code-connectfrom kivo-creator
Maps Figma components to code components via Code Connect. Reads existing map, proposes new mappings from a block catalog, flags unmapped components, and sends mappings only after explicit approval.
Ships in kivo-creator. 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.
Mapped components make matching deterministic: a section whose Figma component is mapped to a block is filled without judgment. This skill creates those mappings, carefully, because they change a shared Figma file.
figma-ingest reported components without mappings that keep appearing.figma-ingest).get_metadata, get_code_connect_map, send_code_connect_mappings)..kivo-creator/ folder beside the skill folders).If the Figma tools are missing, stop with the connection steps from figma-ingest.
Call get_metadata for the frame and save it (for example .creator/figma-metadata.xml); call get_code_connect_map and save it (.creator/figma-code-connect.json).
Propose:
node <kivo-creator>/scripts/code-connect.mjs --metadata=.creator/figma-metadata.xml --map=.creator/figma-code-connect.json --project=. --out=.creator/code-connect.json
Show three lists: already mapped (component and code), proposed (component, block or Blade component, score) and without a code counterpart. For each proposal, read the target's source file and drop proposals whose purpose does not match.
Ask the person to approve the exact list to send. Change nothing in Figma before that answer: end the turn with the question.
After approval (a later message), call send_code_connect_mappings once with the approved mappings, built from the tool's own input schema (node id, component name, source path, label). Do not send rejected or unreviewed items.
Call get_code_connect_map again and report what changed. List the unmatched components as candidates for new blocks or Blade components; do not create them here.
send_code_connect_mappings call happened before the approval message.| Symptom | Cause | Fix |
|---|---|---|
| Send fails with a permission error | The account cannot edit the file or has no Code Connect access | Report it; the proposal file stays for someone with access |
| A proposal maps a card to a whole section block | Name similarity is not purpose | Drop it in step 4; map cards to Blade components instead |
| Everything is unmatched | Component names share no words with the code | Propose by hand from the catalog, still with approval |
| Mapped source path does not exist | The map points at a moved or deleted file | Flag it; propose the new path for approval |
Every send needs the person's explicit approval of the list. Ask before overwriting a mapping someone else created.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub hekivo/kivo-wise --plugin kivo-creator7 skills in this plugin
/block-scaffolding-from-designUse when an approved kivo-creator match plan must be emitted - writing the page as block markup, scaffolding the blocks that were missing in the project's conventions (run the project's generator first, then review and copy the prepared files), turning unmatched design values into token proposals and importing media. For deciding which block a section uses use section-matching; for checking the rendered result use visual-fidelity./creatorUse when the person runs the creator command to turn a Figma frame, an HTML file or a URL into a WordPress page on the Roots stack - routes the source, runs the ingest, builds and checks the match plan, and stops for approval before anything is emitted. Resumes a run with --run=.creator/<run>. For one step on its own use html-ingest, figma-ingest, section-matching, block-scaffolding-from-design or visual-fidelity./figma-ingestUse when a Figma frame URL has to become kivo-creator section specs - reading the frame through the official Figma MCP server in the main session (get_metadata for the tree, get_design_context per section, get_variable_defs for tokens, get_screenshot to look, get_code_connect_map for mapped components), writing exact or inferred values only, and stopping with connection steps when the server is missing. For HTML sources use html-ingest; for creating Code Connect mappings use code-connect./html-ingestUse when an HTML file, a URL or a published page has to become kivo-creator section specs - rendering it at 390 and 1440 px with the project's own Playwright, splitting it into sections, recording text slots, links, media, computed styles and one reference screenshot per section and width under .creator/<run>/. For a Figma source use figma-ingest; for choosing blocks use section-matching./section-matchingUse when kivo-creator section specs in .creator/<run>/specs must be mapped to the project's existing blocks before anything is generated - building the match plan, applying the compatibility filter, judging the remaining candidates with the written rubric (including an explicit none), asking the person below the confidence threshold and checking the plan. For ingesting a source use html-ingest or figma-ingest; for generating missing blocks use block-scaffolding-from-design./visual-fidelityUse when a page emitted by kivo-creator must be proved against its design - rendering the block markup on the local site, screenshotting every section at 390 and 1440 px with the project's Playwright, pixel diff against the references (2 percent per section by default), style check of exact values, lint for arbitrary values and inline styles, and up to three fix rounds before handing the report to the person. For emitting the page use block-scaffolding-from-design.Other plugins' skills for the same job