Add StyleSeed design rules (CSS and Styling)#315
Conversation
Adds .cursorrules and README.md for the StyleSeed design engine under CSS and Styling. Extracted from https://github.com/bitjaru/styleseed — an open-source design engine with 69 design rules, 48 shadcn-style components, and brand skins (Toss, Stripe, Linear, Vercel, Notion). The ruleset encodes 10 Golden Rules, a font-size-by-context table, semantic color tokens, and Tailwind v4 anti-pattern guards so Cursor produces professionally-judged UI instead of generic AI output.
📝 WalkthroughWalkthroughA new ChangesStyleSeed Design Engine cursorrules addition
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
⚔️ Resolve merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@README.md`:
- Line 178: Move the StyleSeed Design Engine entry to maintain alphabetical
order within the CSS and Styling section of the README. The entry currently
appears at the end of the section but should be repositioned to appear after all
React entries and before the Tailwind entries, since "StyleSeed" begins with "S"
which falls alphabetically between "React" (R) and "Tailwind" (T). Relocate the
StyleSeed Design Engine line so it appears in the correct alphabetical position
within the section.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 52efdc2a-1947-4227-a0f5-ebc82609a4e5
📒 Files selected for processing (2)
README.mdrules/styleseed-design-engine-cursorrules-prompt-file/.cursorrules
| - [JavaScript (Astro, Tailwind CSS)](./rules/javascript-astro-tailwind-css-cursorrules-prompt-f/.cursorrules) - Cursor rules for JavaScript development with Astro and Tailwind CSS integration. | ||
| - [React (Styled Components)](./rules/react-styled-components-cursorrules-prompt-file/.cursorrules) - Cursor rules for React development with Styled Components integration. | ||
| - [React (Chakra UI)](./rules/react-chakra-ui-cursorrules-prompt-file/.cursorrules) - Cursor rules for React development with Chakra UI integration. | ||
| - [StyleSeed Design Engine (React, Tailwind v4, shadcn/ui)](./rules/styleseed-design-engine-cursorrules-prompt-file/.cursorrules) - Design rules that make Cursor produce professional React + Tailwind CSS UI. |
There was a problem hiding this comment.
Place entry in alphabetical order within the section.
The repository's coding guidelines require maintaining alphabetical order within each category. As per coding guidelines, entries should be sorted alphabetically by their display name. "StyleSeed Design Engine" should appear after the "React" entries and before the "Tailwind" entries (S comes after R, before T).
The new entry is currently placed at the end of the section, but alphabetically it should be inserted between line 177 (React Chakra UI) and line 171 (Tailwind CSS).
📋 Proposed fix to place entry in alphabetical order
The StyleSeed entry should be moved to appear after the React entries and before the Tailwind entries. The correct alphabetical order for the CSS and Styling section should be:
- [HTML (Tailwind CSS, JavaScript)](./rules/html-tailwind-css-javascript-cursorrules-prompt-fi/.cursorrules) - Cursor rules for HTML development with Tailwind CSS and JavaScript integration.
- [JavaScript (Astro, Tailwind CSS)](./rules/javascript-astro-tailwind-css-cursorrules-prompt-f/.cursorrules) - Cursor rules for JavaScript development with Astro and Tailwind CSS integration.
- [React (Chakra UI)](./rules/react-chakra-ui-cursorrules-prompt-file/.cursorrules) - Cursor rules for React development with Chakra UI integration.
- [React (Styled Components)](./rules/react-styled-components-cursorrules-prompt-file/.cursorrules) - Cursor rules for React development with Styled Components integration.
- [StyleSeed Design Engine (React, Tailwind v4, shadcn/ui)](./rules/styleseed-design-engine-cursorrules-prompt-file/.cursorrules) - Design rules that make Cursor produce professional React + Tailwind CSS UI.
- [Tailwind (React, Firebase)](./rules/tailwind-react-firebase-cursorrules-prompt-file/.cursorrules) - Cursor rules for Tailwind development with React and Firebase integration.
- [Tailwind (shadcn/ui Integration)](./rules/tailwind-shadcn-ui-integration-cursorrules-prompt-/.cursorrules) - Cursor rules for Tailwind development with shadcn/ui integration.
- [Tailwind CSS (Next.js Guide)](./rules/tailwind-css-nextjs-guide-cursorrules-prompt-file/.cursorrules) - Cursor rules for Tailwind CSS development with Next.js integration.Note: This would also correct the alphabetical ordering of the existing entries in this section.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@README.md` at line 178, Move the StyleSeed Design Engine entry to maintain
alphabetical order within the CSS and Styling section of the README. The entry
currently appears at the end of the section but should be repositioned to appear
after all React entries and before the Tailwind entries, since "StyleSeed"
begins with "S" which falls alphabetically between "React" (R) and "Tailwind"
(T). Relocate the StyleSeed Design Engine line so it appears in the correct
alphabetical position within the section.
Source: Coding guidelines
Adds a
.cursorrulesfor StyleSeed under CSS and Styling.It's a framework-agnostic design-judgment rule (based on the open-source StyleSeed engine, MIT): one accent, one radius personality, spacing rhythm, hierarchy, real empty/loading/error states, and UX-writing (buttons that name the action, errors that help instead of blame). The headline rule is coherence — pick one value per axis and apply it everywhere — which is the fastest fix for UI that 'looks AI-generated.'
Follows the existing
rules/<name>-cursorrules-prompt-file/.cursorrulesfolder format. Thanks for maintaining this!Summary by CodeRabbit
Documentation
Chores