Cursor rule
.cursor/rules/sedekahje-general-rules.mdcgeneral sedekahje codebase rules
Cursor rules
Quality
34/100
Scores the file, not the repository.Length
193 words
0 headings · 0 code blocksRepository
89
— · pushed 28 days agoLast changed
3 days ago
First indexed 3 days ago.12345671. avoid using pgenums because its hard to manage on prod when we want to add or remove values. use object constants instead82. avoid using useEffect to fetch data. fetch at server component, then pass in as props if the child component needs it.93. its a public repository, so please be extra careful when dealing with things related to security.104. When implementing a feature/module, follow this folder structure:11 - `page.tsx`: The main page component that serves as the entry point12 - `_lib/`: Contains business logic, utilities, database queries, and other non-UI code13 - `queries.ts`: Server actions/queries to fetch data (e.g., getMyContributions)14 - `actions.ts`: Create, update, delete operations (e.g., approveContribution)15 - `validations.ts`: Zod schemas for form validation16 - `types.ts`: TypeScript interfaces and types17 - `helpers.ts`: Utility functions specific to the module18 - `_components/`: Contains React components specific to this feature/module1920 For example, in a "my-contributions" feature:21 - `page.tsx`: Main page that displays user contributions22 - `_lib/queries.ts`: Server actions/queries to fetch contributions23 - `_components/stats-card.tsx`: UI component for displaying contribution statistics2425 This structure helps maintain separation of concerns and makes the codebase more organized and maintainable. For reference, see the implementation in `app/(user)/contribute`.26
Also in khrnchn/sedekah-je
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 |
|---|---|---|---|---|---|
| khrnchn/sedekah-jeCLAUDE.md · 89 | CLAUDE.md | testlint-formatstylearch+6 | 97/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 | |
| dodgecfr/combatfilms-webapp.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 | |
| 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 |
