Skip to content

Kyarha/design-kit

Repository files navigation

design-kit

A Claude Code plugin for briefing and iterating on Claude design (CD). Write short, positive design briefs that hand the visual design to CD, turn your feedback into copy-paste change requests, and keep every design decision recorded per version under docs/design/.

design-kit gives you two skills that bracket the design loop:

Skill Use it when It produces
design-brief Starting — or re-versioning — a page, screen, component, or asset A structured brief that tells CD to build all its files into a fresh design_vX.Y/ folder + a new docs/design/<page>/vX.Y.md
design-tweaks Reacting to something CD made Concise change requests targeting the current version's files + a new round in that version's ## Revisions

Records live in the repo next to your code — one Markdown file per version — so your design intent and the full history of changes are reviewable and never lost in a chat scroll-back.

The core principle: positive direction only

Claude design is the designer — it decides mood, colour, type, layout, and atmosphere (or asks you). A design-kit brief gives it only two things and then gets out of the way:

  • What to build and the real content it must contain — the regions, the actual copy, data, and inventory. Spend all your specificity here; this is what makes the output good.
  • Then it hands the look to CD. No palette, no hex codes, no tone adjectives, no style-rules list — those just make CD rebuild a mediocre design instead of inventing a good one.

Two supporting rules keep briefs clean:

  • Short. A brief should be about as long as the content it carries, no longer.
  • Positive. Every line says what to create, never what to avoid — CD follows "do X" well and "don't do Y" badly.

Versioning, so you can always go back

A CD design isn't one file — it's a folder of files (the JavaScript file plus the HTML pages: landing page, time picker, glyph set…). design-kit treats that whole folder as one version, design_vX.Y/, and has CD write a version header at the top of every file so any file traces back to its version.

Every brief is a new version. The only question is where it starts:

  • From scratch — the first design, or a fresh direction — bumps the major number: design_v1.0, then design_v2.0, design_v3.0. CD builds the folder new.
  • Based on a previous version — reuse its files as a base, then evolve — bumps the minor number: design_v1.0design_v1.1. CD copies the prior folder as the starting point; the earlier version stays intact, so you can always go back.
  • Tweaks edit the current version in place — quick changes where you don't need the before-state kept. Every change request names the current folder (Update the files in design_v1.0/: …), so CD refines the right version and never an old one.

The current version and what it's based on live in each version file's version: / base: frontmatter, and every file CD generates carries its design_vX.Y header on line one.

Install

/plugin marketplace add Kyarha/design-kit
/plugin install design-kit@design-kit

Both skills are then available in every project on that machine. (If you previously kept these as personal skills in ~/.claude/skills/, delete those copies after installing so they don't duplicate the plugin's.)

Requirements: Claude Code with plugin support, plus access to Claude design (CD) — the tool you paste the briefs and change requests into.

How it works — a worked example

You don't invoke anything special: just tell Claude Code what you want (or run /design-kit:design-brief directly).

1. Brief it. "Brief a mobile landing page for Lanora, my hand-dyed yarn shop." The design-brief skill writes docs/design/landing/v1.0.md and hands you a copy-paste block:

# Landing — design brief (v1.0)

Create a folder `design_v1.0/` and build every file of this design inside it — the JavaScript file
and each HTML page. Begin each file with a version header on its first line: `<!-- design_v1.0 -->`
for HTML files, `// design_v1.0` for the JavaScript file. Keep any existing `design_v*` folders as
they are.

**What to build** — A mobile landing page for Lanora, a small-batch hand-dyed yarn shop, for
first-time visitors: greet them and lead them into the collection.

**What it must contain** — A hero (shop name, one line of positioning, a primary call to action); a
strip of three featured colourways with name + price; a short "how it's dyed" trust note; a footer
with newsletter sign-up. Real content:
- Positioning line: "Small-batch yarn, dyed by hand in Geneva."
- Featured colourways: Mistral (CHF 28), Lavande (CHF 26), Ardoise (CHF 30)
- Trust note: "Every skein dyed in batches of twelve."

**Done when** — a first-time visitor grasps what Lanora sells in one glance, the three colourways
are the centre of the page, prices show in Swiss francs, and it works on a phone.

You own the visual design — mood, colour, type, layout, imagery. Show me 3 distinct directions, and
ask me if you'd like any direction.

Notice what's not there: no palette, no "warm/calm/tactile", no style rules. Those are CD's to decide. The brief is short — the content is the only thing it's specific about.

2. Paste into CD. Copy everything from the build-and-version preamble down to (but not including) ## Revisions, paste it into Claude design, and let it generate the directions — all built into design_v1.0/, each file headed design_v1.0.

3. Tweak it. "The hero feels cramped and the green buttons are too cold." The design-tweaks skill turns that into a positive change request aimed at the current folder:

Update the files in `design_v1.0/`:
- Make the hero headline larger and give it more breathing room
- Use a warmer, earthier green for the primary buttons
- Move the "Shop the collection" button directly under the headline

CD edits the files in design_v1.0/ in place, and the round is appended to that version's file.

4. Repeat — or re-version. Quick changes stay tweaks. When you want a fresh direction or a safe checkpoint, brief again: design-brief makes design_v1.1/ (based on v1.0) or design_v2.0/ (from scratch), leaving v1.0 intact.

What gets recorded

After the tweak above, docs/design/landing/v1.0.md looks like this — brief at the top as the version's intent, revisions accumulating below:

---
page: landing
version: v1.0
base: scratch            # scratch | design_v1.0 (the folder this version started from)
product: Lanora — an online shop for hand-dyed yarn
tool: Claude design
status: iterating        # briefed | iterating | chosen
---

# Landing — design brief (v1.0)

Create a folder `design_v1.0/` and build every file of this design inside it — the JavaScript file
and each HTML page. Begin each file with a version header on its first line: `<!-- design_v1.0 -->`
for HTML files, `// design_v1.0` for the JavaScript file. Keep any existing `design_v*` folders as
they are.

… the full brief from step 1 …

Show me 3 distinct directions.

## Revisions

### R1 — warmer, roomier hero · design_v1.0
- Make the hero headline larger and give it more breathing room
- Use a warmer, earthier green for the primary buttons
- Move the "Shop the collection" button directly under the headline

Each version gets its own file under docs/design/landing/, so v1.0.md, v1.1.md, v2.0.md sit side by side — mirroring CD's design_v*/ folders.

Repository layout

.claude-plugin/marketplace.json          the marketplace (points at the plugin/ subfolder)
plugin/.claude-plugin/plugin.json        the plugin manifest (name, version, author)
plugin/skills/design-brief/SKILL.md      the briefing skill
plugin/skills/design-tweaks/SKILL.md     the change-request skill
.github/workflows/release-please.yml     automated changelog + version bump + tagged release

Releases

Versioning is automated with release-please. Conventional-commit messages on main (feat:, fix:, …) drive the changelog, bump the version in plugin.json, and cut a vX.Y.Z tag. You generally don't touch the version by hand.

License

No license is declared yet. Until one is added, all rights are reserved by the author — add a LICENSE file if you intend others to reuse this.

About

Claude Code plugin: brief and iterate on Claude design (design-brief + design-tweaks skills)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors