Dev Workflow — ClaudeKit Engineer

ClaudeKit Engineer cung cấp 86 skills17 agents tự động phối hợp, giúp dev từ ý tưởng đến ship code production.
ClaudeKit Engineer chỉ chạy trên Claude Code CLI. Không hỗ trợ web app, desktop app, hay IDE extension.

Luồng phát triển tổng thể


Cây quyết định: Dùng lệnh nào?

Dùng sơ đồ dưới đây để chọn đúng lệnh cho tình huống của bạn:
Bạn muốn làm gì?

├─ Tạo tính năng mới?
│   ├─ Phức tạp, cần thiết kế kỹ → /plan → review → /cook
│   ├─ Trung bình, rõ requirements → /cook "mô tả"
│   ├─ Nhỏ, fix nhanh → /cook:auto:fast "mô tả"
│   └─ Nhiều modules độc lập → /cook:auto:parallel "mô tả"

├─ Sửa bug?
│   ├─ Không rõ nguyên nhân → /fix "mô tả bug"
│   ├─ Bug đơn giản, biết chỗ → /fix:fast
│   ├─ Bug phức tạp, nhiều files → /fix:hard
│   ├─ Tests đang fail → /fix:test
│   ├─ CI/CD bị lỗi → /fix:ci
│   ├─ TypeScript errors → /fix:types
│   └─ UI/CSS bị vỡ → /fix:ui

├─ Review code?
│   ├─ Review changes hiện tại → /code-review
│   ├─ Review 1 PR cụ thể → /code-review #123
│   ├─ Review 1 commit → /code-review abc1234
│   └─ Pre-landing review → /review

├─ Chạy tests?
│   ├─ Chạy test suite → /test
│   └─ Generate tests mới → /test-gen

├─ Khám phá codebase?
│   ├─ Tìm files, hiểu cấu trúc → /scout
│   └─ Debug error có hệ thống → /debug "error"

└─ Tạo dự án mới?
    └─ /bootstrap

3 Cách implement tính năng

/plan "mô tả ý tưởng"      # Tạo plan chi tiết
# Review plan...
/cook                       # Implement theo plan
Tốt nhất cho tính năng phức tạp, cần thiết kế kỹ.

Các nhóm lệnh chính

Plan

/plan, /plan:fast, /plan:hard — Lập kế hoạch từ ý tưởng. Có research agents chạy song song.

Cook

/cook, /cook:auto, /cook:auto:fast — Implement tính năng end-to-end: plan, code, test, review.

Fix

/fix, /fix:fast, /fix:hard, /fix:test — 8 sub-commands sửa bug theo loại.

Code Review

/code-review, /review — Review 3 stage: spec compliance, quality, adversarial.

Test

/test, /test-gen — Chạy tests, đo coverage, generate tests tự động.

Skill Mechanism

4 layers: SKILL.md, command.md, agent.md, hooks — cách chúng phối hợp.

Research

/research — Nghiên cứu giải pháp kỹ thuật, trade-off analysis.

Understand

/understand — Knowledge graph, code analysis, onboarding guide.

Thinking Tools

/sequential-thinking, /brainstorm, /problem-solving — Tư duy có hệ thống.

Docs

/docs, /llms — Tự động tạo và cập nhật documentation.

MCP

/mcp-builder, /mcp-management — Xây dựng MCP servers.

Git & Ship

/git, /worktree, /ship — Git workflow và deploy.

Advanced Skills

ck-debug, ck-predict, ck-scenario, ck-security — Skills nâng cao.

Tiện ích

/watzup, /retro, /journal, /context-engineering — Hỗ trợ hàng ngày.

Workflow đầy đủ: Từ ý tưởng đến production

1

Lập kế hoạch

/plan "mô tả tính năng"
ClaudeKit spawn research agents song song để tìm hiểu codebase, sau đó planner tạo plan chi tiết với file list, steps, dependencies.
2

Review plan

Đọc plan trong ./plans/, kiểm tra:
  • Đúng requirements?
  • Architecture hợp lý?
  • Steps đúng thứ tự?
3

Implement

/cook                    # Implement theo plan đã tạo
Cook tự động: code, test, review, cập nhật docs.
4

QA kiểm tra

/qa-full:check           # Kiểm tra tests
/qa-full:accept docs/prd/F05.md  # Nghiệm thu theo PRD
5

Ship

/ship                    # Merge main, test, bump version, push

Danh sách lệnh đầy đủ — ClaudeKit Engineer

Nhóm Plan — Lập kế hoạch

LệnhMô tả
/plan "task"Lập kế hoạch thông minh (có research agents chạy song song)
/plan:fast "task"Lập kế hoạch nhanh (không research, chỉ phân tích)
/plan:hard "task"Lập kế hoạch sâu (research nhiều, phân tích kỹ)
/plan:two "task"Tạo 2 phương án so sánh (research + 2 approaches)
/plan:parallel "task"Plan chi tiết với phases chạy song song
/plan:cro "url"Plan CRO cho content/trang cụ thể
/plan:ciPhân tích GitHub Actions logs + plan fix

Nhóm Cook — Implement tính năng

LệnhMô tả
/cook "task"Implement đầy đủ (plan + code + test + review)
/cook:auto "task"Auto-plan + implement (“trust me bro”)
/cook:auto:fast "task"Nhanh nhất — scout, plan & implement ngay
/cook:auto:parallel "task"Plan parallel phases + execute với fullstack agents

Nhóm Fix — Sửa bug

LệnhMô tả
/fix "bug"Fix bug (intelligent routing — tự detect loại)
/fix:fastFix bug đơn giản, nhanh
/fix:hardFix bug phức tạp (dùng subagents plan + fix)
/fix:testChạy test suite + fix failing tests
/fix:ciPhân tích GitHub Actions logs + fix
/fix:typesFix TypeScript type errors
/fix:uiFix UI/UX issues
/fix:logsPhân tích logs + fix issues
/fix:parallelFix issues với parallel fullstack agents

Nhóm Code — Code trực tiếp

LệnhMô tả
/code "task"Code trực tiếp theo plan có sẵn
/code:autoAuto code + test theo plan (“trust me bro”)
/code:parallelExecute phases theo plan structure (parallel/sequential)
/code:no-testCode theo plan, không chạy test

Nhóm Test — Testing

LệnhMô tả
/testChạy test suite
/test-genTự động sinh test cases cho components/functions

Nhóm Review & Ship

LệnhMô tả
/code-reviewReview code chất lượng (security, performance, correctness)
/reviewPre-landing PR review (SQL safety, LLM prompt, config)
/shipShip workflow: merge main, test, review diff, bump version

Nhóm Explore & Debug

LệnhMô tả
/scoutScan/explore codebase nhanh
/scout:extScout bằng external agentic tools (Gemini/OpenCode)
/debug "error"Debug error có hệ thống

Nhóm Bootstrap — Tạo dự án mới

LệnhMô tả
/bootstrapScaffold project từ đầu (interactive)
/bootstrap:autoBootstrap tự động
/bootstrap:auto:fastBootstrap nhanh
/bootstrap:auto:parallelBootstrap với parallel execution

Nhóm Skill Management

LệnhMô tả
/skill:createTạo agent skill mới
/skill:updateCập nhật skill hiện có
/skill:optimizeTối ưu skill
/skill:optimize:autoTối ưu skill tự động
/skill:addThêm reference files/scripts vào skill
/skill:fix-logsFix skill dựa trên logs.txt

Nhóm Tiện ích

LệnhMô tả
/watzupXem recent changes + wrap up phiên làm việc
/retroRetrospective: phân tích commit history, work patterns

17 Agents tự động phối hợp

planner → researcher (parallel) → coder → tester
→ code-reviewer → docs-manager → project-manager
Khi bạn chạy /cook, các agent tự động:
  1. Planner lập kế hoạch
  2. Researcher (nhiều agents song song) tìm hiểu codebase
  3. Coder viết code
  4. Tester viết và chạy tests
  5. Code Reviewer review code
  6. Docs Manager cập nhật tài liệu
  7. Project Manager tổng hợp kết quả

Danh sách đầy đủ 17 agents

AgentVai trò
plannerLập kế hoạch implementation
researcherTìm hiểu codebase, patterns, dependencies
architectThiết kế architecture, database schema
coderViết code production
fullstack-developerFull-stack implementation (frontend + backend)
testerViết unit/integration/e2e tests
qa-engineerQA chuyên biệt, edge cases
code-reviewerReview code quality
security-auditorKiểm tra bảo mật
performance-optimizerTối ưu hiệu suất
docs-managerCập nhật documentation
project-managerTổng hợp, báo cáo tiến độ
debuggerDebug errors chuyên sâu
devops-engineerCI/CD, deployment, infra
database-adminSchema design, migrations, queries
ui-developerFrontend UI/UX implementation
api-developerAPI design & implementation

So sánh: ClaudeKit Engineer vs chat trực tiếp

Tiêu chíClaudeKit EngineerChat trực tiếp với Claude
PlanningCó research agents song song, scope challenge, cross-plan detectionTự nghĩ plan trong 1 message
Implementation7-step workflow bắt buộc: plan, code, test, review, docsCode thẳng, dễ bỏ sót test/review
Bug fixing6 bước: scout, diagnose, assess, fix, verify, preventFix triệu chứng, không root cause
Code review3 stage: spec compliance, quality, adversarial red-teamReview 1 lượt, thiếu adversarial
TestingBắt buộc viết test, đo coverage, fix loopCó thể bỏ qua tests
DocumentationTự động cập nhật docs sau mỗi featurePhải nhắc thủ công
Quality controlHard gate: không code nếu chưa plan, không ship nếu chưa reviewKhông có gate nào