/coleoni-variants

Three real versions. Pick one.

Choosing between descriptions is guessing. The skill designs three genuinely different directions for a component, with the project’s own fonts and colors, applies each one to the live page, and lays them out next to the current version on desktop and phone. You choose 1, 2, 3 or a mix; it builds that one.

npx skills add c0le0ni/skills --skill coleoni-variants
View on GitHub
Claude Code, Codex, Cursor, Gemini CLI and more 3 directions, not 3 tweaks In the real page Builds the one you pick
The board the skill generated for coleoni.com, up close: the brief, the current open source cards, Index and Spotlight with their notes, on desktop and phone The big Loaders card in the Spotlight variation, cropped from the real page, with the skill’s note and the colors and fonts of the page itself, shared by all three The Index variation built into globals.css and ProductCards.tsx, on the real page, with the previous version small in the corner
Example

Index, Spotlight or Shelf?

I ran it on my own site, coleoni.com, on a local copy: the three open source cards (Skills, Blob, Loaders) where the hero meets the next section. Three positions in the page’s own colors and fonts, each applied to the real page on desktop and phone, each saying what it gives up. Then it built Index into globals.css and ProductCards.tsx.

variants.json
{
  "title": "Open source cards at the fold",
  "brief": "The three free projects where the hero
            meets the next section. The reader must
            get, in one look, that these are real
            tools they can use today...",
  "variants": [
    { "name": "Index",
      "note": "One dark panel, three rows like
               a table of contents..." },
    { "name": "Spotlight",
      "note": "Loaders, the project the hero
               already calls new, gets a big card..." },
    { "name": "Shelf",
      "note": "Three short paper tiles..." }
  ]
}
3directions, each with what it gives up
2screens each: desktop and a 390px phone
2files changed to build Index
0lines of injected CSS left after the build
How it works

Brief, three positions, the real page.

Each variation takes a clear position and says what it gives up. The board puts them in the page, where the decision actually happens.

  1. Reads the component

    Its markup, its CSS, the tokens it uses, and the project’s design rules.

  2. Writes the brief

    What the component is for and what the reader must get first. The variations compete on that.

  3. Designs three directions

    Quiet, branded, dense, or what fits the component. Same content, the project’s tokens.

  4. Applies them live

    Each one injected into the real page, with the real fonts, colors and neighbors.

  5. Lays out the board

    Current and the three, on desktop and a 390px phone, checked for sideways scroll and cut text.

  6. Builds your pick

    The way the project writes styles, with tokens, keeping headings, labels and focus.

Install

One command, any agent.

The only package is playwright-core, installed by the agent on first use. It drives the Chrome or Edge you already have.

AgentClaude Code, Codex, Cursor…
Node.js18 or newer
Chrome or Edgealready on the machine
01Install
npx skills add c0le0ni/skills --skill coleoni-variants
02Use it in your agent
/coleoni-variants the pricing table
For your whole user, not just the project-g
Claude Code only-a claude-code
Codex only-a codex
Every Coleoni skillnpx skills add c0le0ni/skills
Examples

Any component worth a second look.

Cards, heroes, pricing tables, navs, forms, empty states.

Three ways to show the plans.

/coleoni-variants the pricing table

With a constraint.

/coleoni-variants the hero, one of them without the photo

Mix two of them.

/coleoni-variants build 1 with the lime card of 2
Options

The engine, from the terminal.

scripts/variants.mjs runs on its own too: node variants.mjs http://localhost:3000 --select ".pricing" --variants variants.json.

OptionWhat it does
--select ".card"The component
--variants file.jsonName, note, CSS and optional HTML for each variation
--width 1280Desktop width; the phone is 390
--lang en|ptLanguage of the board

Stop describing it. Look at it.

npx skills add c0le0ni/skills --skill coleoni-variants