build-course
Build a complete online course platform with video hosting, progress tracking, quizzes, and payments. Use when Rick says build a course, create a learning platform, or make educational content.
SKILL.mdskills/build-course/SKILL.md
GitHubBuild Online Course Platform
IMPORTANT: Before scaffolding, see @project-scaffolding.md for the complete master project template. All new projects MUST use the full monorepo structure with all critical config files.
Stack
- Frontend: Next.js 15 + shadcn/ui + Framer Motion
- Auth: Supabase Auth
- Database: Supabase PostgreSQL
- Video: Mux or Cloudflare Stream
- Payments: Stripe (one-time + subscription)
- Deploy: Cloudflare Pages
Required Features
- Course catalog with categories and search
- Video player with progress tracking
- Module/lesson structure with sequential unlocking
- Quiz system with multiple question types
- Certificate generation on completion
- Student dashboard with progress overview
- Admin panel for content management
- Stripe checkout for course purchases
- Email notifications (enrollment, progress, completion)
- Mobile-responsive design
Database Schema
- users, courses, modules, lessons, enrollments
- progress (user_id, lesson_id, completed_at, watch_time)
- quizzes, quiz_questions, quiz_attempts
- certificates (auto-generated PDF)
After Building
- Run pnpm build to verify
- Deploy to Cloudflare Pages
- Push to GitHub with branding