Skip to content
Skill

Section matching

Maps design sections to a project's existing blocks before any code is generated

Section matching is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
14
Last commit
License
MIT
Listing updated

Similar skills

About Section matching

This skill matches each section spec from a kivo-creator run to a block the project already has, and creates a new block only when no existing one fits. It reads the project's block catalog through a bundled script, filters out blocks that cannot hold every slot, and then scores the remaining candidates against a written rubric covering purpose, structure, layout and the cost of a new block. A choice of none is always considered, so a block built for another purpose is not reused just because its fields fit.

The result is written to a match plan file and a readable summary. Decisions below a set confidence threshold are routed to a person for approval, and a checker script validates the plan before anything is emitted. The skill only writes those two plan files inside the run folder.

It expects a run folder with valid specs, a project root with a stack profile or a detector JSON file, and the kivo-creator plugin scripts, and it requires Node 20 or newer. Ingesting sources and generating missing blocks are handled by other skills.

When your agent uses it

Use 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.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (5 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the kivo-wise plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add hekivo/kivo-wise
/plugin install kivo-wise@kivo-wise

Or copy only this skill to ~/.claude/skills/section-matching:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/hekivo/kivo-wise.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/section-matching &&
cp -R "$tmp/plugins/kivo-creator/skills/section-matching" ~/.claude/skills/section-matching &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/section-matching inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/section-matching to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/hekivo/kivo-wise.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/section-matching &&
cp -R "$tmp/plugins/kivo-creator/skills/section-matching" ~/.agents/skills/section-matching &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/section-matching inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/section-matching to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/hekivo/kivo-wise.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/section-matching &&
cp -R "$tmp/plugins/kivo-creator/skills/section-matching" ~/.cursor/skills/section-matching &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/section-matching inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/hekivo/kivo-wise.git --path plugins/kivo-creator/skills/section-matching

Or copy the folder to ~/.gemini/skills/section-matching yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/section-matching:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/hekivo/kivo-wise.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/section-matching &&
cp -R "$tmp/plugins/kivo-creator/skills/section-matching" ~/.copilot/skills/section-matching &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/section-matching inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/hekivo/kivo-wise.git

Then copy kivo-wise/plugins/kivo-creator/skills/section-matching into your agent's skills folder as section-matching. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Block catalog lookup
Lists every existing ACF Composer and block.json block with its purpose and fields.
Compatibility filtering
Removes blocks whose fields cannot hold all the section's content slots.
Rubric-based scoring
Judges candidates on purpose, structure, layout and the cost of a new block.
Explicit none decision
Allows choosing to scaffold a new block when no candidate truly serves the section.
Person approval step
Sends low-confidence decisions to a person before the plan is accepted.
Plan validation
Runs a check script that must pass before the match plan is shown.

Good for

  • Map the sections of a converted design onto our existing WordPress blocks
  • Find which existing block fits a FAQ or hero section from a specification
  • Check whether a design needs a new block or can reuse current ones
  • Produce a reviewable block mapping plan before generating any code

Section matching FAQ

When does Section matching run?

After the html-ingest or figma-ingest skills have produced valid section specs in a run folder.

What files does Section matching change?

It writes only match-plan.json and match-plan.md inside the run folder.

What does Section matching need to work?

A run folder with valid specs, a project root with a stack profile or a detector JSON passed by flag, the kivo-creator plugin root, and Node 20 or newer.

Does Section matching generate block code?

No. Writing block code is handled by the block-scaffolding-from-design skill, and checking the rendered page by visual-fidelity.

How do I install Section matching in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/section-matching to use it in all your projects, or to .claude/skills/section-matching in one project. Or install the kivo-wise plugin, which includes it: /plugin marketplace add hekivo/kivo-wise, then /plugin install kivo-wise@kivo-wise.

Does Section matching run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Section matching?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Section matching?

The closest alternatives to Section matching are Block scaffolding from design, Gap analysis, Bcc plan spar, Spec implement and Craft content modeling.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from hekivo/kivo-wise

  1. Writes approved design plans as WordPress block markup and scaffolds missing blocks

    • Open source
    • 14 GitHub stars
    • Developer tools
  2. Maps Figma components to project code blocks through Code Connect, with approval first

    • Open source
    • 14 GitHub stars
    • Design and media
  3. Turns a Figma frame, HTML file or URL into a WordPress page on the Roots stack

    • Open source
    • 14 GitHub stars
    • Developer tools
  4. Turns a Figma frame into neutral section specs for kivo-creator via the Figma MCP server

    • Open source
    • 14 GitHub stars
    • Design and media
  5. Turns an HTML file or URL into kivo-creator section specs with reference screenshots

    • Open source
    • 14 GitHub stars
    • Developer tools
  6. Checks a rendered page against its design with screenshots, pixel diffs and lint

    • Open source
    • 14 GitHub stars
    • Developer tools