RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Configs/Cursor rules/khrnchn/sedekah-je

Cursor rule

.cursor/rules/sedekahje-general-rules.mdc

general sedekahje codebase rules

Cursor rules

Quality

34/100

Scores the file, not the repository.

Length

193 words

0 headings · 0 code blocks

Repository

89

— · pushed 28 days ago

Last changed

3 days ago

First indexed 3 days ago.
khrnchn/sedekah-je/.cursor/rules/sedekahje-general-rules.mdcRawGitHub
1---
2description: general sedekahje codebase rules
3globs:
4alwaysApply: false
5---
6 
71. avoid using pgenums because its hard to manage on prod when we want to add or remove values. use object constants instead
82. 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 point
12 - `_lib/`: Contains business logic, utilities, database queries, and other non-UI code
13 - `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 validation
16 - `types.ts`: TypeScript interfaces and types
17 - `helpers.ts`: Utility functions specific to the module
18 - `_components/`: Contains React components specific to this feature/module
19
20 For example, in a "my-contributions" feature:
21 - `page.tsx`: Main page that displays user contributions
22 - `_lib/queries.ts`: Server actions/queries to fetch contributions
23 - `_components/stats-card.tsx`: UI component for displaying contribution statistics
24 
25 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 

What it covers

code-style

Stack — with the evidence

typescript

(1.00)

nextjs

(1.00)

drizzle

(1.00)

tailwind

(1.00)

eslint

(1.00)

biome

(1.00)

node

(0.70)

react

(0.70)

postgres

(0.70)

vercel

(0.70)

aws

(0.70)

javascript

(0.60)

bun

(0.60)

github-actions

(0.60)

Glob targeting

  • [object Object]

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
khrnchn
Language
—
License
—
Archived
no

All configs in this repo

Also in khrnchn/sedekah-je

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
khrnchn/sedekah-jeCLAUDE.md · 89CLAUDE.mdtypescriptnextjs+12testlint-formatstylearch+697/1003 days ago
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
TechSquidTV/Hermes.cursor/rules/10-hermes-api.mdc · 45Cursor rulestypescriptpytest+15testlint-formatstylearch+5100/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
deifos/clipmira-subtitles.cursor/rules/frontend.mdc · 1Cursor rulestypescriptnextjs+5setuptestlint-formatstyle+799/1003 days ago
langflow-ai/langflow.cursor/rules/docs_development.mdc · 153kCursor rulespythonnode+16setupbuildtestlint-format+797/1003 days ago
TechSquidTV/Hermes.cursor/rules/20-hermes-api-tests.mdc · 45Cursor rulestypescriptpytest+15teststyletesting-strategysecurity+397/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