agentsclimarketplace

Kern

Skill raymondware/kern/skills/kern

Multi-agent design quality harness for dev-built UIs. Orchestrates specialist agents for typography, color, layout, copy, accessibility, and post-synthesis design quality through a 6-phase pipeline (draw, plan, interview, develop, review, present). Builds reference benchmarks and structured regression context when supplied, picks a VARIED subset of anti-patterns per run with an audit log, and uses a critic ensemble, synthesizer, and design gauntlet to catch AI defaults without cloning references. Persona system (developer tool, consumer SaaS, creative tool, B2B enterprise, e-commerce). Built for Shadcn/Radix/Next.js stacks.From its SKILL.md

Install
npx -y skills add raymondware/kern --skill kern

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

13.0 KB, as published. Nobody here has run it

Kern v1.0.0

Multi-agent design harness for developers who care about craft. Named after kerning: the small adjustments that make type feel right. Kern orchestrates specialist agents to find and fix the small adjustments that make UIs feel right.

Quick Start (5 minutes)

# Generate a component or page from scratch
/kern:design hero section for a CI/CD observability platform for platform engineers

# Audit existing code
/kern:audit
# (paste in TSX or describe the component to audit)

# De-AI an existing design
/kern:differentiate

# Run only the anti-pattern selector (verifies rotation)
/kern:draw landing page for a creative-agency workflow tool

What kern does behind the scenes:

  1. anti-pattern-selector picks a varied subset of anti-patterns for THIS run, weighted by site signals (persona, surface, industry, audience, competitors, brand tokens). Excludes the previous run's subset. Audits to state/draws.jsonl.
  2. Detects one of 5 product personas from your brief or code
  3. Loads that persona's font, color, layout, copy rules
  4. Specialists work within the assigned subset (no specialist reads outside it)
  5. Critic ensemble runs in parallel; synthesizer merges into a 0-100 sameness score
  6. Score above gate threshold (40 for kern output, 60 for external audit) routes to targeted rework

Respect for stated direction: kern targets AI-default USES of elements (gradients, glow, identical-card grids, undeclared default fonts), not the elements themselves. If the user says "electric violet on dark with Inter," use those. Apply Sameness discipline within their constraints.


The Core Problem

Every AI-generated UI looks the same. Indigo-500 buttons. Centered hero with a radial glow. Three feature cards. Inter font. Starter/Pro/Business pricing. FAQ accordion.

Kern's job is to catch these defaults before they ship, using a team of specialized agents that plan, design, implement, and review collaboratively.

The Variation Rule

The biggest failure mode of any "anti-pattern checker" is that the checker itself becomes a template. If kern critiqued every site against the same 48 patterns, two distinct prompts would produce identical critiques and the design direction would converge.

Kern enforces a hard rule:

  1. Vary the draw per run. Each run selects a different subset of anti-patterns weighted by site-specific signals (persona, surface, industry, audience, competitors, brand tokens).
  2. Never reuse the same subset two runs in a row. The selector reads state/draws.jsonl and excludes the most recent draw.
  3. Audit trail. Every draw is appended to state/draws.jsonl and printed at the top of every kern output.
  4. Site-specific signal. At least one input signal must influence the selection. Generic selection produces generic output.

The anti-pattern-selector agent enforces all four rules. It runs first in every kern command. If the audit log fails to append, the run aborts.

Agent Team

Orchestration

AgentModelRole
conductorOpus 4.8Pipeline orchestrator. Manages state, spawns specialists, enforces quality gates.
anti-pattern-selectorSonnetPicks the varied subset for this run, writes the audit log. Runs first in every pipeline.
critique-synthesizerOpus 4.8Merges parallel critic outputs, deduplicates, computes consensus sameness score.
design-gauntletOpus 4.8Post-synthesis gate for task clarity, hierarchy, distinctiveness, content, interaction, responsive integrity, and reference divergence.

Design Specialists (read-only, produce specs)

AgentModelRole
typography-specialistHaikuFont selection, type scale, hierarchy
color-specialistHaikuOKLCH palette, contrast, brand color derivation
layout-specialistHaikuGrid, spacing, density, breakpoints
component-architectSonnetComponent tree, variants, composition patterns
motion-specialistHaikuAnimation timing, interaction feedback, transitions

Development (produce code)

AgentModelRole
component-implementerSonnetReact/TSX from design specs
style-implementerSonnetCSS variables, Tailwind config, token system
accessibility-implementerSonnetARIA, keyboard nav, focus management

Review (parallel ensemble, each scoped to one slice of the subset)

AgentModelRole
design-criticOpus 4.8Broad anti-pattern scan; per-dimension score capped at 40
hierarchy-criticHaikuLayout, density, hero/feature/pricing structure slice
interaction-criticHaikuMotion, feedback, modal, toast, dark-pattern slice
microcopy-criticHaikuInline product copy: button labels, errors, empty states
copy-editorOpus 4.8Headline and marketing copy slice
accessibility-auditorHaikuWCAG 2.1 AA compliance
responsive-validatorHaikuCross-breakpoint layout validation

Research

AgentModelRole
design-researcherHaikuReference site finder
research-scoutSonnetCommunity pattern scanner

Pipeline

The /kern:design command runs the full 6-phase pipeline via the conductor agent:

  1. DRAW: anti-pattern-selector picks a varied subset, writes the audit log line, emits the audit_header. Every downstream agent receives selected_subset.
  2. PLAN: Persona detection -> benchmark brief and optional regression context -> reference research -> parallel specialists (typography, color, layout, motion) -> component architect
  3. INTERVIEW (conditional): Targeted questions if specs have gaps
  4. DEVELOP: Style implementer -> component implementer -> accessibility implementer
  5. REVIEW: Critic ensemble in parallel (design + hierarchy + interaction + microcopy + copy-editor + accessibility), synthesizer, then post-synthesis design-gauntlet. Targeted rework if needed (max 2 ordinary cycles and max 2 gauntlet cycles).
  6. PRESENT: audit_header + synthesizer report + final code

See ${CLAUDE_PLUGIN_ROOT}/skills/kern/references/orchestration/pipeline.md for the state machine. See ${CLAUDE_PLUGIN_ROOT}/skills/kern/references/orchestration/quality-gates.md for gate criteria.

Anti-Pattern Pool & Manifest

The pattern pool is catalogued at ${CLAUDE_PLUGIN_ROOT}/anti-patterns/manifest.json. Each entry has a stable id, categories, tags, severity_default, source_file, anchor, personas, and site_signals. Critics read the manifest to look up where to find the rule for an ID, then read only the relevant section of the source file.

The pool is grouped into three base files plus a research-sourced directory:

FilePatterns
${CLAUDE_PLUGIN_ROOT}/anti-patterns/visual.mdGradient slop, nested card soup, Inter default, centered glowing hero, AI palettes, decorative shadows, fake dark mode, neon, stock icons
${CLAUDE_PLUGIN_ROOT}/anti-patterns/copy.mdEm-dashes, marketing verbs, hedging, filler, self-descriptors, passive voice, vague headlines, broken microcopy
${CLAUDE_PLUGIN_ROOT}/anti-patterns/interaction.mdDishonest CTAs, loading as marketing, motivational empty states, bouncy interactions, modal fatigue, toast spam, dark patterns
${CLAUDE_PLUGIN_ROOT}/anti-patterns/sourced-from-research/Filed by the research-scout agent. Each pattern requires 2+ independent complaints.

Total: 69 anti-patterns across base and sourced files (manifest v1.1.0). The base files include community citations on each pattern. Add a new pattern by writing it into the source file and appending an entry to manifest.json.

Persona System

PersonaFileRegister
Developer tool${CLAUDE_PLUGIN_ROOT}/skills/kern/references/personas/developer-tool.mdRestrained, dense, function-first
Consumer SaaS${CLAUDE_PLUGIN_ROOT}/skills/kern/references/personas/consumer-saas.mdWarm, spacious, approachable
Creative tool${CLAUDE_PLUGIN_ROOT}/skills/kern/references/personas/creative-tool.mdBold, editorial, personality-forward
B2B enterprise${CLAUDE_PLUGIN_ROOT}/skills/kern/references/personas/b2b-enterprise.mdConservative, trust-building, data-forward
E-commerce${CLAUDE_PLUGIN_ROOT}/skills/kern/references/personas/e-commerce.mdProduct-first, conversion-focused

Sameness Score

Every audit and design workflow produces a sameness score (0-100) computed by the synthesizer from the four parallel critics' contributions.

ScoreMeaning
0-20Distinctive. Clear decisions made. Ready to ship.
21-40Has character. Some defaults showing but not dominant.
41-60Generic. Could be any AI-generated SaaS site.
61-80Default AI aesthetic. Multiple tool fingerprints present.
81-100Template unmodified. The tool's defaults, shipped as-is.

Gate threshold: 40 for kern-produced output, 60 for /kern:audit on external designs.

Commands

CommandDoes
/kern:design <desc>Full 6-phase pipeline via conductor
/kern:plan <desc>Plan phase only (specs, no code)
/kern:auditDRAW + parallel critic ensemble + synthesizer
/kern:reviewSame as audit, broader scope (also runs copy-editor and accessibility)
/kern:differentiateDe-AI an existing design, with an optional reference or versioned style recipe benchmark
/kern:compareCompare two designs, with an optional reference or versioned style recipe benchmark
/kern:polishRefine a component (critic + copy)
/kern:copyCopy audit only
/kern:researchScan communities for new patterns
/kern:draw <desc>Run the anti-pattern-selector standalone (rotation verification)

State

Append-only audit log lives at ${CLAUDE_PLUGIN_ROOT}/state/draws.jsonl. Every kern run appends one record before any other agent runs. See ${CLAUDE_PLUGIN_ROOT}/state/README.md for the schema.

Reference Files

FilePurpose
${CLAUDE_PLUGIN_ROOT}/skills/kern/references/fonts.mdFont stacks with context
${CLAUDE_PLUGIN_ROOT}/skills/kern/references/tokens.mdSpacing, radius, type scale, color philosophy
${CLAUDE_PLUGIN_ROOT}/skills/kern/references/exemplars.mdSites that get it right and why
${CLAUDE_PLUGIN_ROOT}/skills/kern/references/dribbble-refs.mdReference shots by category
${CLAUDE_PLUGIN_ROOT}/skills/kern/references/ai-fingerprints.mdTool-specific fingerprints (v0, Lovable, Bolt.new, Cursor) for /kern:differentiate
${CLAUDE_PLUGIN_ROOT}/skills/kern/references/orchestration/single-agent-workflow.mdSimple non-conductor workflow for single-agent invocation
${CLAUDE_PLUGIN_ROOT}/skills/kern/references/orchestration/subagent-contract.mdProtocol for external systems spawning kern as a subagent (used by app-factory)
${CLAUDE_PLUGIN_ROOT}/skills/kern/references/orchestration/differentiate-detailed.mdIter-evolved worked examples for v0/Lovable/Bolt.new/Cursor de-AI-ing
${CLAUDE_PLUGIN_ROOT}/skills/kern/references/orchestration/compare-detailed.mdIter-evolved compare workflow with vs-baseline mode
${CLAUDE_PLUGIN_ROOT}/skills/kern/references/orchestration/reference-led-design.mdBenchmark contract for supplied references, structured evidence, regression context, provenance, adaptation, and divergence
${CLAUDE_PLUGIN_ROOT}/skills/kern/references/style-recipes.mdVersioned, scoped, tool-agnostic style recipe schema and application rules

Tools

FilePurpose
${CLAUDE_PLUGIN_ROOT}/tools/render-check.shValidate generated TSX compiles (Tailwind + Shadcn type shims)
${CLAUDE_PLUGIN_ROOT}/tools/reproducibility-report.shWindowed history of audit scores
${CLAUDE_PLUGIN_ROOT}/tools/draw_simulator.pyReference Python implementation of anti-pattern-selector for deterministic rotation testing

Tests

FilePurpose
${CLAUDE_PLUGIN_ROOT}/tests/audit-fixtures/12 .tsx fixtures with seeded violations + expected results
${CLAUDE_PLUGIN_ROOT}/tests/run-audit-fixtures.shRegression runner against expected results
${CLAUDE_PLUGIN_ROOT}/tests/audit-agent.mdAudit-fixture evaluator agent spec
${CLAUDE_PLUGIN_ROOT}/tests/onboarding-test.md5-minute onboarding test (verifies new contributors can run kern in under 5 min)

Voice

Kern talks dev-to-dev. No em-dashes. No marketing register. Short sentences. Specific recommendations over general observations.

Keep looking

Skills are one crate of 607,533. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.