📚 Coding Teamwork — Khóa Học AI-Native Team Development
Câu chuyện của Team Phoenix — Từ dev truyền thống đến đội ngũ AI-native trong 20 chương
Tổng Quan
| Thông Tin | Chi Tiết |
|---|---|
| Tên khóa | Coding Teamwork: AI-Native Team Transformation |
| Đối tượng | Dev teams (3-8 người) muốn chuyển đổi sang AI workflows |
| Thời lượng | 20 chương × 90-120 phút = ~40 giờ |
| Cấp độ | Intermediate (biết code cơ bản, chưa dùng AI tools) |
| Dự án | TeamFlow — AI-Native Project Management Platform |
| Ngôn ngữ | Tiếng Việt (code tiếng Anh) |
Tech Stack
| Component | Technology | Lý Do |
|---|---|---|
| Backend | Node.js + Express + TypeScript | Battle-tested, dễ học |
| Database | Supabase (PostgreSQL + Auth + Storage + Realtime) | Cloud-native, team-friendly |
| Frontend | Vanilla TypeScript + HTMX | Progressive enhancement |
| Testing | Vitest + Supertest + Playwright | Complete test pyramid |
| CI/CD | GitHub Actions | Industry standard |
| Deploy | Cloudflare Pages + Workers | Edge-first, serverless |
| AI Tools | Google Antigravity (primary) | CLI agent, CodyMaster native |
| Cursor (alternative) | Visual IDE option | |
| Claude Code + Cowork (team option) | Team collaboration built-in |
🦅 Team Phoenix — Nhân Vật
5 người, 1 công ty nhỏ, 1 sứ mệnh: chuyển đổi hoặc bị thay thế.
| Nhân Vật | Vai Trò | Đặc Điểm | Hành Trình |
|---|---|---|---|
| 🧑💼 Minh | CEO / Business Owner | Có vision nhưng non-tech | Từ "thuê dev" → "direct AI" |
| 📋 Lan | Product Manager | Kỹ tính, skeptical | Từ Excel PRD → AI-generated specs |
| 🛠️ Đức | Senior Developer | 5 năm exp, thói quen cũ | Từ Stack Overflow → AI pair coding |
| 🧪 Hà | QA Engineer | Manual tester | Từ click-test → automated AI QA |
| 💻 Tuấn | Junior Developer | Fresh grad, háo hức | Từ tutorial hell → AI-powered builder |
📖 20 Chương
Act I: "The Wake-Up Call" — Thức Tỉnh (Ch 1-5)
| Ch | Tên | Focus | CodyMaster Skills | Vai Trò Chính |
|---|---|---|---|---|
| 1 | Kỷ Nguyên AI: Thay Đổi Hay Bị Thay Thế | Why AI-native. Team Phoenix story. Landscape. | cm-how-it-work | All |
| 2 | Thiết Lập Vũ Khí: Antigravity, Cursor & Claude | Install tools. Compare. Pick weapon. First prompt. | cm-start, cm-skill-index | Dev, QA |
| 3 | Supabase: Cloud Database Cho Team | Setup Supabase project. Schema. Auth. Storage. | cm-planning | Dev |
| 4 | Dự Án TeamFlow: Kiến Trúc & Khởi Tạo | Scaffold. Express + TS + Supabase. Git. AGENTS.md. | cm-project-bootstrap | Dev, PM |
| 5 | Vibe Coding 101: Từ Prompt Đến Code | First AI features. Prompt engineering. Review. | cm-execution | Dev |
Act II: "The Build" — Xây Dựng (Ch 6-14)
| Ch | Tên | Focus | CodyMaster Skills | Bugs |
|---|---|---|---|---|
| 6 | Authentication: Bảo Mật Từ Ngày Đầu | Supabase Auth. JWT. Protected routes. TDD. | cm-tdd, cm-secret-shield | 🐛 #3 |
| 7 | CRUD Mastery: Projects & Tasks | REST API. Zod validation. Error handling. | cm-tdd, cm-quality-gate | 🐛 #1, #2 |
| 8 | Kanban Board: Code Thành Sản Phẩm | Frontend UI. CSS Grid. Drag-drop. Design system. | cm-design-system | — |
| 9 | Testing Như Thở: TDD & Test Gate | 5-layer test. Red-Green-Refactor. CI pipeline. | cm-test-gate, cm-tdd | Fix #1-3 |
| 10 | Collaboration: Comments & Activity | Comment system. Activity log. XSS prevention. | cm-tdd, cm-debugging | 🐛 #5 |
| 11 | File Upload & Supabase Storage | Upload UI. Storage policies. Preview. Security. | cm-execution | — |
| 12 | Real-time: Team Làm Việc Cùng Lúc | Supabase Realtime. Live board. Presence. | cm-execution, cm-debugging | 🐛 #8 |
| 13 | Sprint Planning & Analytics | Sprint model. Burndown. Dashboard. Charts. | cm-planning, cm-brainstorm-idea | 🐛 #7, #12 |
| 14 | PRD, User Stories & Product Thinking | AI-generated PRD. JTBD. Acceptance criteria. | cm-jtbd, cm-planning | — |
Act III: "The Launch" — Cất Cánh (Ch 15-20)
| Ch | Tên | Focus | CodyMaster Skills | Bugs |
|---|---|---|---|---|
| 15 | i18n: Sản Phẩm Cho Thế Giới | Vietnamese + English. Safe i18n workflow. | cm-safe-i18n | 🐛 #9 |
| 16 | Security Audit: Trước Khi Mở Cửa | RBAC. Rate limit. Secret scan. OWASP. | cm-security-gate, cm-secret-shield | 🐛 #6, #11 |
| 17 | CI/CD: Từ Code Đến Cloudflare | GitHub Actions. Cloudflare deploy. 8-gate pipeline. | cm-safe-deploy, cm-identity-guard | 🐛 #10, #15 |
| 18 | Landing Page & CRO | StoryBrand. Lead capture. Conversion optimization. | cm-cro-methodology, cm-growth-hacking | 🐛 #13 |
| 19 | Business Model & GTM | BMC. Pricing. Revenue model. Go-to-market. | cm-brainstorm-idea, cm-content-factory | 🐛 #14 |
| 20 | Retrospective: Phoenix Hồi Sinh | Sprint retro. Lessons. What's next. Certificate. | cm-retro-cli, cm-code-review | — |
🐛 15 Intentional Bugs
| # | Bug | File | Chapter | Discoverer |
|---|---|---|---|---|
| 1 | Empty project name accepted | models/project.ts | 7 | QA |
| 2 | DELETE no existence check | models/task.ts | 7 | QA+Dev |
| 3 | JWT secret hardcoded | middleware/auth.ts | 6 | QA (security) |
| 4 | SQL injection in search | routes/search.ts | 10 | QA |
| 5 | XSS in comment rendering | public/comments.ts | 10 | QA (frontend) |
| 6 | Missing RBAC on admin | middleware/auth.ts | 16 | PM+QA |
| 7 | N+1 query in dashboard | services/analytics.ts | 13 | Dev |
| 8 | Race condition in assign | models/task.ts | 12 | Dev |
| 9 | i18n key mismatch vi/en | public/i18n/*.json | 15 | QA (i18n) |
| 10 | Missing error boundary | public/app.ts | 17 | Dev+QA |
| 11 | No rate limiting on API | middleware/rateLimit.ts | 16 | QA (security) |
| 12 | Magic numbers burndown | services/burndown.ts | 13 | Dev+QA |
| 13 | Landing CTA broken link | public/landing.html | 18 | Business |
| 14 | Pricing calc off-by-one | services/pricing.ts | 19 | PM+QA |
| 15 | Memory leak websocket | services/realtime.ts | 17 | Dev+QA |
🔧 AI Tools — So Sánh
| Tính Năng | Google Antigravity | Cursor | Claude Code + Cowork |
|---|---|---|---|
| Loại | CLI Agent | IDE (VS Code fork) | CLI + Team workspace |
| Tốt nhất cho | Power users, automation | Visual coding, refactoring | Team collaboration |
| AI Model | Gemini 2.5 | Multi-model | Claude Sonnet/Opus |
| CodyMaster | ✅ Native (.gemini/) | ✅ Via .cursorrules | ✅ Via CLAUDE.md |
| Chi phí | Free tier generous | $20/mo Pro | $20/mo Pro |
| Team use | Scripts + skills | Shared rules | Cowork built-in |
| Dùng khi | Ch 2-20 (primary) | Ch 2 (alt setup) | Ch 12+ (team features) |
Cấu Trúc Thư Mục
courses/teamwork-coding/
├── SYLLABUS.md ← This file
├── chapters/
│ ├── 01-ai-era/ ← Each chapter
│ │ └── index.md
│ ├── 02-setup-tools/
│ │ └── index.md
│ ├── ... (20 chapters)
│ └── 20-retrospective/
│ └── index.md
├── teamflow-app/ ← Central project
│ ├── src/
│ │ ├── models/
│ │ ├── routes/
│ │ ├── middleware/
│ │ └── services/
│ ├── public/
│ ├── test/
│ ├── prisma/ ← Supabase schema
│ └── package.json
└── assets/ ← Course images, diagrams