

Also from Kynth Studios


Also from Kynth Studios


Also from Kynth Studios
1You are an expert in TypeScript, Node.js, Next.js App Router, React, NextUI, Shadcn UI and Tailwind.23I use pnpm as package manager.45Code Style and Structure:67- Write concise, technical TypeScript code with accurate examples8- Use functional and declarative programming patterns; avoid classes9- Prefer iteration and modularization over code duplication10- Use descriptive variable names with auxiliary verbs (e.g., isLoading, hasError)11- Structure files: exported component, subcomponents, helpers, static content, types1213Naming Conventions:1415- Use CamelCase with dashes for directories (e.g., components/AuthWizard)16- Favor named exports for components1718TypeScript Usage:1920- Use TypeScript for all code; prefer interfaces over types21- Avoid enums; use maps instead22- Use functional components with TypeScript interfaces23- When I say "封装成一个组件", it means "export a component, but don't create new file".24- Use English for all comments and documentation25- Use English for all notification messages, sonner, toast, error messages, etc. Don't use Chinese.2627Syntax and Formatting:2829- Use the "function" keyword for pure functions30- Avoid unnecessary curly braces in conditionals; use concise syntax for simple statements31- Use declarative JSX3233Error Handling and Validation:3435- Prioritize error handling: handle errors and edge cases early36- Use early returns and guard clauses37- Implement proper error logging and user-friendly messages38- Use Zod for form validation39- Model expected errors as return values in Server Actions40- Use error boundaries for unexpected errors4142UI and Styling:4344- Use HeroUI, Shadcn UI, and Tailwind for components and styling45- Use lucide-react for icon. Sometime @iconify/react in code base, ignore it. heroicons.46- Aceternity UI and Magic UI47- Implement responsive design with Tailwind CSS; use a mobile-first approach48- ContextMenu from Shadcn UI as "右键菜单"4950Performance Optimization:5152- Minimize 'use client', 'useEffect', and 'setState'; favor React Server Components (RSC)53- Wrap client components in Suspense with fallback54- Use dynamic loading for non-critical components55- Optimize images: use WebP format, include size data, implement lazy loading5657Third party lib:5859- Use modern state management solutions: Zustand to handle global state60- Use ky to data fetching61- Use Vercel AI SDK for AI function62- Implement validation using Zod for schema validation63- use "import { toast as sonner } from 'sonner';" for sonner notice; use "import { toast } from 'toast';" for toast notice6465Key Conventions:6667- Use 'nuqs' for URL search parameter state management68- Optimize Web Vitals (LCP, CLS, FID)69- Limit 'use client':70 - Favor server components and Next.js SSR71 - Use only for Web API access in small components72 - Avoid for data fetching or state management7374Follow Next.js docs for Data Fetching, Rendering, and Routing75
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?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| leaperone/nextjs-i18n-prisma-authjs-tailwindcss-template.cursor/rules/ai.mdc · 6 | Cursor rules | no sections | 16/100 | today | |
| leaperone/nextjs-i18n-prisma-authjs-tailwindcss-template.cursor/rules/breadcrumb.mdc · 6 | Cursor rules | ui | 16/100 | today | |
| leaperone/nextjs-i18n-prisma-authjs-tailwindcss-template.cursor/rules/comment.mdc · 6 | Cursor rules | lint-formatstyletypesdocs | 66/100 | today | |
| leaperone/nextjs-i18n-prisma-authjs-tailwindcss-template.cursor/rules/i18n.mdc · 6 | Cursor rules | ui | 45/100 | today | |
| leaperone/nextjs-i18n-prisma-authjs-tailwindcss-template.cursor/rules/postgresql.mdc · 6 | Cursor rules | styledo-not | 65/100 | today | |
| leaperone/nextjs-i18n-prisma-authjs-tailwindcss-template.cursor/rules/typescript.mdc · 6 | Cursor rules | style | 40/100 | today | |
| leaperone/nextjs-i18n-prisma-authjs-tailwindcss-template.cursor/rules/ui-style.mdc · 6 | Cursor rules | styleui | 29/100 | today | |
| leaperone/nextjs-i18n-prisma-authjs-tailwindcss-template.cursor/rules/ui.mdc · 6 | Cursor rules | ui | 36/100 | today |
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| bashdeban/fastmind.cursorrules · 5 | .cursorrules | buildtestlint-formattypes+5 | 81/100 | 14 days ago | |
| storybookjs/storybook.cursorrules · 91k | .cursorrules | teststylearchdo-not+1 | 78/100 | 14 days ago | |
| wodsmith/thewodapp.cursorrules · 2 | .cursorrules | testlint-formatstylearch+4 | 64/100 | 14 days ago | |
| NickCirv/engram.cursorrules · 139 | .cursorrules | testarchdependencies | 63/100 | 14 days ago | |
| eastlondoner/vibe-tools.cursorrules · 4.8k | .cursorrules | style | 60/100 | today | |
| abpframework/abp.cursorrules · 14k | .cursorrules | teststylegitsecurity+3 | 55/100 | 13 days ago | |
| Kabi10/cursor-rules.cursorrules · 21 | .cursorrules | do-notagent-behaviour | 52/100 | 14 days ago | |
| sferg989/fergfo.om.cursorrules · 0 | .cursorrules | do-not | 49/100 | 14 days ago |
A badge carrying the measured quality of the strongest agent config file in this repository, out of 100. It reads from this index every time somebody loads your page, so it changes when the measurement changes and there is nothing to keep up to date. Free, no account, and the value is not something you or we can set by hand.
[](https://rulestack.kynth.studio/configs/leaperone-nextjs-i18n-prisma-authjs-tailwindcss-template-cursorrules)Would rather not hotlink us? Every badge is also served in shields.io’s endpoint schema, so shields renders the image and your readers never talk to our domain:
Published by Toolproof, the masthead over this index and eight others. The method behind the number is at toolproof.kynth.studio/methodology, and the whole thing is readable as JSON with no key at /api.