ultracite Cursor ruleA

This file is byte-identical to the first copy the registry indexed. Same content hash, so the same checks give both the same grade.

ultracite from vercel/ai-elements is a Cursor rule: instructions the Cursor agent follows in that repo.

Install it, pinned
mdr add vercel/ai-elements/.cursor/rules/ultracite.mdc@git:20250815.c9708c5

Pins git:20250815.c9708c5 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 16 of 16 checks passed
Kind
Cursor rule
Repository
vercel/ai-elements
Path
.cursor/rules/ultracite.mdc
Versions recorded
1
Latest version
git:20250815.c9708c5, committed Aug 15, 2025
Size
16,826 bytes
Repository stars
2,533
License
a license file GitHub does not identify

Ultracite Rules - AI-Ready Formatter and Linter.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Project Context
Ultracite enforces strict type safety, accessibility standards, and consistent code quality for JavaScript/TypeScript projects using Biome's lightning-fast formatter and linter.

## Key Principles
- Zero configuration required
- Subsecond performance
- Maximum type safety
- AI-friendly code generation

## Before Writing Code
1. Analyze existing patterns in the codebase
2. Consider edge cases and error scenarios
3. Follow the rules below strictly
4. Validate accessibility requirements

## Rules

### Accessibility (a11y)
- Don't use `accessKey` attribute on any HTML element.
- Don't set `aria-hidden="true"` on focusable elements.
- Don't add ARIA roles, states, and properties to elements that don't support them.
- Don't use distracting elements like `<marquee>` or `<blink>`.
- Only use the `scope` prop on `<th>` elements.
- Don't assign non-interactive ARIA roles to interactive HTML elements.
- Make sure label elements have text content and are associated with an input.
- Don't assign interactive ARIA roles to non-interactive HTML elements.
- Don't assign `tabIndex` to non-interactive HTML elements.
- Don't use positive integers for `tabIndex` property.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add vercel/ai-elements/.cursor/rules/ultracite.mdc@sha256:a7fac75b8f46090b

The line at the top of this page pins the label git:20250815.c9708c5, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_7fbyex62buxqnfia.svg)](https://markdownregistry.com/a/art_7fbyex62buxqnfia)

3 badge image fetches in 30 days. What the badge shows.

Ask from your agent
claude mcp add --transport http markdownregistry https://markdownregistry.com/mcp/registry

Then ask it: what changed in vercel/ai-elements/.cursor/rules/ultracite.mdc since the version I have? It reads every saved version here, no key and no account. Any agent that speaks MCP can add it.

Got a copy of ultracite.mdc from somewhere else? Ask it: where did my ultracite.mdc come from, and what was changed? It names the public original, the version yours is closest to and every changed line. The text is not kept.

Versions

The registry has recorded 1 version of this file, committed on Aug 15, 2025.

Watch this file (sign in, one email per new version)

versioncommittedcommitsizeaudit
git:20250815.c9708c5 latest2025-08-15 c9708c5 16,826 BA view
Check a whole project

From the root of your project, one line hashes each installed skill's SKILL.md, your AGENTS.md and your CLAUDE.md, and asks the registry once. Only the fingerprints and paths are sent.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --data-binary @- https://markdownregistry.com/api/v1/check-copies

In CI, add --fail-with-body: the answer is 409 when any file is behind, so the step fails and still prints which files.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --fail-with-body --data-binary @- https://markdownregistry.com/api/v1/check-copies

No sha256sum on your machine? shasum -a 256 prints the same lines.

Audit of the latest version

A  16 of 16 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Size between 200 bytes and 200 KB (16826 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No encoded command decoded and run in a shell
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No decoded text run in a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

vercel/ai-elements · 2,533 stars · license a license file GitHub does not identify · pushed 2026-10-14 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_7fbyex62buxqnfia
GET https://markdownregistry.com/api/v1/resolve?ref=vercel/ai-elements/.cursor/rules/ultracite.mdc
GET https://markdownregistry.com/api/v1/blob/a7fac75b8f46090b5c9e64571c7629fd4f73249ecc4943e0d3c45cf058717e39
GET https://markdownregistry.com/api/v1/list?kind=rules

Every file of this kind listed here, most starred first, in pages: send each page's next back as cursor. JSON, no key.

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: Cursor rules vs AGENTS.md · which agent file does what.

More from vercel/ai-elements

CLAUDE.md@.claude CLAUDE.md file
vercel/ai-elements · .claude/CLAUDE.md
git:20260204.30cbcfe · audit A · 2,533 stars
ai-elements SKILL.md skill
vercel/ai-elements · skills/ai-elements/SKILL.md · Build AI chat interfaces using ai-elements components — conversations, messages, tool displays, prompt inputs, and…
git:20260307.607bb65 · audit A · 2,533 stars

Every file in vercel/ai-elements

Other files named ultracite

ultracite SKILL.md skill
secondsky/claude-skills · plugins/ultracite/skills/ultracite/SKILL.md · Ultracite multi-provider linting/formatting (Biome, ESLint, Oxlint). Use for v6/v7 setup, provider selection, Git…
v2.0.0 · audit A · 250 stars
ultracite Cursor rule
mystenlabs/memwal · apps/chatbot/.cursor/rules/ultracite.mdc · Ultracite Rules - AI-Ready Formatter and Linter
git:20260316.e299bf0 · audit A · 138 stars
ultracite Cursor rule
mystenlabs/walrus-memory · apps/chatbot/.cursor/rules/ultracite.mdc · Ultracite Rules - AI-Ready Formatter and Linter
git:20260316.e299bf0 · audit A · 138 stars
ultracite Cursor rule
quriosity-agent/qcut · qcut/.cursor/rules/ultracite.mdc · Ultracite Rules - AI-Ready Formatter and Linter
git:20250801.9ef1681 · audit A · 49 stars
ultracite Cursor rule
unstackedapps/opensuitemcp · .cursor/rules/ultracite.mdc · Ultracite Rules - AI-Ready Formatter and Linter
git:20260126.d04bdf6 · audit A · 33 stars

Browse by kind, by grade A, or by owner.