educlopez/ui-craft-.opencode-ui-craft-editorial
Editorial / magazine / long-form / Medium / Substack / content-heavy UIs. Locked knobs: CRAFT=9, MOTION=4, DENSITY=3. Serif display + humanist body, wide reading column, drop caps, OpenType. Trigger on: editorial, magazine, long-form, blog, Medium-like, Substack-like.
This is a copy. The original lives at educlopez/ui-craft-editorial.
npx skills add https://github.com/educlopez/ui-craft --skill ui-craft-editorial
<!-- HARNESS MIRROR — do not edit here. Canonical source: skills/ or commands/. After editing source, copy into cli/assets/<harness>/ and repo-root harness mirrors. -->
Pre-committed editorial style: magazine, long-form, content-first. Typography carries the hierarchy; layout serves the reading experience.
Do not re-ask these in Discovery. Confirm accent + serif/sans pairing only.
leading-relaxed (1.7) on body.max-w-[65ch]. Generous vertical rhythm.All rules in ../ui-craft/SKILL.md apply. This file overrides knob defaults and adds style-specific guidance below. The anti-slop and craft tests still apply in full.
Typography (the whole point)
text-wrap: balance, font-optical-sizing: auto, tracking near 0 or slightly negative on large sizes.text-wrap: pretty, line-height: 1.7, font-feature-settings: "liga", "kern".p:first-of-type::first-letter { float: left; font-size: 4.5em; line-height: 0.85; padding: 6px 10px 0 0; font-family: <display>; }.font-variant-caps: small-caps for section labels, bylines.font-feature-settings: "ss01", "cv11" when the chosen font supports them.Color
oklch(98% 0.01 85) — not pure #fff.oklch(18% 0.01 40) warm near-black.Spacing & layout
max-w-[65ch] for body; hero and featured image can break out to max-w-5xl.Motion
prefers-reduced-motion — cut all reveals.Content components
·.max-w-[55ch].Load these from ../ui-craft/references/:
typography.md — the primary reference for this stylelayout.md — reading column, rhythm, hierarchycolor.md — warm palette, accent disciplinecopy.md — editorial voice, headings, empty statesSkip dashboard.md, sound.md unless relevant.
#fff canvas. Warm it.leading-tight on body copy. Reading needs 1.6-1.8.Take educlopez/ui-craft-.opencode-ui-craft-editorial from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.