RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Configs/Cursor rules/sportiz91/vibe-template

Cursor rule

.cursor/rules/general.mdc

Follow these rules for all requests.

Cursor rules

Quality

69/100

Scores the file, not the repository.

Length

438 words

9 headings · 2 code blocks

Repository

9

— · pushed 394 days ago

Last changed

3 days ago

First indexed 3 days ago.
sportiz91/vibe-template/.cursor/rules/general.mdcRawGitHub
1---
2description: Follow these rules for all requests.
3globs:
4alwaysApply: false
5---
6# Project Instructions
7# Project Instructions
8 
9Use specification and guidelines as you build the app.
10 
11Write the complete code for every step. Do not get lazy.
12 
13Your goal is to completely finish whatever I ask for.
14 
15You will see <ai_context> tags in the code. These are context tags that you should use to help you understand the codebase.
16 
17## Overview
18 
19This is a web app template.
20 
21## Tech Stack
22 
23- Frontend: Next.js, Tailwind, Shadcn, Framer Motion
24- Backend: Postgres, Supabase, Drizzle ORM, Server Actions
25- Auth: Clerk
26- Payments: Stripe
27- Analytics: PostHog
28- Deployment: Vercel
29 
30## Project Structure
31 
32- `actions` - Server actions
33 - `db` - Database related actions
34 - Other actions
35- `app` - Next.js app router
36 - `api` - API routes
37 - `route` - An example route
38 - `_components` - One-off components for the route
39 - `layout.tsx` - Layout for the route
40 - `page.tsx` - Page for the route
41- `components` - Shared components
42 - `ui` - UI components
43 - `utilities` - Utility components
44- `db` - Database
45 - `schema` - Database schemas
46- `lib` - Library code
47 - `hooks` - Custom hooks
48 - `services` - Business logic services
49- `prompts` - Prompt files
50- `public` - Static assets
51- `types` - Type definitions
52 
53## Rules
54 
55Follow these rules when building the app.
56 
57### General Rules
58 
59- Use `@` to import anything from the app unless otherwise specified
60- Use kebab case for all files and folders unless otherwise specified
61- Don't update shadcn components unless otherwise specified
62 
63#### Env Rules
64 
65- If you update environment variables, update the `.env.example` file
66- All environment variables should go in `.env.local`
67- Do not expose environment variables to the frontend
68- Use `NEXT_PUBLIC_` prefix for environment variables that need to be accessed from the frontend
69- Always access environment variables via the centralized config module (`serverConfig` and `publicEnv` from `@/lib/config`). Do not use `process.env` directly in application code.
70 
71#### Type Rules
72 
73Follow these rules when working with types.
74 
75- When importing types, use `@/types`
76- Name files like `example-types.ts`
77- All types should go in `types`
78- Make sure to export the types in `types/index.ts`
79- Prefer interfaces over type aliases
80- If referring to db types, use `@/db/schema` such as `SelectTodo` from `todos-schema.ts`
81 
82An example of a type:
83 
84`types/actions-types.ts`
85 
86```ts
87export type ActionState<T> =
88 | { isSuccess: true; message: string; data: T }
89 | { isSuccess: false; message: string; data?: never }
90```
91 
92And exporting it:
93 
94`types/index.ts`
95 
96```ts
97export * from "./actions-types"
98```
99 
100- Always access environment variables via the centralized config module (`serverConfig` and `publicEnv` from `@/lib/config`). Do not use `process.env` directly in application code.
101 
102 

Sections

  • Project Instructions
  • Project Instructions
  • Overview
  • Tech Stack
  • Project Structure
  • Rules
  • General Rules

What it covers

code-stylearchitecturesecuritydo-notagent-behaviour

Stack — with the evidence

typescript

(1.00)

node

(1.00)

nextjs

(1.00)

drizzle

(1.00)

tailwind

(1.00)

eslint

(1.00)

react

(0.70)

postgres

(0.70)

javascript

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

All configs in this repo

Also in sportiz91/vibe-template

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
sportiz91/vibe-template.cursor/rules/auth.mdc · 9Cursor rulestypescriptnode+7securitydo-not32/1003 days ago
sportiz91/vibe-template.cursor/rules/storage.mdc · 9Cursor rulestypescriptnode+7archsecuritydo-not65/1003 days ago
sportiz91/vibe-template.cursor/rules/backend.mdc · 9Cursor rulestypescriptnode+7do-not61/1003 days ago
sportiz91/vibe-template.cursor/rules/coding-standards.mdc · 9Cursor rulestypescriptnode+7styletypesui36/1003 days ago
sportiz91/vibe-template.cursor/rules/frontend.mdc · 9Cursor rulestypescriptnode+7do-not61/1003 days ago
sportiz91/vibe-template.cursorrules · 9.cursorrulestypescriptnode+7stylearchsecuritydo-not+149/1003 days ago
sportiz91/vibe-templateCLAUDE.md · 9CLAUDE.mdtypescriptnode+7setuptestlint-formatstyle+788/1003 days ago
Diff against .cursor/rules/auth.mdc Diff against .cursor/rules/storage.mdc Diff against .cursor/rules/backend.mdc Diff against .cursor/rules/coding-standards.mdc Diff against .cursor/rules/frontend.mdc Diff against .cursorrules 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
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
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
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