revskills / revealui-design
CLAUDE.md2 starsChanged 52 days agoMITView on GitHub
Before ANY visual / UI / copy / brand decision, read these in order: The Babel JSX kits (NavBar, Hero, Sidebar, and the rest) are retired. Each index.html is a pointer page and does not inline cobalt tokens. For production work, read token values from @revealui/tokens/design-context/. That pack is authoritative and drift-gated by CI. Five companion audits were produced as part of the May 2026 assessment pass. The summaries below capture what you need to know without having access to…
1 other project uses a version of this.
Adopted by
Most recently taken up by
- revealui-studio/revskillsword for word, first seen Sep 22, 2026
Other versions1 project uses a version of this.
Word for word · 1
- revealui-studio/revskills★ 2100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository29 other files it gives its agents.
- drizzle-dbSkill
- electric-syncSkill
- exhaustive-auditSkill
- grok-bot-checkpointSkill
- knowledge-graphSkill
- mcp-serverSkill
- multi-agent-memorySkill
- next-best-practicesSkill
- redundancy-scanSkill
- revealui-checkpointSkill
- revealui-cleanupSkill
- coordinateSkill
- revealui-designSkill
- revealui-design-statusSkill
- revealui-doctorSkill
- revealui-opsSkill
- revealui-pickupSkill
- revealui-recoverSkill
- revealui-rollupSkill
- revealui-skills-testSkill
- revealui-snapshotSkill
- revealui-sync-ltsSkill
- revealui-sync-rulesSkill
- revealui-trackerSkill
- revvault-resolveSkill
- security-hardeningSkill
- tailwind-v4Skill
- vitest-testingSkill
- yjs-collaborationSkill
The file
We split this CLAUDE.md into the rules it gives an agent
7 rules. About 0 are common, 3 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 11
Before ANY visual / UI / copy / brand decision, read these in order:
- Very specific: line 68
Every file in the source bundle's assets/ predates Cobalt and uses non-brand palettes (rainbow medallion, indigo text logo, orange stencil …
- Very specific: line 69
If you need a logo, render the proposed mark inline: cobalt rounded-square (#003E7A) with "R" in Inter Tight 800, amber dot (#f0b519) at …
- Distinctive: line 70
No OG / social card image exists yet — flag if your work needs one.
- Very specific: line 76
Test-mode / draft amber chip: rgba(240,181,25,0.16) bg + #f5d278 text.
- Very specific: line 108
When designing marketing (especially /):
- Distinctive: line 122
Never write a hex literal in component code: If the value doesn't exist as a token, add the token first.
≈ “Common” is an estimate: at least 1 in 5 of the 26,980 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
RevealUI Design System — Claude Code context
State as of bundle date
- Brand: Cobalt v4 (May 2026). Brand hue
oklch(0.36 0.190 240)/#003E7Aon paper,oklch(0.58 0.150 240)on dark (AA-compliant — lifted in shipped code, contrast issue RESOLVED). Accent: Solar Amberoklch(0.80 0.165 85)/#f0b519. - Type: Inter (body), Inter Tight (display, 800 weight,
-0.02emtracking), JetBrains Mono (code, ligatures OFF). - Tokens: dark-first OKLCH, namespace
--rvui-*, dark/light flip via[data-theme]+prefers-color-scheme. shadcn bridge in place (--primary,--ring, etc. alias to--rvui-*).
Discovery order (always do this first)
Before ANY visual / UI / copy / brand decision, read these in order:
README.md(this skill) — canonical state. Branding, voice, primitives, sections.@revealui/tokens/design-context/— the canonical token pack. A committed, CI-drift-gated pack generated frompackages/tokens/src/tokens.cssin the revealui repo / published@revealui/tokenspackage. This is the source of truth for color, type, motion, and radii. Read tokens from this pack; never trust a local snapshot.SKILL.md(this skill) — short orientation. Brand is Cobalt; README + the design-context pack supersede any stale values.
What's in this skill
revealui-design/
├── CLAUDE.md — you are here
├── README.md — full canonical doc (start here)
├── SKILL.md — short orientation
└── ui_kits/
├── marketing/ — retirement pointer (GAP-479)
│ ├── README.md
│ └── index.html — pointer page, no tokens, no JSX
└── admin/ — retirement pointer (GAP-479)
├── README.md
└── index.html — pointer page, no tokens, no JSX
Canonical tokens (not in this skill — read from the package):
@revealui/tokens/design-context/The Babel JSX kits (NavBar, Hero, Sidebar, and the rest) are retired. Each index.html is a pointer page and does not inline cobalt tokens. For production work, read token values from @revealui/tokens/design-context/. That pack is authoritative and drift-gated by CI.
Open issues — work around these, don't reintroduce them
Five companion audits were produced as part of the May 2026 assessment pass. The summaries below capture what you need to know without having access to the HTML files themselves.
Contrast & Accessibility — 5 WCAG issues remaining
- Dark-mode brand color (RESOLVED in shipped code). The shipped token is
oklch(0.58 0.150 240)— lifted for AA on dark surfaces. Do not use the old valueoklch(0.46 0.180 240). - Warning text on paper fails AA.
--rvui-warning=#d39a08tests at 2.39 on paper. Use#8a6010(amber-700) for warning text; reserve#d39a08for chip backgrounds with dark text. - Smoke-300 as text fails AA.
--rvui-text-2=#8298b3tests at 2.83 — only safe as icon/separator/border, not as text. For tertiary text use#4f6580(smoke-500). - Status colors on dark are AA-large only. Success (3.57), error (3.05) on midnight — only safe for ≥18pt/14pt-bold text. Use the
-subtlevariants for background fills with dark text, or lift the foregrounds.
Dark-Mode Sweep — 24 preview cards graded
- 9 flip cleanly, 8 flip partially, 7 ignore the toggle entirely.
Root cause is hard-coded Tailwind-flavored greys instead of tokens. Substitution table:
Hard-coded Token to use instead #1f2937/#0c181e/#0a0e1avar(--mkt-fg)orvar(--rvui-text-0)#374151/#4b5563var(--mkt-fg-body)#6b7280/#6b7d96var(--mkt-fg-muted)#9ca3af/#d1d5dbvar(--mkt-fg-subtle)#ffffff/#fff(as surface)var(--mkt-bg)orvar(--rvui-surface-1)#f9fafb/#f3f4f6/#fafbfcvar(--mkt-bg-subtle)#e5e7eb(as border)var(--mkt-border)NEVER write hex literals for these greys in new code.
Logos & Lockups — asset folder is off-brand
- Every file in the source bundle's
assets/predates Cobalt and uses non-brand palettes (rainbow medallion, indigo text logo, orange stencil wordmark, slate favicon). - If you need a logo, render the proposed mark inline: cobalt rounded-square (
#003E7A) with "R" in Inter Tight 800, amber dot (#f0b519) at bottom-right with paper ring. Don't reference the asset files until they're regenerated. - No OG / social card image exists yet — flag if your work needs one.
Applied Artifacts — patterns the DS holds
Across 10 dogfooded artifacts, these patterns are universal and you should reuse them:
- Brand glyph in nav: 22×22 cobalt rounded-square, "R" in Inter Tight 800.
- Test-mode / draft amber chip:
rgba(240,181,25,0.16)bg +#f5d278text. - Brand → amber avatar gradient — ONE per surface, max.
- Right arrow (→) in CTA links — unicode glyph, not SVG.
- Checkmarks always inline SVG, never
✓. - Sticky nav with
backdrop-blur(12px)is the ONLY place blur appears.
Microcopy — string library status
- Canonical CTA is "Start free" — not design-partner or early-access phrasing on the technical hero.
- "Your role can't do that" is anti-pattern phrasing. Use "This action needs the admin role" — blame the action, not the user identity.
- Missing categories (build before consuming): success & confirmations, destructive flows, loading & in-flight, agent-specific.
Voice & content rules (non-negotiable)
| Rule | Detail |
| No emoji, anywhere | Checkmarks/close icons are always inline SVG |
| No em dashes in copy | Hardline; use sentences or commas |
| Sentence case for headings | h1, h2, section titles. Title case only for proper nouns + nav labels |
| ALL CAPS only for eyebrows | At 0.20em letter-spacing, 11–12px size, brand color or smoke-500 |
| Second person for the user | First-person plural ("we") only in legal/contact contexts |
| Operational verbs | build, run, ship, deploy, wire, save, publish. Never revolutionize / supercharge / unleash / empower |
| Brand casing | RevealUI in prose. REVEALUI only for legal entity. Rev-prefix camel for sub-products (RevDev, RevForge) |
| Primitives vocabulary | People, Content, Offers, Payments, Agents (never Users/Products/Intelligence on marketing) |
| Honest about status | Stripe in test mode? Say so. Component preview? Say so. Don't hide pre-launch state |
| Canonical CTAs | "Start free", "See Pro pricing", "Talk to us" — never "Buy now" or "Subscribe" |
| Numbers stay numeric | "60 seconds", not "sixty seconds" |
| Code names in backticks | npx create-revealui@latest, --rvui-brand |
Status terms in **bold** | **Pro**, **TEST mode**, **preview** — never colored pills outside admin UI |
Marketing craft bar (homepage)
When designing marketing (especially /):
- Max 7 sections; hero ≤2 CTAs.
- Signature moment = receipt, not multi-blob gradients.
- Problem = capability stack (aligned type columns). Never spreadsheet tables or mobile matrix cards.
- Product-as-proof = live frame / product mat; no stale screenshots.
- Pricing teaser: paper cards + quiet Recommended chip; never inverted black Pro card.
- Code over docs: if this skill and
apps/marketingdisagree, code wins, then update this skill.
Token usage rules
- Reach for
var(--rvui-*)first. Use shadcn bridge (--primary,--ring, etc.) where component code expects it. --mkt-*is a back-compat layer aliased to--rvui-*— don't author new code against it; existing code continues to work.- Tailwind utility classes: marketing app aliases
emerald-*to cobalt andgray-*to smoke. Existing utilities (text-emerald-700,bg-gray-50) resolve to cobalt/smoke and are fine; don't add newemerald-*utilities — usecobalt-*semantic names if introducing new ones. - Never write a hex literal in component code. If the value doesn't exist as a token, add the token first.
Before you make a change
State out loud:
- Which DS files you read.
- Which tokens / components you're consuming (from the design-context pack).
- Whether your change crosses any of the five open issues above.
- Voice/copy rules being applied (if copy is involved).
Then proceed.
Bundled from the RevealUI Design System project, including the May 19, 2026 assessment pass (6 audit artifacts). Token source: @revealui/tokens/design-context/ (committed, CI-drift-gated).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

