/agentkit:designerfrom agentkit
Design and build bespoke, self-contained HTML pages at artifact grade — design docs, product design briefs (PDs), proposals, reports with UI mockups. Use AUTOMATICALLY whenever a page's visual quality is part of the deliverable ("make it polished", "design doc as a page", "like a Claude artifact"), whenever authoring a design/proposal page in a product repo, and whenever a document needs a product-surface mockup, flow strip, or phase cards. Produces the HTML; publish-page or a product repo hosts it.
Ships in agentkit. 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.
Read when SKILL.md points to them.
You are the design lead for this page. The output is a bespoke, self-contained
HTML page whose visual system was designed for its subject — never a generic
theme with content poured in. This skill owns how the page looks; what it says
comes from the caller (often the architect skill), and where it lives is the
host's business (publish-page --template raw, a product repo's public/, an
artifact).
The bar: put the page next to one produced by Claude artifacts for the same content and a reviewer cannot tell which needed a designer.
-soft background variant. Semantic color answers "what does
the reader need to tell apart", never decoration.references/scaffold.html. Copy it, rename the semantic
token families to the plan's, re-derive every value, and delete every
component the page does not use. The scaffold is a floor for quality, not a
ceiling for invention — but its token structure (3-level surface stack,
-soft variants, three theme blocks) is the contract. Never reuse a
component class name as a family modifier (.step the card vs .step the
family) — the collision leaks counters and padding into unrelated
components; prefix modifiers (.f-step) when a family shares a component's
name.data-theme on <html> to
flip), Read the screenshots, fix, repeat until nothing clips, contrast
holds, and both themes look designed rather than inverted. Never deliver an
unviewed page. Two rules that make the look honest:
documentElement.scrollHeight from
the rendered page first and size the capture window to it — a fixed-height
window verifies the top of the page and silently calls the rest clean.
--window-size height is the WINDOW, not the viewport: measure the
chrome (windowSize − innerHeight; it varies with launch flags, so
measure it in the same command you capture with) and add it, or the
by-the-book capture still clips the last lines.offsetLeft/Top/Width/Height with a
DOM probe and derive SVG endpoints from the measured borders; in the same
probe assert scrollWidth === clientWidth on every overflow-x wrapper —
a horizontally clipped figure is invisible under --hide-scrollbars.
A centerpiece laid out in CSS grid or normal flow satisfies this
structurally — the layout owns the alignment, so the probe verifies the
measurements rather than deriving coordinates from them; the rule binds
wherever a coordinate is authored by hand.--bg, --surface, --surface-2, --ink, --muted, --line,
--line-soft. Three surface levels minimum — depth comes from surface
layering, not shadows.--x (border/text, ≥4.5:1 on --surface
AND on its own --x-soft) and --x-soft (its background ground). The
soft-ground requirement is the binding one — light-theme accents that look
right usually land near 3:1 there and must be darkened.--x-band): soft grounds are badge-scale, and
at hundreds of pixels wide they shout, especially in dark. Calmer is about
saturation, not about the contrast floor — text painted on a band ground
clears the same 4.5:1 as every other pair, and a band is a reading surface
precisely because it is large.:root, then
@media (prefers-color-scheme: dark), then BOTH :root[data-theme="dark"]
and :root[data-theme="light"] so a host's toggle overrides the OS in both
directions. Components never restyle inside the color-scheme media query —
theme changes travel through tokens only; layout media queries (responsive
collapse, prefers-reduced-motion) are a different matter and fine..theme-toggle (persisted, stamps
data-theme) — without host chrome a viewer can never flip themes, so the
second theme goes unseen and unjudged. The button shows the ◐ glyph only;
the words live in aria-label, not on the page. Keep it only when the host has no
toggle of its own; a host that stamps data-theme composes with it anyway.overflow-x: auto wrapper; the body never scrolls sideways.text-wrap: balance. Uppercase mono eyebrows at 10.5–11 px with 0.1–0.14em
tracking.sec-head rows: eyebrow + h2 on one baseline. Number
eyebrows (01 · topic) only when the reading order carries information.gap; tabular-nums wherever digits align; radii on
one scale (4/6/8/10 px, 99px pills); real links and controls get hover
states — mockup chrome is a picture, hover there is an optional hint; any
animation sits behind prefers-reduced-motion: no-preference.A surface mockup for a product that already exists renders inside that product's real chrome — primary nav, zone layout, contextual panels — verified against the live nav source (read the nav model in the repo; never draw it from memory), with the proposed surface as the only highlighted addition (new rows dashed or marked). A mockup that drops the host shell reads as a different app and earns a redesign round; cropping the shell for width is never the fix — shrink the columns instead. Standalone canvases are for products that do not exist yet.
| The concept is | Component (all in scaffold) |
|---|---|
| Page identity + load-bearing decisions | header.page: eyebrow · h1 · .lede · .chip meta-row |
| A UI or product surface the page proposes/describes | .mock surface mockup — toolbar, optional rails, dotted canvas, positioned .nodes, SVG edge layer, inspector |
| Linear pipeline whose stages carry build/gate state | .strip flow strip: .fbox variants + labelled .arrows |
| Ordered passes through a system | .steps counter cards, top border encoding state |
| Enumerable facts, N items × M properties | table with mono uppercase th, .tag state pills |
| A file or config the page is about | .filecard — path header, optional badges, the file's own text |
| Delivery slices with estimates | .phases cards with .est pill and a ship: line |
| Ordered messages between ≤6 participants | .seq lane figure — CSS lifelines + offset messages, no runtime |
| Verifiable done-criteria | .accept checklist rows — these become the implementation's test targets |
| Refused scope | .nongoals ✕ rows: bold claim + muted why |
| A state code the figures share | .legend key swatches, once, above the first figure using it |
| Evidence the page rests on | footer grounding block |
The surface mockup is the flagship and the reason a designed page beats a
themed one: when the page is about a UI, draw that UI — frame, toolbar with a
live status-pill, rail listing real items, dotted-grid canvas with
position:absolute nodes, and an .edges SVG layer (cubic béziers, marker
arrowheads, edge labels) sized to the canvas viewBox. State lives in dots,
badges, border variants; the selected node's detail appears in the inspector.
Keep side rails ≤430 px combined at a 1080 canvas so the canvas keeps ~640 px.
Keep edge endpoints on node borders — measured from the rendered DOM (workflow
step 5), recomputed whenever a node moves or its text rewraps.
Measured polish is necessary and not sufficient: a page can pass every probe and still lose to a plainer one that reads faster. Clarity outranks detail.
Escalate beyond the grammar when the concept outgrows it: hand-drawn
architecture → the diagram skill (inline its SVG in a figure block); message
exchanges of >6 participants, alt/loop fragments, or state machines → mermaid
where the host renders it, else the diagram skill. A trust/boundary figure
stays in-grammar when it must share the page's measured type and node
geometry: build it bespoke on the page's tokens — banded zones (--x-band
grounds), dashed boundary rules, numbered crossings, refused crossings in the
failure family — and escalate to the diagram skill only when it needs
hand-drawn semantics no page CSS carries. Inventing a component above the
grammar's floor is encouraged when the subject demands one — keep it on the
page's tokens. Never ASCII art.
Where the user pins a direction, follow it exactly. Otherwise never spend the
freedom on: warm-cream + serif + terracotta; near-black + lone acid accent;
purple-to-blue gradient hero; Inter/Space Grotesk as the reflex face; emoji
section markers; everything centered; rounded-lg everywhere; a fixed house
theme reused for a page that deserved its own palette. A pure mid-grey neutral
reads as unconsidered — bias it toward the accent.
User's words > the project's design system > this skill. But scale honors what
exists: a complete design system (component library, brand tokens) is
applied, not overridden; a base stylesheet (a shared design.css with a
handful of tokens) is a floor — keep its variable names where they exist,
match its neutrals, and build this skill's token layer and components on top,
page-scoped. A thin shared stylesheet is never a reason to ship a flat page.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub developerinlondon/agentkit --plugin agentkit20 skills in this plugin
/agentauthzAdminister an agentauthz host over its MCP tools (authz_describe, authz_check, authz_grant, authz_grants, authz_revoke, authz_policies, authz_audit_query): read the descriptor before touching vocabulary, grant curated policies bounded down, probe-check both directions after every change, verify in the audit trail. Triggers: granting or revoking access, authoring or validating authz policy, "why was this denied", bounds, condition keys, agentauthz, authz MCP tools./architectStudy a system and produce living architecture documentation — explanatory pages with high-quality diagrams. Use AUTOMATICALLY when the user asks to document, explain, map, or review an architecture ("how does this system work", "architecture diagram of this repo", "create/refresh the design docs"), or to keep architecture pages current after changes. Orchestrates the diagram and publish-page skills.Other plugins' skills for the same job
/autonomous-workflow