All posts
Cursor + Claude Code — Workflow vibe-coding mới 2026 ⚡
Hai trường phái
Cursor — AI tích hợp vào IDE (VS Code fork). Composer agent code multi-file, Tab autocomplete cực mượt.
Claude Code — AI agent chạy trong terminal, có quyền đọc/sửa/tạo file, run command, git operations. Background mode autonomous.
Khi nào dùng Cursor
- Code interactive, cần feedback từng dòng
- Pair với người khác, screen share
- Cần Tab completion cực nhanh
- File-by-file refactor có review từng diff
Khi nào dùng Claude Code
- Task agent autonomous (vd "fix all TypeScript errors in src/")
- Long-running task không cần xem từng bước
- Multi-step workflow: pull → migrate → test → commit → push
- Headless / CI integration (Claude Code có SDK)
Vibe-coding stack 2026 (cá nhân mình)
- Cursor cho code thường ngày, refactor, viết feature mới
- Claude Code cho task agent batch (vd fix lint, regen types, update docs)
- GitHub Copilot Chat ở mobile (đang đi đường, code nhẹ)
Cost
- Cursor Pro: $20/tháng (Claude 4 Sonnet unlimited)
- Claude Code: $200/tháng (Max plan, recommended cho power user)
- Copilot Business: $19/user/tháng
Total stack ~$240/tháng. Trade-off OK cho dev pro vì tiết kiệm 10-20h/tuần.