RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Configs/Cursor rules/we-promise/sure

Cursor rule

.cursor/rules/ui-ux-design-guidelines.mdc

This file describes Sure's design system and how views should be styled

Cursor rules

Quality

49/100

Scores the file, not the repository.

Length

126 words

1 headings · 0 code blocks

Repository

9.3k

— · pushed 0 days ago

Last changed

2 days ago

First indexed 2 days ago.
we-promise/sure/.cursor/rules/ui-ux-design-guidelines.mdcRawGitHub
1---
2description: This file describes Sure's design system and how views should be styled
3globs: app/views/**,app/helpers/**,app/javascript/controllers/**
4alwaysApply: true
5---
6Use the rules below when:
7 
8- You are writing HTML
9- You are writing CSS
10- You are writing styles in a JavaScript Stimulus controller
11 
12## Rules for AI (mandatory)
13 
14The codebase uses TailwindCSS v4.x (the newest version) with a custom design system defined in [sure-design-system.css](mdc:app/assets/tailwind/sure-design-system.css)
15 
16- Always start by referencing [sure-design-system.css](mdc:app/assets/tailwind/sure-design-system.css) to see the base primitives, functional tokens, and component tokens we use in the codebase
17- Always prefer using the functional "tokens" defined in @sure-design-system.css when possible.
18 - Example 1: use `text-primary` rather than `text-white`
19 - Example 2: use `bg-container` rather than `bg-white`
20 - Example 3: use `border border-primary` rather than `border border-gray-200`
21- Never create new styles in [sure-design-system.css](mdc:app/assets/tailwind/sure-design-system.css) or [application.css](mdc:app/assets/tailwind/application.css) without explicitly receiving permission to do so
22- Always generate semantic HTML
23 
24 

Sections

  • Rules for AI (mandatory)

What it covers

code-styledo-not

Stack — with the evidence

ruby

(1.00)

rails

(1.00)

biome

(1.00)

postgres

(0.70)

redis

(0.70)

vite

(0.70)

cloudflare

(0.70)

aws

(0.70)

desktop-app

(0.70)

typescript

(0.60)

javascript

(0.60)

swift

(0.60)

docker

(0.60)

kubernetes

(0.60)

github-actions

(0.60)

Glob targeting

  • app/views/**
  • app/helpers/**
  • app/javascript/controllers/**

Format

Cursor rules

The most expressive format here. Many small .mdc files, each with frontmatter declaring when it should load, so a rule about migrations only enters context when a migration is open. Costs the most to maintain and only one editor reads it.

What the corpus says about it

Repository

Owner
we-promise
Language
—
License
—
Archived
no

All configs in this repo

Also in we-promise/sure

Diff this repo’s formats

One repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?

The other instruction files in this repository
RepositoryFormatStackCoversScoreChanged
we-promise/sure.cursor/rules/api-endpoint-consistency.mdc · 9.3kCursor rulesrubyrails+13styletesting-strategygitsecurity+257/1002 days ago
we-promise/sure.cursor/rules/cursor_rules.mdc · 9.3kCursor rulesrubyrails+13no sections36/1002 days ago
we-promise/sure.cursor/rules/general-rules.mdc · 9.3kCursor rulesrubyrails+13styledo-not44/1002 days ago
we-promise/sure.cursor/rules/project-conventions.mdc · 9.3kCursor rulesrubyrails+13styledependenciesdatabaseui+259/1002 days ago
we-promise/sure.cursor/rules/project-design.mdc · 9.3kCursor rulesrubyrails+13style58/1002 days ago
we-promise/sure.cursor/rules/self_improve.mdc · 9.3kCursor rulesrubyrails+13no sections36/1002 days ago
we-promise/sure.cursor/rules/stimulus_conventions.mdc · 9.3kCursor rulesrubyrails+13no sections44/1002 days ago
we-promise/sure.cursor/rules/testing.mdc · 9.3kCursor rulesrubyrails+13styletesting-strategy52/1002 days ago
we-promise/sure.cursor/rules/view_conventions.mdc · 9.3kCursor rulesrubyrails+13style52/1002 days ago
we-promise/sure.github/copilot-instructions.md · 9.3kCopilot instructionsrubyrails+13setuptestlint-formatstyle+1088/1002 days ago
we-promise/sureAGENTS.md · 9.3kAGENTS.mdrubyrails+13buildtestlint-formatstyle+778/1002 days ago
we-promise/sureCLAUDE.md · 9.3kCLAUDE.mdrubyrails+13setuptestlint-formatstyle+1193/1002 days ago
Diff against .cursor/rules/api-endpoint-consistency.mdc Diff against .cursor/rules/cursor_rules.mdc Diff against .cursor/rules/general-rules.mdc Diff against .cursor/rules/project-conventions.mdc Diff against .cursor/rules/project-design.mdc Diff against .cursor/rules/self_improve.mdc Diff against .cursor/rules/stimulus_conventions.mdc Diff against .cursor/rules/testing.mdc Diff against .cursor/rules/view_conventions.mdc Diff against .github/copilot-instructions.md Diff against AGENTS.md Diff against CLAUDE.md

Similar configs

Same format, overlapping stack, ranked by quality.

Same format, overlapping stack, ranked by quality
RepositoryFormatStackCoversScoreChanged
hiromaily/go-crypto-wallet.cursor/rules/typescript.mdc · 126Cursor rulesgobun+5setupbuildtestlint-format+6100/1003 days ago
markstev/mark-starter.cursor/rules/frontend.mdc · 0Cursor rulestypescriptturborepo+14setuptestlint-formatstyle+699/1003 days ago
Allymahmoud/case-intake-platform.cursor/rules/frontend.mdc · 0Cursor rulestypescriptturborepo+13setuptestlint-formatstyle+799/1003 days ago
dodgecfr/combatfilms-webapp.cursor/rules/frontend.mdc · 0Cursor rulestypescriptturborepo+15setuptestlint-formatstyle+799/1003 days ago
hiromaily/go-crypto-wallet.cursor/rules/proto.mdc · 126Cursor rulesgobiome+4buildlint-formatstylearch+396/1003 days ago
nerds-odd-e/doughnut.cursor/rules/cli.mdc · 49Cursor rulestypescriptcypress+14setupbuildteststyle+496/1003 days ago
K-Mistele/opensearch.cursor/rules/default.mdc · 30Cursor rulestypescriptbun+3buildtestlint-formatstyle+294/1003 days ago
hiromaily/go-crypto-wallet.cursor/rules/task-context-loading.mdc · 126Cursor rulesgobiome+4archtypesdatabasedo-not+193/1003 days ago
RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack