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: .cursorrules
+9-4Lines changed: 9 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -3,15 +3,20 @@
3
3
## Project Overview
4
4
This is a Next.js prediction market application built by a **solo founder** that integrates with Polymarket and Colosseum APIs. The app uses Prisma with PostgreSQL for data management.
5
5
6
-
**Infrastructure:** The entire application runs on Vercel infrastructure, including hosting, serverless functions, and database connections.
6
+
**Infrastructure:** The entire application runs on Vercel infrastructure, including hosting, serverless functions, and database connections. Please see RUNBOOK.md for more information.
7
7
8
-
**Solo Founder Context:** This project is built and maintained by a single developer. Prioritize:
8
+
9
+
10
+
## High level guidance to Claude on coding and design
11
+
**Solo Founder Context**: This project is built and maintained by a single developer. Prioritize:
9
12
- **Simplicity over complexity** - Choose straightforward solutions that are easy to maintain
10
-
- **Proven technologies** - Use well-established libraries and patterns
13
+
- **Less code is better** - Choose solutions that involve less custom code where possible.
14
+
- **Proven technologies** - Use well-established libraries and patterns
11
15
- **Minimal dependencies** - Avoid over-engineering for a 1-person team
12
16
- **Clear documentation** - Write code that's easy to understand and modify later
13
17
- **Gradual scaling** - Start simple, optimize later when needed
Copy file name to clipboardExpand all lines: CLAUDE.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,8 +8,11 @@ BetterAI is a Next.js 15 prediction market application built by a **solo founder
8
8
9
9
**Core Value Proposition**: Everyone should be able to access world-class AI models with enriched data through a single click to enhance their prediction market decisions.
10
10
11
+
12
+
## High level guidance to Claude on coding and design
11
13
**Solo Founder Context**: This project is built and maintained by a single developer. Prioritize:
12
14
-**Simplicity over complexity** - Choose straightforward solutions that are easy to maintain
15
+
-**Less code is better** - Choose solutions that involve less custom code where possible.
13
16
-**Proven technologies** - Use well-established libraries and patterns
14
17
-**Minimal dependencies** - Avoid over-engineering for a 1-person team
15
18
-**Clear documentation** - Write code that's easy to understand and modify later
@@ -102,8 +105,8 @@ Follow the project's `.cursorrules` for consistent development:
102
105
103
106
### Database Migrations
104
107
- Use `pnpm run db:migrate:dev` for development migrations
105
-
- Use `pnpm run db:migrate:deploy` for production deployments (requires `.env.local`)
106
-
- Use `pnpm run db:migrate:status` to check migration status (requires `.env.local`)
108
+
- Use `pnpm run db:migrate:deploy:dev` for development deployments (requires `.env.local`)
109
+
- Use `pnpm run db:migrate:status:dev` to check migration status (requires `.env.local`)
107
110
-**Migration naming**: Provide `--name descriptive_name` to avoid interactive prompts
108
111
-**Example**: `pnpm run db:migrate:dev --name add_user_table`
109
112
- Always test migrations in development before deploying to production
0 commit comments