You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
### Stop fixing AI-generated bugs. Start shipping production apps.
4
4
5
-
A **Next.js 15 + Supabase boilerplate** with **20`.mdc` architecture rules** that physically prevent AI coding assistants from hallucinating insecure auth, deprecated packages, and broken patterns.
5
+
A **Next.js 15 + Supabase boilerplate** with **22`.mdc` architecture rules** that physically prevent AI coding assistants from hallucinating insecure auth, deprecated packages, and broken patterns.
6
6
7
7
> **The problem:** AI models generate code that compiles perfectly but ships critical vulnerabilities — `getSession()` instead of `getUser()`, synchronous params that crash in Next.js 15, missing RLS policies that expose your database. These bugs are invisible until production.
8
8
>
@@ -12,7 +12,7 @@ A **Next.js 15 + Supabase boilerplate** with **20 `.mdc` architecture rules** th
12
12
13
13
## 🏗️ What's Inside
14
14
15
-
### 20 Architecture Rules (`.cursor/rules/`)
15
+
### 22 Architecture Rules (`.cursor/rules/`)
16
16
17
17
| Rule File | What It Prevents |
18
18
|---|---|
@@ -36,6 +36,8 @@ A **Next.js 15 + Supabase boilerplate** with **20 `.mdc` architecture rules** th
36
36
|`file-naming.mdc`| File/directory naming conventions + import order |
Copy file name to clipboardExpand all lines: src/app/page.tsx
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ import Link from 'next/link'
3
3
constfeatures=[
4
4
{
5
5
icon: '🛡️',
6
-
title: '20 Architecture Rules',
6
+
title: '22 Architecture Rules',
7
7
desc: 'Battle-tested .mdc rules that catch AI hallucinations before they hit production. Covers auth, params, RLS, Stripe, performance, and OWASP Top 10.',
8
8
},
9
9
{
@@ -34,8 +34,8 @@ const features = [
34
34
]
35
35
36
36
conststats=[
37
-
{value: '20',label: 'Architecture Rules'},
38
-
{value: '62',label: 'Production Files'},
37
+
{value: '22',label: 'Architecture Rules'},
38
+
{value: '64',label: 'Production Files'},
39
39
{value: '4',label: 'MCP Servers'},
40
40
{value: '0',label: 'Hallucinations Shipped'},
41
41
]
@@ -117,7 +117,7 @@ export default function HomePage() {
117
117
marginBottom: '2.5rem',
118
118
}}
119
119
>
120
-
20 architecture rules that physically prevent Cursor from generating
120
+
22 architecture rules that physically prevent Cursor from generating
121
121
insecure auth, deprecated packages, and broken Next.js 15 patterns.
0 commit comments