Advanced Skills — Công cụ nâng cao

Bộ skills chuyên biệt cho các tác vụ phức tạp: debug có hệ thống, predict impact, generate scenarios, audit security.

Bảng tham chiếu nhanh


/ck-debug — Debug có hệ thống

Khác với /fix (fix nhanh), /ck-debug bắt buộc tìm root cause trước khi sửa.
1

Bước 1: Reproduce

Xác nhận bug có thể reproduce. Thu thập evidence.
2

Bước 2: Isolate

Thu hẹp phạm vi — module nào, function nào, condition nào.
3

Bước 3: Root cause

Xác định nguyên nhân gốc, không phải triệu chứng.
4

Bước 4: Fix + Verify

Sửa root cause. Viết test để prevent regression.

/ck-predict — 5 Experts Debate

5 expert personas tranh luận về proposed changes trước khi implement:

/ck-scenario — Generate Edge Cases

Phân tích feature qua 12 dimensions để generate comprehensive test scenarios:

/ck-security — STRIDE + OWASP Audit

Scan code cho:
  • STRIDE: Spoofing, Tampering, Repudiation, Information disclosure, DoS, Elevation
  • OWASP Top 10: Injection, broken auth, XSS, SSRF, v.v.

/ck-code-review — Deep code review từ 5+ personas

Reviews từ: Architect, Security expert, Performance expert, UX specialist, DevOps, Accessibility. Output: Per-expert feedback + consolidated report + auto-fixes.

/ck-loop & /ck-autoresearch — Iterative Optimization

Chạy N iterations, mỗi iteration learn từ kết quả trước.

/ck-graphify — Semantic graph of codebase

Output:
  • Dependency graph (files → imports)
  • Architecture diagram (modules → relationships)
  • Coupling analysis (highly coupled areas)
  • SVG/PNG visualization
Khi dùng: Architecture review, refactoring planning, onboarding new team members.

Khi nào dùng / không dùng