Best for
- The UI directive set emits @agent-directive: ui-design-brief (the
- Any pre-build selection question: which style / palette / font pairing /
- Stack-idiom lookup before writing UI code (--stack axis).
event4u-app/agent-config/src/skills/design-intelligence/SKILL.md
Grounded design brief from the adopted corpus — style, WCAG-checked color tokens, typography, layout pattern, anti-patterns. Use on ui-design-brief or any which-style/palette/font/chart decision.
Decision brief
The grounded source for frontend design decisions (ADR-061; first consumer of corpus-grounding). When the UI directive set's design step emits @agent-directive: ui-design-brief, consult this corpus FIRST and pre-fill the brief candidates — then the human confirms (designconfirme…
Compatibility matrix
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/event4u-app/agent-config --skill "src/skills/design-intelligence"Inspect the Agent Skill "design-intelligence" from https://github.com/event4u-app/agent-config/blob/6a5670b7881a676c0da90d2afb950298087c4ccb/src/skills/design-intelligence/SKILL.md at commit 6a5670b7881a676c0da90d2afb950298087c4ccb. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
1. Ground (one call — engine runs the manifest's plan product → style → color → landing → typography with decision rules):
The UI directive set emits @agent-directive: ui-design-brief (the
Load the reference file whose sections the task needs — never all of them by default:
When the brief maps to an official design system (Material Design, Fluent, Carbon, Polaris, GOV.UK, shadcn, Tailwind UI, Radix, etc.):
font-pairings-reference.csv carries three delivery-adjacent columns and they are not interchangeable. This is the arbitration between them, so the file and its sibling data/stacks/nextjs.csv (row 22: a font-CDN sits in that row's Don't column) no longer read as opposite instruct…
Permission review
The documentation asks the agent to read local files, directories, or repositories.
Load the reference file whose sections the task needs — never all of them by default:Evidence record
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 96/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 9 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
The grounded source for frontend design decisions (ADR-061; first consumer of
corpus-grounding). When the UI directive set'sdesignstep emits@agent-directive: ui-design-brief, consult this corpus FIRST and pre-fill the brief candidates — then the human confirms (design_confirmed). Corpus output is a constraint set, never final microcopy; the placeholder lock indirectives/ui/design.tsis unaffected.Boundary (council-locked):
design.tsstays a pure orchestration gate and never imports the engine — the corpus call lives HERE, in the skill layer, keeping the engine an optional dependency.
Corpus: 11 tabular CSVs under data/ (161-row ui-reasoning
decision map, WCAG-adjusted color token sets, 84 styles, 73 font
pairings, 25 chart rules, UX/react/mobile guidelines) + 16 prose
design-language specs (references/design-languages.md)
references/design-rules-checklist.md).
Provenance + licenses: ATTRIBUTION.md; manifest:
data/manifest.json.@agent-directive: ui-design-brief (the
design step found state.ui_design empty).--stack axis).Load the reference file whose sections the task needs — never all of them by default:
references/context-and-registers.md — Cross-task design memory — read DESIGN.md / PRODUCT.md first · Register — brand vs product · Design Read — articulate intent before generatingreferences/integration-mapping.md — MASTER.md + page overrides ↔ state.ui_design (mapping) · Grounding the review/polish a11y gate (charts + contrast) · Stack guidance (--stack axis) · Diagram-type routing — route on the verb · Interplay (who owns what)When the brief maps to an official design system (Material Design, Fluent, Carbon, Polaris, GOV.UK, shadcn, Tailwind UI, Radix, etc.):
components.json/deps signal one (@mui/material, antd, @fluentui/*,
@carbon/*, @atlaskit/*), pull
docs/guidelines/design-canon.md,
surface the matching one-line summary, and offer to fetch the live spec
before committing to the system's conventions — rather than improvising.
The canon index is thin + lazy: do not load it for a generic, unnamed brief.@mui/material
distribution) and link the canonical documentation URL.@mui/material package; install the package for production use."source-discovery-gate: real source before guessing).Grounding precedence (consistent with brand-source-of-truth): consumer
brand tokens > confirmed session decisions > named canon
(design-canon.md) > generated
corpus. Canon is a gap-filler, never an override of a registered brand value.
ui-design-brief rebound)Ground (one call — engine runs the manifest's plan product → style → color → landing → typography with decision rules):
./scripts-run <skills-root>/corpus-grounding/scripts/ground ground \
--manifest <skills-root>/design-intelligence/data/manifest.json \
"<product type + mood + platform>" --json
Translate selections into the brief for state.ui_design:
layout ← landing/pattern selection (Section Order, CTA placement)
Recommended_Pattern;components ← audit reuse first (existing-ui-audit inventory wins
over corpus suggestions — never propose a new component the audit
already has);states ← required five (empty/loading/error/success/disabled),
styled per the selected design language;microcopy ← agent-written, final strings — the corpus never
supplies microcopy;a11y ← color selection's contrast-adjusted token set + the
checklist's CRITICAL rows + accessibility-auditor method;Always surface the grounded output's confidence + evidence_gap
lines in the brief summary — the user signs off on what the corpus
could NOT support, not only on what it could.
On design_confirmed: true the directive engine advances; revisions
loop back here.
font-pairings-reference.csv carries three delivery-adjacent columns and they
are not interchangeable. This is the arbitration between them, so the file
and its sibling data/stacks/nextjs.csv (row 22: a font-CDN <link> sits in
that row's Don't column) no longer read as opposite instructions:
| Column | What it answers | Status |
|---|---|---|
Google Fonts URL | where do I find / verify this font? | discovery + availability check |
Self-Hosted Route | how does it get onto the page? | the default answer — @fontsource/* package ids derived from the row's own Google-Fonts families; two rows name a foundry file instead (Fontshare pairs with a Google alternative) |
CSS Import | the third-party CDN @import | opt-in only — emitting it transmits the visitor's IP to the third party; policy owner is design-fidelity-mechanics § Asset & imagery discipline (ADR-205) |
Per-stack route resolution (Next / bundler / asset-pipeline / plain) lives in
typography-system § Delivery — one table, not
two.
The 745 KB Google-Fonts index was rejected (ADR-061 §8): it duplicates a
public API. When a requested font is outside font-pairings-reference.csv's 73
pairings: query https://fonts.google.com/specimen/<Family> (or the
webfonts API) for metadata, OR propose the nearest curated pairing and
say why. Never invent pairing metadata.
state.ui_design slot (layout,
components, states, microcopy placeholder-free, a11y) — selections
cited per corpus row.confidence label + every evidence_gap line,
verbatim, in the brief summary.design_confirmed.directives/ui/design.ts — council
boundary; the corpus call lives in this skill layer.existing-ui-audit inventory
already covers — audit findings outrank corpus suggestions.references/ instead) or as a validator (rules own that).style.Before finalizing any design brief, cross-check against
docs/guidelines/design-antipatterns.md
— especially the Color (C1–C5), Typography (T7–T8), and Layout (L1–L2) sections.
If the grounded corpus selection lands on a pattern in the catalog, either invoke
the override condition or adjust the selection.
For typography this is a field, not a memory test: a
font-pairings-reference.csv row whose heading or body font is a T7 overused-AI
default carries it in its AI-Default Flag column (T7:<font>; 15 of 73 rows) —
read the field. An empty flag means the row carries no T7 font, so a pairing is
never "flagged by association" (Poppins + Open Sans, the example most often
cited as flagged, carries none). T8 (single typeface for everything) needs no
column: it is Heading Font == Body Font on the row. A flag is a visible
conflict to resolve, never a ban — the catalog's override condition still
applies. Run the AI-slop originality
self-test (catalog § "The AI-slop originality self-test") on the chosen aesthetic
direction before emitting design_confirmed.
This skill carries 11 tabular CSVs (161-row UI-reasoning decision map, WCAG-adjusted color token sets, 84 styles, 73 font pairings, 25 chart rules, UX/ react/mobile guidelines) plus 16 prose design-language specs and a 10-category pre-delivery checklist. Agents need to see the full corpus to make grounded selections — condensing to a summary destroys the evidence trail ("corpus row 47 justifies the palette choice") that the skill's output contract requires. Compressing the 16 design-language specs into fragments makes the style selection unreproducible and audit-unfriendly.
ATTRIBUTION.md.upstream.last_checked on
every refresh (ADR-061 §6).Frequently asked questions
The grounded source for frontend design decisions (ADR-061; first consumer of corpus-grounding). When the UI directive set's design step emits @agent-directive: ui-design-brief, consult this corpus FIRST and pre-fill the brief candidates — then the human confirms (designconfirme…
The source record exposes this install command: npx skills add https://github.com/event4u-app/agent-config --skill "src/skills/design-intelligence". Inspect the command and pinned source before running it.
Static rules flagged read-files in the source; the page lists the matching lines and excerpts.
Alternatives
coreyhaines31/marketingskills
When the user wants to plan, design, or implement an A/B test or experiment, or build a growth experimentation program. Also use when the user mentions "A/B test," "split test," "experiment," "test this change," "variant copy," "multivariate test," "hypothesis," "should I test this," "which version is better," "test two versions," "statistical significance," "how long should I run this test," "growth experiments," "experiment velocity," "experiment backlog," "ICE score," "experimentation program
oaustegard/claude-skills
Generate hierarchical _FEATURES.md files that describe what a codebase DOES from a user/consumer perspective, anchored to source symbols via tree-sitting. Supports large complex codebases through feature-driven decomposition into sub-feature files. Uses a multi-pass synthesis: orientation → detail → overview rewrite. Use when someone says "what does this do", "document features", "feature inventory", "_FEATURES.md", or needs to understand a codebase's purpose before modifying it. Complements tre
event4u-app/agent-config
Use BEFORE writing or editing any non-trivial UI — inventories components, design tokens, shadcn primitives, and reusable patterns into state.ui_audit. Hard gate for the ui directive set.
event4u-app/agent-config
Frontend design heuristics — and, outside the ticket engine, the loop that applies them: audit, brief, inventory, build, review. Use when building or changing any UI, not only when planning one.