Cursor rule
.cursor/rules/dry.strict.mdc[object Object]
Cursor rules
Quality
50/100
Scores the file, not the repository.Length
230 words
2 headings · 0 code blocksRepository
10
— · pushed 396 days agoLast changed
3 days ago
First indexed 3 days ago.123456---7description: If you are need to polish the code quality AFTER creating new tsx file. Read this rule8globs:9alwaysApply: false10---11You have to follow these rules:12## Do:13141. Strictly follow requirements152. Use functional programming techniques exclusively163. Maintain immutability throughout174. Use DRY principle across all files185. Always have bun-first mindset196. Always clean leftover unnecessary files207. Highly reusability `react` FC functions in SINGLE tsx file218. Use Ver and Hor based structure on tsx file229. Within the nested ver hor, the last deepest child should use proper html semantic not div, ver hor2324## Don't:2510. Do not use `tailwind.config.js` it is deprecated in Tailwind CSS v4. v4 only needs `@import "tailwindcss";` in the CSS file.2611. No DIV allowed, only use Ver Hor for directional component spreads2712. Avoid OOP, classes, or inheritance2813. Avoid traditional methods. use HOF2914. Don't write // comments3015. Don't use `any` or `unknown` types3116. Don't use JSX elements like <div>, <Ver>, <Hor>, etc in the return statements, they should be extracted into separate functional FC components.3217. No props drilling, use jotai3318. use lucide react rather than writing svgs3419. Do not create any new files other than these;35 a. `src\components\page\*.page.tsx` :36 b. `src\components\ui\*.reuse.tsx` :37 c. `src\types\common.type.ts` :38 d. `src\types\props.type.ts` :39 e. `src\state-management\hooks\*.hook.ts` : jotai useAtom40 f. `src\state-management\hooks\*.state.ts` : jotai atom
Also in pylarco/diff-apply
Diff this repo’s formatsOne 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 |
|---|---|---|---|---|---|
| pylarco/diff-apply.cursor/rules/elysia.rule.mdc · 10 | Cursor rules | no sections | 16/100 | 3 days ago | |
| pylarco/diff-apply.cursor/rules/integration.task.mdc · 10 | Cursor rules | no sections | 16/100 | 3 days ago | |
| pylarco/diff-apply.cursor/rules/motion.mdc · 10 | Cursor rules | no sections | 16/100 | 3 days ago | |
| pylarco/diff-apply.cursor/rules/test.mdc · 10 | Cursor rules | testing-strategydo-not | 31/100 | 3 days ago | |
| pylarco/diff-apply.cursor/rules/use-bun-instead-of-node-vite-npm-pnpm.mdc · 10 | Cursor rules | setupteststyle | 73/100 | 3 days ago |
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| hiromaily/go-crypto-wallet.cursor/rules/typescript.mdc · 126 | Cursor rules | setupbuildtestlint-format+6 | 100/100 | 3 days ago | |
| TechSquidTV/Hermes.cursor/rules/10-hermes-api.mdc · 45 | Cursor rules | testlint-formatstylearch+5 | 100/100 | 3 days ago | |
| markstev/mark-starter.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+6 | 99/100 | 3 days ago | |
| Allymahmoud/case-intake-platform.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 3 days ago | |
| deifos/clipmira-subtitles.cursor/rules/frontend.mdc · 1 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 3 days ago | |
| dodgecfr/combatfilms-webapp.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 3 days ago | |
| langflow-ai/langflow.cursor/rules/docs_development.mdc · 153k | Cursor rules | setupbuildtestlint-format+7 | 97/100 | 3 days ago | |
| TechSquidTV/Hermes.cursor/rules/20-hermes-api-tests.mdc · 45 | Cursor rules | teststyletesting-strategysecurity+3 | 97/100 | 3 days ago |
