Tìm Lệnh Phù Hợp
Hướng dẫn toàn diện để chọn command phù hợp dựa trên use case của bạn. Nếu không chắc chắn, gõ /ck-help để được hỗ trợ!
Sơ Đồ Quyết Định Tương Tác
Click vào bất kỳ node hoặc đường path nào để highlight lộ trình đến command. Hoặc click vào các command button ở trên để xem đường đi tương ứng.
Danh sách Commands
Chọn để xem đường dẫn
Click vào nút hoặc đường path để highlight lộ trình. Click vào command ở trên để xem path.
Khởi Tạo Dự Án Mới
| Command | Mô tả | Khi nào dùng |
|---|---|---|
/bootstrap | Khởi tạo dự án đầy đủ với research, tech stack, planning, design, implementation | Bắt đầu dự án hoàn toàn mới |
/docs:init | Phân tích codebase và tạo documentation | Tham gia dự án có sẵn hoặc setup docs |
Mẹo: New Project Flow: /bootstrap → tự động xử lý mọi thứ bao gồm Git init, tech stack research, wireframes và initial implementation.
Xây Dựng Feature
Chưa biết muốn gì
| Command | Mô tả | Khi nào dùng |
|---|---|---|
/brainstorm | Ideation với lời khuyên chuyên gia | Khám phá ý tưởng, validate approaches, xem pros/cons |
Quan trọng: /brainstorm KHÔNG implement - chỉ tư vấn. Sau khi brainstorm, dùng /plan hoặc /cook để implement.
Biết muốn gì
| Command | Mô tả | Khi nào dùng |
|---|---|---|
/cook | ⚡⚡⚡ All-in-one: research → plan → implement → test → review | FAST mode - Quick iterations, features đơn giản |
/plan | Tạo plan chi tiết không code | SAFE mode - Features phức tạp, cần approval trước |
/code @plan.md | Execute plan có sẵn từng bước | Sau khi /plan được approved |
Sự khác biệt chính:
• /cook = Tốc độ, plan nội bộ, straight to implementation
• /plan → /code = An toàn, tạo plan có thể review trước
Sửa Lỗi
Chẩn đoán trước
| Command | Mô tả | Khi nào dùng |
|---|---|---|
/debug | Phân tích và tìm root cause | Không biết lỗi gì |
/fix | Router thông minh tới các fix commands chuyên biệt | Biết issue, muốn fix nhanh |
Fix Commands chuyên biệt
| Command | Mô tả | Khi nào dùng |
|---|---|---|
/fix:types | Fix TypeScript/type errors | tsc errors, type mismatches |
/fix:ui | Fix UI/UX issues | Layout, styling, component bugs |
/fix:ci | Fix CI/CD pipeline issues | GitHub Actions, deployment failures |
/fix:test | Fix failing tests | Jest, Vitest test failures |
/fix:logs | Phân tích error logs | Stack traces, runtime errors |
/fix:fast | Quick fix cho issues đơn giản | Single file, straightforward bugs |
/fix:hard | Complex multi-component fixes | Architecture, refactoring issues |
/fix:parallel | Fix nhiều issues độc lập | 2+ unrelated bugs at once |
Smart Routing: Chỉ cần dùng /fix <mô tả issue> và nó sẽ tự động route tới command chuyên biệt phù hợp!
Git Operations
| Command | Mô tả | Khi nào dùng |
|---|---|---|
/git:cm | Stage all + commit (không push) | Lưu work locally |
/git:cp | Stage + commit + push | Sẵn sàng share changes |
/git:merge | Merge branches | Combine feature branch to main |
/git:pr | Tạo pull request | Request code review |
Documentation
| Command | Mô tả | Khi nào dùng |
|---|---|---|
/docs:init | Tạo documentation ban đầu cho dự án | Dự án mới/chưa có docs |
/docs:summarize | Tóm tắt các thay đổi codebase | Sau major changes |
/docs:update | Cập nhật documentation hiện có | Giữ docs đồng bộ |
Khám phá & Nghiên cứu
| Command | Mô tả | Khi nào dùng |
|---|---|---|
/scout | Tìm kiếm codebase song song nhanh | Tìm files liên quan cho task |
/scout:ext | Tìm kiếm mở rộng với Gemini 2M context | Khám phá codebase sâu |
/watzup | Review các thay đổi gần đây trong branch hiện tại | Wrap up work, hiểu recent commits |
Hỏi đáp & Học tập
| Command | Mô tả | Khi nào dùng |
|---|---|---|
/ask | Tư vấn kỹ thuật & kiến trúc | Cần advice về architecture, trade-offs |
/coding-level [0-5] | Đặt độ sâu giải thích | Tùy chỉnh responses theo experience |
Coding Levels:
• 0 = ELI5 (không biết code)
• 1 = Junior (0-2 năm)
• 2 = Mid-Level (3-5 năm)
• 3 = Senior (5-8 năm)
• 4 = Tech Lead (8-10 năm)
• 5 = God Mode (mặc định, hiệu quả tối đa)
Quản lý dự án
| Command | Mô tả | Khi nào dùng |
|---|---|---|
/kanban | Dashboard trực quan cho plans | Xem tiến độ plan, timeline visualization |
/preview | Universal markdown/directory viewer | Xem plans, docs dễ đọc |
/test | Chạy tests và phân tích kết quả | Verify code changes work |
Design Commands
| Command | Mô tả | Khi nào dùng |
|---|---|---|
/design:describe | Mô tả design từ image | Hiểu UI designs có sẵn |
/design:screenshot | Chụp screenshot của UI | Capture trạng thái hiện tại |
/design:video | Quay video UI flow | Document interactions |
/design:3d | Tạo 3D assets | Tạo visuals 3D |
/design:fast | Quick design iteration | Fast UI prototyping |
/design:good | High-quality design | Premium UI work |
Code Review
| Command | Mô tả | Khi nào dùng |
|---|---|---|
/review:codebase | Comprehensive codebase review | Quality assessment, tìm issues |
Các biến thể Planning
| Command | Mô tả | Khi nào dùng |
|---|---|---|
/plan | Auto-detect complexity | Planning chung |
/plan:fast | Quick planning cho tasks đơn giản | Small features, quick fixes |
/plan:hard | Deep planning với extensive research | Complex, multi-phase features |
/plan:parallel | Plan nhiều tasks độc lập | Nhiều features không liên quan |
/plan:validate | Validate và review plan có sẵn | Trước khi execution |
/plan:archive | Archive plan đã hoàn thành | Clean up finished work |
Common Workflows
Workflow 1: Build Feature (Safe)
1. /brainstorm → Khám phá options
2. /plan → Review plan
3. /clear hoặc /compact
4. /code @plan.md → Implement
5. /git:cp → Push
6. /git:pr → PR
Workflow 2: Build Feature (Fast)
1. /cook → Research → Plan → Implement → Test → Review
2. /git:cp → Commit và push khi approved
Workflow 3: Debugging & Fixing
1. /debug → Tìm root cause
2. /fix → Smart routing
3. /git:cm → Commit fix locally
Workflow 4: New Project Setup
1. /bootstrap → Full setup
2. Follow onboarding
Workflow 5: Tham gia dự án
1. /docs:init → Analyze codebase
2. /scout → Explore structure
Pro Tips
Speed vs Safety Trade-off:
• Dùng /cook khi confident và muốn speed
• Dùng /plan → /code khi precision và review quan trọng
Không mix workflows:
• ❌ /plan → /cook (cook có planning riêng)
• ✅ /plan → /code (flow đúng)
• ✅ /cook standalone (có internal planning)
Git safety:
• /git:cm = commit only (safe cho experimentation)
• /git:cp = commits VÀ pushes (không thể undo dễ dàng)
Độ phức tạp Commands
| Rating | Ý nghĩa | Ví dụ Commands |
|---|---|---|
| ⚡ | Simple, quick | /debug, /test |
| ⚡⚡ | Moderate | /brainstorm, /fix, /scout |
| ⚡⚡⚡ | Complex, thorough | /cook, /code, /plan |
| ⚡⚡⚡⚡ | Extended workflow | /docs:init |
| ⚡⚡⚡⚡⚡ | Full project scope | /bootstrap |
Cheat Sheet Tóm tắt
| Tình huống | Command |
|---|---|
| Build something mới hoàn toàn | /bootstrap |
| Có ý tưởng nhưng chưa biết approach | /brainstorm |
| Biết chính xác muốn gì, làm nhanh | /cook |
| Muốn plan kỹ trước khi code | /plan → /code |
| Có lỗi, không biết tại sao | /debug → /fix |
| Có lỗi, biết nguyên nhân | /fix |
| Cần lưu work | /git:cm hoặc /git:cp |
| Cần hiểu codebase | /docs:init |
| Cần advice kiến trúc | /ask |
| Có gì thay đổi gần đây? | /watzup |
| Xem plans trực quan | /kanban hoặc /preview |
| Mình mới học, giải thích dùng từ ngữ dễ hiểu chút nhé | /coding-level 1 |
| Cần help với ClaudeKit | /ck-help |
/ck-help → Full documentation/ck-help fix → Category guide cho fix commands/ck-help plan:hard → Chi tiết specific command/ck-help how to debug → Task-based recommendations