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/Kevin-Liu-01/Sigil-UIWrote 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/kevin-liu-01/sigil-ui/sigil-conventions)<a href="https://agentmods.dev/rules/kevin-liu-01/sigil-ui/sigil-conventions"><img src="https://agentmods.dev/badge/rules/kevin-liu-01/sigil-ui/sigil-conventions/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/kevin-liu-01/sigil-ui/sigil-conventions"><img src="https://agentmods.dev/badge/rules/kevin-liu-01/sigil-ui/sigil-conventions.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.00546 | $0.00546 |
| Opus 5 | $0.00273 | $0.00273 |
| Sonnet 5 | $0.00109 | $0.00109 |
| Haiku 4.5 | $0.00055 | $0.00055 |
Grade A, and why
sigil-conventions 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 10d 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.
How it starts
The opening of the file, as written. The whole thing — 43 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Sigil UI Development Conventions
Also read
sigil-design-system.mdcfor the full enforced design rules (color, typography, spacing, motion, etc.).
Token Variable Prefix
All CSS variables use the --s- prefix: var(--s-primary), var(--s-surface), etc.
Component Rules
- Every component is a "use client" component if it uses hooks or interactivity
- Every component accepts a
classNameprop for Tailwind overrides - Use
cn()from utils for class merging (clsx + tailwind-merge) - All colors reference CSS variables, never hardcoded hex
- All spacing uses the token scale (4, 8, 12, 16, 24, 32, 48, 64, 80, 96)
- Components use
var(--s-*)tokens, not Tailwind color classes directly - All interactive components must be keyboard-accessible
- All components include JSDoc comments
- Shadows use
shadow-[var(--s-shadow-*)], never Tailwindshadow-smetc. - Motion uses
duration-[var(--s-duration-*)], never hardcodedduration-150 - Borders use
border-[style:var(--s-border-style,solid)]for preset-driven styles
File Structure
- Layout primitives:
packages/components/src/layout/ - Core UI:
packages/components/src/ui/ - Navigation:
packages/components/src/navigation/ - Overlays:
packages/components/src/overlays/ - Shapes:
packages/components/src/shapes/ - 3D components:
packages/components/src/3d/ - Diagrams:
packages/components/src/diagrams/ - Marketing:
packages/components/src/marketing/ - Patterns:
packages/components/src/patterns/ - Animation:
packages/components/src/animation/
Naming
- Component files: PascalCase (Button.tsx, Card3D.tsx)
- Utility files: camelCase (utils.ts, animate.ts)
- Export components as named exports, not default
- Sigil layout primitives use clean names (Stack, Grid, Section)
- The page-level frame is
SigilPageGrid(5-column: margin | gutter | content | gutter | margin)
Presets
Each preset provides a complete SigilTokens object. Presets live in packages/presets/src/.
46 presets total: 44 named + default + _template. Seven categories: structural, minimal, dark, colorful, editorial, industrial, edgeless.
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.
- 10d ago First seen · 43 lines · 546 tokens per session scan A 338ce38217d5
sigil-conventions is a cursor rule published in the GitHub repository Kevin-Liu-01/Sigil-UI (9 stars, last pushed 1mo ago), licensed MIT. It adds 546 tokens to every session, about $0.0027 per session on Opus 5. 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-31.
Other cursor rules, from other repositories
cursorrules
You are using StyleSeed, an AI design-method engine for product UI and other visual artifacts.
building-blocks
Source: docs/agents/building-blocks.md Regenerate: npm run agents:sync -w packages/openbridge-webcomponents -->.
css-postcss
Source: docs/agents/css-postcss.md Regenerate: npm run agents:sync -w packages/openbridge-webcomponents -->.
sheleg-design
Apply SHELEG Design when building a cinematic scroll-driven landing page, hero, or particle/WebGL scroll experience — or when styling product UI (dashboards, admin, internal tools) with its style packs.
frontend
React/Next.js frontend coding standards with shadcn/ui, Tailwind CSS v4, and FSD-lite architecture.
tinted-ui-tokens-skills
Generate a brand-tinted UI design-token system (CSS) from a single brand color. No pure neutral colors.