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.
npx agentmods add rules/jrmybtlr/useclassy/useclassy-authoring.cursor-rulegit clone --depth 1 https://github.com/jrmybtlr/useclassyWhat 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 | $0.00000 | $0.00525 |
| Opus 5 | $0.00000 | $0.00262 |
| Sonnet 5 | $0.00000 | $0.00105 |
| Haiku 4.5 | $0.00000 | $0.00052 |
Grade A, and why
useclassy-authoring.cursor-rule 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 3d 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
UseClassy authoring and refactoring
When this project uses vite-plugin-useclassy, write new static Tailwind variants as modifier attributes and migrate existing static variant tokens when behavior is preserved.
Conversion
<!-- Before -->
<button class="rounded px-4 hover:bg-blue-500 hover:text-white sm:px-6">
<!-- After -->
<button class="rounded px-4" class:hover="bg-blue-500 text-white" class:sm="px-6">
<button className="rounded px-4" className:hover="bg-blue-500" className:focus="ring-2">
// React: JSX expressions with string literals are supported
<button className:hover={on ? 'bg-blue-500' : 'bg-gray-200'} />
Rules
- Base utilities on
class/className; variants onclass:mod="…"/className:mod="…". - Group static utilities by identical modifier prefix (including chains such as
sm:hover) and remove that prefix from each modifier value. - Vue / Blade / Svelte / HTML: values must be double-quoted static strings.
- React: prefer double-quoted static strings;
className:mod={cond ? 'a' : 'b'}is also valid when literals should be prefixed. - Leave Vue
:class, Svelte nativeclass:name={cond}, and unrelated dynamic base expressions unchanged. - Svelte: only transform quoted UseClassy modifiers (
class:hover="…"). Do not rewrite nativeclass:name={cond}orclass:name. - Keep arbitrary variants such as
[&>*]:mt-2anddata-[state=open]:blockin the base string. Named groups (group-hover/item) and@mdcontainer queries work as Vue/HTML modifier names; in React JSX, keep named groups onclassNamebecause/is not a valid attribute-name character. - Chained attributes match Tailwind/Uno composition:
class:sm:hover="underline"generatessm:hover:underlineonly. Convertingsm:hover:underlinetoclass:sm:hover="underline"is behavior-preserving. - After refactoring, run formatting and relevant tests/build; verify dynamic classes and rendered states are unchanged.
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.
- 3d ago First seen · 40 lines · 0 tokens per session scan A 13af16c986d3
useclassy-authoring.cursor-rule is a cursor rule published in the GitHub repository jrmybtlr/useclassy (28 stars, last pushed 4d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 525 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
css-styling
CSS architecture, tokens, and styling rules for this Docusaurus site. Apply when creating or modifying components, styles, layouts, or any UI-facing code.
frontend-web
Cursor rule "frontend-web" from groupultra/telegram-search, covering frontend (apps/web), routing, layouts & navigation, state & data fetching, ui, styling & ux and error handling & notifications.
codex-premium-website-skills
Apply Codex Skills standards to frontend, website, motion, accessibility, QA, agent reasoning, and handoff work.
ui-components
USE WHEN: Building UI components, structuring layouts, and applying styles using Tailwind CSS.
frontend-architecture
Vite + React SPA architecture - directory layout, providers, bundle splitting. Tailwind styling in tailwind.mdc.
css-render-blocking-diagnosis
Cursor rule "css-render-blocking-diagnosis" from adobecom/da-express-milo, covering css render-blocking diagnosis & resolution, critical learning from 98 pagespeed achievement, primary diagnostic protocol, step 1: css blocking symptom recognition and step 2: css loading sequence audit.