Logo van Design Doctrine

Design Doctrine

CommunityPopulair
plugin87
design-doctrine

De basisregels voor ALLE ontwerp- en UI-werkzaamheden: het verificatieprotocol (voer de gate uit, claim nooit zomaar een getal), het absolute verbod op emoji's, tokens op basis van intentie, één gedeeld thema, de acht statussen, één ding staat centraal en volledige output. Laad dit ALTIJD EERST wanneer je een scherm, component of tokenset bouwt, beoordeelt of van een thema voorziet. Als plug-in bevat deze skill dezelfde informatie als CLAUDE.md in de repo.

Overzicht

Uitgeverplugin87
Repositoryux-ui-agent-skills
Skillnaamdesign-doctrine
Sterren
3K
Forks
290
Meegeleverde bestanden
Alleen instructies
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door plugin87 op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Design Doctrine in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/plugin87/ux-ui-agent-skills/tree/main/.claude/skills/design-doctrine
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/plugin87/ux-ui-agent-skills.git /tmp/ux-ui-agent-skills
mkdir -p .claude/skills
cp -r /tmp/ux-ui-agent-skills/.claude/skills/design-doctrine .claude/skills/design-doctrine
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Design Doctrine in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Design Doctrine automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Design Doctrine niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

Skill: Design Doctrine

Step 0: is the kit here? This skill reads files from the kit. Check once: ls ${CLAUDE_SKILL_DIR}/../../../tokens >/dev/null 2>&1 && echo KIT_OK || echo KIT_MISSING On KIT_MISSING only the skill folders were installed, which is what npx skills add does. Say so plainly, point the user at npx ux-ui-agent-skills init or the plugin install, and stop. Do not guess the contents of a file you could not open.

A plugin's root CLAUDE.md is not loaded as project context, so the always-on brief travels here instead. Read this before the first line of any design work, then load the rule file for the territory you are actually in.

Verification protocol - run gates, never claim

  1. Never state a number you did not measure. Any contrast ratio, "WCAG pass", or "100%" must come from running a gate and reporting its real output. If you have not run it, say "not verified yet."
  2. Verify every state, not just resting. node ${CLAUDE_SKILL_DIR}/../../../scripts/gate.mjs verify_states.mjs <file> [--dark] measures default, hover and focus - a button that passes at rest can fail on hover.
  3. One command before reporting done: node ${CLAUDE_SKILL_DIR}/../../../scripts/accuracy_report.mjs. Report the real N/N line. It is all-or-nothing.
  4. Build with the gates, not after them. Fix and re-run until green; never announce success between failures.
  5. Render and LOOK. Gates pass while a UI is still visibly broken. Screenshot the harness in both themes, click every control, and confirm the state changed.
  6. Responsive is gated too: node ${CLAUDE_SKILL_DIR}/../../../scripts/gate.mjs verify_responsive.mjs <file|dir>: no horizontal overflow from 280 to 951px, iPhone Duo included, and a hinge kept clear by any page that answers the fold.
  7. Honest scope. The gates prove objective correctness. They never prove taste. For that, run /critique, look at the work yourself, and start from the taste preflight below rather than from default components.
  8. SKIPPED is not a pass. With no browser installed a render gate prints SKIPPED and exits 0, reporting nothing. Run single render gates behind DS_REQUIRE_BROWSER=1 so that becomes REQUIRED, FAILING, and fix it with npx playwright install chrome rather than by removing the flag.

Mobile is the base

Base styles ARE the phone layout. Wider screens are layered on with min-width. max-width is not banned - it is right for a genuine narrow refinement, or for a range between two breakpoints - but a desktop-first stylesheet, where the base assumes a wide screen and mobile is patched in afterwards, is a bug.

Measured by ${CLAUDE_SKILL_DIR}/../../../scripts/verify_mobile_first.mjs, which removes every @media and @container rule and renders what is left at 320px. A mobile-first page passes because its base already is the phone layout. A desktop-first page cannot fit.

Two house rules on what never ships

Never ship a native <select>. It draws its own chevron, pressed against the control's edge with no breathing room, and appearance: none plus a custom chevron fights the platform instead of matching the system. Use the Listbox or Combobox pattern in ${CLAUDE_SKILL_DIR}/../../../components/forms-advanced.md: a button trigger that announces the current value, the chevron placed with inner padding from tokens, and full keyboard parity (typeahead, arrows, Home/End, Escape, aria-expanded that really toggles something visible). Losing native select means accessibility stops being free, so the replacement has to pass every state, keyboard and axe gate before it counts. Measured by ${CLAUDE_SKILL_DIR}/../../../scripts/lint_native_select.py.

Never a colored border on one side only of a card, alert, toast or callout - border-left, border-right, border-top, border-bottom, or the logical border-inline-* and border-block-* forms. The tinted 3-4px bar is a generated-UI cliche in every direction, not only on the left: it is decoration standing in for hierarchy the layout never established. Use a full hairline border on all sides, or surface and elevation separation, and carry status with a real icon plus text, never colour alone. Measured on the render by the one-sided accent-border tell in ${CLAUDE_SKILL_DIR}/../../../scripts/slop_tells.mjs.

Taste preflight - before any markup

The gates cannot see this half, so it has to be decided rather than discovered. Write the block into your reply, then build to it. Generating first is where generated-looking work comes from.

Domain:          fintech | editorial | dev-tool | healthcare | consumer | ...
Audience & tone: expert vs first-time, calm vs energetic, premium vs utilitarian
Mood:            the one adjective the result must earn - "expensive", "precise", "warm"
Motion depth:    none | subtle feedback | expressive choreography
Layout family:   the section sequence you will use, named, varied per section
Reference anchor: an archetype or named system to aim at

Break each of these deliberately; they are defects, not starting points.

  • Three or four identical equal-weight cards. One thing leads.
  • Everything centered. Use asymmetry on a real grid.
  • The same left-text / right-image row repeated.
  • A heading that is only bold body text. Display type is at least 2.5x body, short, on an 18-24ch measure.
  • A drop shadow on every box. Most things are flat.
  • #000 on #fff. Off-black on warm-white, from the theme.
  • More than one accent. Neutrals carry the weight.
  • A colored border on one side only of a card, alert, toast or callout. Full hairline border or surface separation; status by icon plus text, never colour alone.
  • Em-dashes in UI copy, marketing filler ("elevate", "seamless", "unlock"), hollow triads, fake labels ("SECTION 01", lorem ipsum).

Depth, and the full Variance Mandate: ${CLAUDE_SKILL_DIR}/../../../taste/design-taste.md. For a whole page or app, use design-screen, which runs this preflight as step 1 of the pipeline.

ABSOLUTE: zero emoji in any output - UI, code, JSON, copy, comments, commit messages. Not as an icon, a bullet, a status dot, or "polish". Emoji are the number-one tell of machine-generated work. Use a lucide icon (inline SVG, currentColor) or plain words. No em dash or en dash either: a colon, a comma or parentheses. Enforced by ${CLAUDE_SKILL_DIR}/../../../scripts/check_no_emoji.py.

The five non-negotiables

  1. Token by intent. Pick the token whose meaning matches the action. Destructive actions (Delete, Remove, Revoke) wear action.destructive in every place they appear - the trigger and the confirm dialog both. A blue Delete is a bug. Measured by ${CLAUDE_SKILL_DIR}/../../../scripts/lint_intent.mjs.
  2. One theme, one source of truth. Every page renders from the same ${CLAUDE_SKILL_DIR}/../../../tokens/*.json through one CSS-variable layer imported once at the app root. No per-page palette, no hardcoded hex, px, or timing.
  3. Every interactive element ships eight states: default, hover, focus, active, disabled, loading (if async), error (if input), and selected (if selectable). The eighth is not optional when the thing can be selected.
  4. One thing leads. Every screen has a first place for the eye, and display type is at least 2.5x the body size. Four equal cards means the eye lands nowhere and the screen reads as generated.
  5. Output completeness. A partial output is a broken output. Deliver full files, never placeholders. Asked for N components, deliver all N.

Decision framework

User needs, then accessibility, then consistency, then aesthetics, then developer experience. Never sacrifice a higher tier for a lower one. Beautiful but inaccessible is broken; consistent but confusing is the wrong pattern.

Where the depth lives

Read it whenFile
Tokens, palettes, theming, dark mode, any colour decision${CLAUDE_SKILL_DIR}/../../../.claude/rules/tokens-and-color.md
Type scale, line length, the 4px spacing rhythm${CLAUDE_SKILL_DIR}/../../../.claude/rules/typography-and-spacing.md
Building any screen or component, composition, empty states${CLAUDE_SKILL_DIR}/../../../.claude/rules/components.md
Auditing, or finishing any interactive element${CLAUDE_SKILL_DIR}/../../../.claude/rules/accessibility.md
Generating code for React, Next.js, SwiftUI, or any adapter${CLAUDE_SKILL_DIR}/../../../.claude/rules/frameworks.md
Design review, prototyping, research, handoff${CLAUDE_SKILL_DIR}/../../../.claude/rules/review-and-research.md
Aesthetic direction, motion, voice and tone, governance, QA${CLAUDE_SKILL_DIR}/../../../.claude/rules/brand-and-operations.md

Then pick the runnable skill for the job: design-tokens, design-component, design-code, design-review, a11y-audit, apply-aesthetic, brandkit, image-to-code, redesign, and the rest. Interrogate the brief first with /grill-me; prove the result with /gate; judge it with /critique.

Veelgestelde vragen

Wat doet de AI-skill Design Doctrine?

De basisregels voor ALLE ontwerp- en UI-werkzaamheden: het verificatieprotocol (voer de gate uit, claim nooit zomaar een getal), het absolute verbod op emoji's, tokens op basis van intentie, één gedeeld thema, de acht statussen, één ding staat centraal en volledige output. Laad dit ALTIJD EERST wanneer je een scherm, component of tokenset bouwt, beoordeelt of van een thema voorziet. Als plug-in bevat deze skill dezelfde informatie als CLAUDE.md in de repo.

Waarom Design Doctrine gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Design Doctrine bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Design Doctrine in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/plugin87/ux-ui-agent-skills/tree/main/.claude/skills/design-doctrine. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Design Doctrine gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Design Doctrine gebruiken?

Zoveel als je wilt. Je kunt Design Doctrine gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Design Doctrine gratis?

Ja. Deze skill is door plugin87 op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇