styling-guidelines

styling-guidelines is a cursor rule for Cursor from jalcantarab/v0-vibecodex. It costs 1,214 tokens per session, scanned A, original, MIT.

A set of Cursor coding rules for styling interfaces with Tailwind CSS, a utility-based CSS framework. It defines colors, typography, spacing, and gradient patterns for pages and components.

In plain words
What is it for?
Use it when building or reviewing Tailwind-based interfaces, especially page headings, section headings, cards, text, spacing, and violet-and-cyan color treatments.
Why use it?
It gives a project a consistent visual system so interface styles do not vary from component to component.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it when building or reviewing Tailwind-based interfaces, especially page headings, section headings, cards, text, spacing, and violet-and-cyan color treatments.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/jalcantarab/v0-vibecodex/styling-guidelines
Install

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.

Clone the repo
git clone --depth 1 https://github.com/jalcantarab/v0-vibecodex

Made for: Cursor.

Wrote 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.

agentmods badge for styling-guidelines

README.md
[![agentmods](https://agentmods.dev/badge/rules/jalcantarab/v0-vibecodex/styling-guidelines.svg)](https://agentmods.dev/rules/jalcantarab/v0-vibecodex/styling-guidelines)
Your own site
<a href="https://agentmods.dev/rules/jalcantarab/v0-vibecodex/styling-guidelines"><img src="https://agentmods.dev/badge/rules/jalcantarab/v0-vibecodex/styling-guidelines.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,214 This file is loaded in full into every session.
When invoked 1,214 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.01214 $0.01214
Opus 5 $0.00607 $0.00607
Sonnet 5 $0.00243 $0.00243
Haiku 4.5 $0.00121 $0.00121

Measured 8d ago against content hash f33e617a71c1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

styling-guidelines 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 8d 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.

.cursor/rules/styling-guidelines.mdc · 177 lines

How it starts

The opening of the file, as written. The whole thing — 177 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Styling and Design Guidelines

Tailwind CSS Usage

1. Color Palette

Use the established color system:

  • Primary: Violet gradients (from-violet-600 to-violet-500)
  • Secondary: Cyan accents (bg-cyan-600)
  • Background: Subtle gradients (from-violet-50 to-cyan-50)
  • Text: Use semantic colors (text-foreground, text-muted-foreground)

2. Typography

// Page titles
<h1 className="text-3xl font-bold tracking-tighter sm:text-4xl md:text-5xl">

// Section headings
<h2 className="text-xl font-semibold">

// Card titles
<CardTitle className="text-lg font-semibold">

// Body text
<p className="text-muted-foreground">

3. Spacing System

  • Vertical spacing: space-y-6 for component groups
  • Grid gaps: gap-6 for grid layouts
  • Margins: mb-6 for section spacing
  • Padding: p-6 for card content

4. Gradient Patterns

// Text gradients
className="bg-gradient-to-r from-cyan-500 to-violet-500 text-transparent bg-clip-text"

// Button gradients
className="bg-gradient-to-r from-violet-600 to-violet-500 hover:from-violet-700 hover:to-violet-600"

// Background gradients
className="bg-gradient-to-br from-violet-50 to-cyan-50 dark:from-violet-950/20 dark:to-cyan-950/20"

5. Component Styling

// Card styling
<Card className="hover:bg-muted/50 transition-colors backdrop-blur-sm">

// Button styling
<Button className="bg-gradient-to-r from-violet-600 to-violet-500">

// Badge styling
<Badge className="bg-cyan-600 text-white">

Responsive Design

1. Breakpoint Strategy

  • Mobile-first: Start with mobile styles
  • Tablet: md: prefix for tablet and up
  • Desktop: lg: prefix for desktop and up

2. Layout Patterns

// Responsive grid
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">

// Responsive container
<div className="container mx-auto px-4 sm:px-6 lg:px-8">

// Responsive text
<h1 className="text-2xl sm:text-3xl md:text-4xl lg:text-5xl">

Read the full file on GitHub · 177 lines

Changes

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.

  1. 8d ago First seen · 177 lines · 1,214 tokens per session scan A f33e617a71c1

Subscribe to this mod's changes

styling-guidelines is a cursor rule published in the GitHub repository jalcantarab/v0-vibecodex (8 stars, last pushed 1y ago), licensed MIT. It adds 1,214 tokens to every session, about $0.0061 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.