Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/blockmatic/basilicWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/rules/blockmatic/basilic/design)<a href="https://agentmods.dev/rules/blockmatic/basilic/design"><img src="https://agentmods.dev/badge/rules/blockmatic/basilic/design/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/rules/blockmatic/basilic/design"><img src="https://agentmods.dev/badge/rules/blockmatic/basilic/design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00621 |
| Opus 5.5 | $0.00000 | $0.00248 |
| Sonnet 5.5 | $0.00000 | $0.00124 |
| Haiku 4.5 | $0.00000 | $0.00062 |
Grade A, and why
design scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 24d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Animation Stack
- CSS + data attributes:
tw-animate-csswith Base UI / shadcn attrs (data-open,data-closed,data-slot,animate-in,fade-in-0,zoom-in-95,slide-in-from-*) - Shadcn built-in Dialog/Popover/Sheet/Dropdown animations
- Custom
data-*+ Tailwinddata-open:*/data-closed:*(not Radixdata-[state=*]on new wrappers) - Motion library only for drag, scroll-linked, layout, gestures, shared-element — see @.agents/skills/animate
If
transition-*oranimate-*works, do not add Motion.
Spacing (8pt)
xs gap-1 p-1 · sm gap-2 p-2 space-y-2 · md gap-3 gap-4 p-4 space-y-4 · lg gap-6 p-6 · xl gap-8 p-8 · 2xl p-10
Layout: p-4 md:p-6. Forms: space-y-2 / space-y-4 / space-y-6. Avoid p-3, p-5, px-5 except micro-adjustments.
Typography
xs captions · sm secondary/labels · base body · lg card titles · xl page titles · 2xl hero
Page titles: text-lg md:text-xl font-heading font-semibold. Card: text-lg font-heading font-semibold. Secondary: text-sm text-muted-foreground.
Design
- Distinctive fonts; dashboard exception Inter + Poppins.
font-sansUI,font-headingtitles,tabular-numsprices,font-monocode. Brand and palette: rootDESIGN.md(overrides craft skills). - UI code review: @.agents/skills/web-design-guidelines. Do not invent a WCAG level.
- Semantic tokens (
bg-primary,text-muted-foreground). Tailwind v4@themetokens in app CSS — do not invent a parallel design system. - Motion: feedback, orientation, focus—never decorate. 100–150ms micro, 200–300ms transitions, 500ms drawers.
ease-outdefault. Animatetransform/opacityonly. Neverscale(0)—min 0.95. See @.agents/skills/emilkowal-animations and @.agents/skills/animate - Loading: skeleton that preserves layout; toasts for async success/failure; hover/focus states before extra animation
- Respect
prefers-reduced-motion. Opacity fallback. Motion:MotionConfig reducedMotion="user"
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 24d ago Changed 71528410c20a
- 1mo ago Changed aa152a969172
- 1mo ago Changed a6cd6d72bfd6
- 1mo ago Changed · +1 lines 896fa2991468
- 1mo ago Changed · -38 lines · -1,149 tokens per session ec7b203528a1
- 1mo ago First seen · 66 lines · 1,149 tokens per session scan A 8ffc8262f1ce
design is a cursor rule published in the GitHub repository blockmatic/basilic (90 stars, last pushed 3d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 621 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other cursor rules, from other repositories
animations
Animations Rules and Best Practices.
hatch3r-design-system-detection
Mandatory detection of existing design tokens, theme primitives, and component library before AI agents author new UI components.
hatch3r-ux-states-and-flows
Four-state surface contract (loading/empty/error/partial), user-flow decomposition before implementation, and microcopy + tone discipline for end-user UIs.
hatch3r-accessibility-standards
Accessibility standards covering WCAG 2.2 AA compliance, keyboard navigation, screen readers, and ARIA patterns.
hatch3r-component-conventions
Component structure, styling tokens, loading/error/empty states, form validation timing, and accessible label patterns for Vue, React, and JSX.
hatch3r-theming
Theming, dark mode, and color system conventions for the project.