vibes-plug / rules
Cursor rule129 starsChanged 10 days agoMITView on GitHub
Vibes-Plug Frontend & UI Craftsmanship — React 19.2+, Next.js 16+ (latest), Tailwind v4, 5-state UI contract, tabular-nums, and WCAG 2.2
Where files are headingNew Cursor rule files have more rules about planning and tracking tasks, and fewer about code style.
Of the Cursor rule files we read, the 4,373 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository372 other files it gives its agents.
- AGENTS.mdAGENTS.md
- rules/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/vibes-plug-anti-slop.mdcCursor rule
- .cursor/rules/vibes-plug-backend.mdcCursor rule
- .cursor/rules/vibes-plug-core.mdcCursor rule
- .cursor/rules/vibes-plug-devops.mdcCursor rule
- .cursor/rules/vibes-plug-mcp.mdcCursor rule
- .cursor/rules/vibes-plug-skills.mdcCursor rule
- .cursor/rules/vibes-plug-testing.mdcCursor rule
- llms-full.txtllms.txt
- llms.txtllms.txt
- showcase/llms-full.txtllms.txt
- showcase/llms.txtllms.txt
- a2a-agent-protocol-expertSkill
- accessibility-testing-expertSkill
- adaptive-model-cascadeSkill
- affective-computing-emotion-aiSkill
- agentic-coding-workflow-expertSkill
- agentic-m2m-settlementSkill
- agentic-memory-architectSkill
- agentic-micro-economy-architectSkill
- ai-code-review-autonomousSkill
- ai-llm-integration-expertSkill
- ai-media-generation-expertSkill
- ai-prompt-engineering-expertSkill
- ai-safety-governance-expertSkill
- angular-expertSkill
- anti-slopSkill
- api-design-expertSkill
- api-gateway-proxy-expertSkill
- app-analyzer-optimizerSkill
- apple-ecosystem-expertSkill
- app-promo-media-expertSkill
- astro-framework-expertSkill
- async-queue-temporal-expertSkill
- authentication-identity-expertSkill
- autonomous-api-drift-healerSkill
- autonomous-red-teamerSkill
- autonomous-tdd-debuggerSkill
- biome-linter-formatter-expertSkill
- blockchain-web3-expertSkill
- brainstormingSkill
- browser-automation-expertSkill
- browser-extension-mv3-proSkill
- bun-runtime-expertSkill
- chatbot-messaging-expertSkill
- ci-cd-devops-architectSkill
- cloudflare-workers-expertSkill
- cloud-hosting-expertSkill
- coderabbitSkill
- compliance-gdpr-privacy-expertSkill
- composable-mach-architectSkill
- computer-use-os-agent-expertSkill
- context-window-engineerSkill
- cron-scheduler-expertSkill
- database-orm-expertSkill
- data-pipeline-etl-expertSkill
- data-telemetry-expertSkill
- data-visualization-expertSkill
- The first 60 shown.
The file
We split this vibes-plug-frontend.mdc into the rules it gives an agent
6 rules. About 0 are common, 3 are distinctive, and 3 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.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
When editing frontend components, user interfaces, or styling files, Cursor AI MUST enforce these non-negotiable standards:
- Distinctive: line 12
Every button, form control, navigation link, and interactive widget MUST define 5 explicit visual states:
- Distinctive: line 20
Banned Clichés: No generic blue-purple neon gradients, no blurred neon glow balls, no stacked translucent glassmorphism cards.
- Very specific: line 22
Tabular Numerals: MUST apply tabular-nums on all currencies, statistics, tables, and counters to eliminate layout jitter.
- Very specific: line 23
Micro-Interactions: Use CSS native transitions (transition-colors duration-150 ease-out).
- Very specific: line 26
React 19: Use useActionState, useOptimistic, use, Server Actions.
≈ “Common” is an estimate: at least 1 in 5 of the 7,324 Cursor rule 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
---
alwaysApply: false
description: "Vibes-Plug Frontend & UI Craftsmanship — React 19.2+, Next.js 16+ (latest), Tailwind v4, 5-state UI contract, tabular-nums, and WCAG 2.2"
globs: "**/*.{tsx,jsx,vue,svelte,css,scss,html}"
---
# Vibes-Plug Frontend & UI Craftsmanship (2026 Edition)
When editing frontend components, user interfaces, or styling files, Cursor AI MUST enforce these non-negotiable standards:
## 1. 5-State Interactive Contract
Every button, form control, navigation link, and interactive widget MUST define 5 explicit visual states:
1. `default`: Crisp 1px border (`border-border/50`), subtle background, legible contrast.
2. `hover`: Subtle brightness/surface shift (`hover:bg-muted/80`), immediate feedback.
3. `focus-visible`: High-contrast keyboard accessibility ring (`focus-visible:ring-2 focus-visible:ring-ring focus-visible:outline-none`).
4. `active`: Pressed-down scale or elevation (`active:scale-[0.98]` or `active:bg-muted`).
5. `disabled`: Unmistakable disabled visual (`disabled:opacity-50 disabled:pointer-events-none`).
## 2. Professional Visual Craft (Anti-Slop Pillar 7)
- **Banned Clichés**: No generic blue-purple neon gradients, no blurred neon glow balls, no stacked translucent glassmorphism cards.
- **Pill Button Ban**: Banned `rounded-full` on standard rectangular text buttons. Use intentional radius scale (`rounded-lg` or `rounded-md`).
- **Tabular Numerals**: MUST apply `tabular-nums` on all currencies, statistics, tables, and counters to eliminate layout jitter.
- **Micro-Interactions**: Use CSS native transitions (`transition-colors duration-150 ease-out`).
## 3. Tech Stack Conventions
- **React 19**: Use `useActionState`, `useOptimistic`, `use`, Server Actions. No unnecessary `useEffect`.
- **All Frontend Frameworks at `@latest`**: Let the user choose their framework if unspecified, and ALWAYS scaffold with the latest stable release: **Next.js 16+** (`create-next-app@latest`, Turbopack, Cache Components, `proxy.ts`), **Vite 8 + React 19.2+** (`create-vite@latest`), **Nuxt 4+ / Vue 3.5+** (`nuxi@latest init`), **SvelteKit 3+ / Svelte 5** (`sv create`), **Astro 7+** (`create-astro@latest`), **Angular 22+** (`@angular/cli@latest`), **SolidStart / SolidJS 2+** (`init solid@latest`), or **HTMX 2.x** (`htmx.org@latest`).
- **Tailwind CSS v4**: CSS-first configuration via `@theme`, OKLCH color spaces.
- **Accessibility**: Semantic HTML (`<main>`, `<nav>`, `<article>`), WCAG 2.2 AA contrast, proper ARIA labels.
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.

