Coding & Development⌨️cursor🌐universal

Complete AI-Assisted Development Boilerplate Package

Cursor Guidelines

Quick Start

Install this Skill

npx skills add Niftyzio/Cursor-rules
# Complete AI-Assisted Development Boilerplate Package
## Everything You Need to Build Better Apps with Cursor

---

## πŸŽ‰ What You're Getting

A complete, comprehensive boilerplate package for building React + Vite + TypeScript + Supabase applications with AI assistance. This package answers the question: **"What should my code structure look like when using AI assistants?"**

Every single guide follows the principle of **What It Is, How to Use It, When to Use It, and Why**.

---

## πŸ“¦ Files You Have

### 7 Complete Guides + 1 Reference Card

| File | Size | Purpose | Start Here? |
|------|------|---------|-------------|
| **INDEX-AND-GUIDE.md** | 13KB | Master index that ties everything together | ⭐ YES |
| **QUICK-REFERENCE-CARD.md** | 9.3KB | One-page cheat sheet for daily use | ⭐ YES |
| **ai-coding-boilerplate-guide.md** | 60KB | Comprehensive guide (19 major sections) | πŸ“– Read second |
| **example.cursorrules** | 12KB | Copy-paste ready .cursorrules file | πŸ”§ Use immediately |
| **STARTER-PROJECT-STRUCTURE.md** | 13KB | Setup guide + complete folder tree | πŸš€ Use to setup |
| **vibe-coding-architecture-guide.md** | 12KB | Detailed architecture explanations | πŸ“š Reference |
| **vibe-coding-architecture.mermaid** | 6.9KB | Visual system architecture diagram | πŸ“Š View first |

---

## πŸš€ Quick Start (5 Minutes)

1. **Read this:** [INDEX-AND-GUIDE.md](./INDEX-AND-GUIDE.md)
2. **Read this:** [QUICK-REFERENCE-CARD.md](./QUICK-REFERENCE-CARD.md) 
3. **Copy this:** [example.cursorrules](./example.cursorrules) β†’ Your project root as `.cursorrules`
4. **Follow this:** [STARTER-PROJECT-STRUCTURE.md](./STARTER-PROJECT-STRUCTURE.md) β†’ Setup your project
5. **Done!** Start coding

---

## πŸ“š What Each File Does

### INDEX-AND-GUIDE.md ⭐
**The Master Guide**
- Overview of all files
- How to use this package
- Learning paths (Week 1-4)
- FAQ for quick answers
- Success indicators

**When to read:** First (before anything else)

---

### QUICK-REFERENCE-CARD.md ⭐
**The One-Pager (Print It!)**
- Component template
- Hook template
- Service template
- Type template
- Common patterns
- Mistakes to avoid
- Cursor prompt checklist
- All on ONE page

**When to use:** Keep it open while coding

---

### ai-coding-boilerplate-guide.md
**The Bible (60KB of Knowledge)**

Contains detailed "what/how/when/why" for:
1. `.cursorrules` file
2. `ARCHITECTURE.md` documentation
3. `README.md` setup
4. `tsconfig.json` configuration
5. `vite.config.ts` configuration
6. `eslint.config.js` linting
7. `tailwind.config.ts` styling
8. Pages folder structure
9. Components folder structure
10. Hooks folder structure (service layer!)
11. Services folder structure
12. Types folder structure
13. Contexts folder structure
14. Supabase Edge Functions
15. Row Level Security (RLS)
16. Database schema & migrations
17. How to prompt Cursor
18. Common mistakes #1-7
19. Golden rules summary

**When to use:** Deep dive into any topic

---

### example.cursorrules
**Your AI Assistant's Brain**

Ready-to-copy .cursorrules file containing:
- Architecture rules
- Naming conventions
- React guidelines
- Custom hooks guidelines
- Service layer guidelines
- Type safety rules
- Error handling rules
- Import organization
- Code style rules
- File size limits
- Testing guidelines
- Performance rules
- Anti-patterns to avoid
- Pre-commit checklist
- Prompt templates

**How to use:**
1. Copy the entire file
2. Paste into your project root
3. Name it `.cursorrules`
4. Cursor will automatically follow these rules

---

### STARTER-PROJECT-STRUCTURE.md
**Your Project Blueprint**

Contains:
- Complete folder tree (copy-paste ready)
- 10-step setup instructions
- Environment variables template
- Core files to create first
- Common commands
- Troubleshooting guide

**How to use:**
1. Create folders exactly as shown
2. Follow setup instructions
3. Reference when confused about where things go

---

### vibe-coding-architecture-guide.md
**Architecture Deep Dive**

Explains:
- Development environment layer
- Frontend architecture (all layers)
- Backend architecture
- External services integration
- Data flow examples (3 real scenarios)
- Key principles
- Feature build process
- Architecture checklist

**When to use:** Need to understand how layers connect

---

### vibe-coding-architecture.mermaid
**Visual System Diagram**

A complete system architecture as a flowchart showing:
- All development tools
- Frontend structure
- Backend structure
- External services
- Data flows and connections
- Color-coded by layer

**How to use:** View in any Mermaid viewer or your IDE

---

## 🎯 How to Get Started

### Scenario 1: "I'm Starting a New Project"
1. Read: QUICK-REFERENCE-CARD.md (5 min)
2. Read: INDEX-AND-GUIDE.md (10 min)
3. Follow: STARTER-PROJECT-STRUCTURE.md setup (30 min)
4. Copy: example.cursorrules to your project root
5. Start coding!

### Scenario 2: "I'm Learning the Architecture"
1. View: vibe-coding-architecture.mermaid (visual overview)
2. Read: vibe-coding-archite

... (truncated)
Repository
3stars
0forks
View on GitHub
Details
DiscoveredJan 19, 2026
Last UpdatedNov 25, 2025
Author@Niftyzio
Quality Score
20/100