Tiện ích Dev — Công cụ hỗ trợ hàng ngày

Các tiện ích giúp quản lý phiên làm việc, theo dõi tiến độ, safety gates, và tối ưu trải nghiệm với Claude Code.
Cập nhật bộ claudekit mới: Thêm /checkpoint (save state), /guard (prevent bad commits), /freeze//unfreeze (lock codebase), /careful (require confirmation trước destructive ops). Xem cấu trúc skill mới để biết đầy đủ.

Bảng tham chiếu nhanh


/context-engineering

Quản lý context window — kiểm tra usage, tối ưu token consumption:
Output:
  • Current token usage / limit
  • Time remaining trong session
  • Suggestions tối ưu (clear history, compress context)

/coding-level

Set trình độ coding để Claude điều chỉnh explanations phù hợp:

/watzup — Wrap up session

Tổng hợp công việc đã làm trong session hiện tại:
Output:
  • Files changed (created/modified/deleted)
  • Tests status
  • Commits tạo trong session
  • Next steps suggested

/retro — Weekly Retrospective

Phân tích commit history và work patterns:
Output:
  • Commit frequency, file change patterns
  • Code quality metrics (churn, complexity)
  • What went well / what to improve
  • Suggestions cho tuần sau

/checkpoint — Save session state

Lưu session state (context snapshot) để resume sau:
Output:
  • Session ID + timestamp
  • Context snapshot (files, variables, state)
  • Lưu trong plans/checkpoints/
Khi dùng: Handoff to teammate, resume next day.

/journal — Technical Journal

Viết journal entry ghi nhận decisions, learnings:
Journals lưu trong plans/ hoặc docs/journal/ — giúp team track context và decisions.

/guard — Safety gate before commit

Prevent bad commits — typecheck + lint + test check trước commit:
Checks:
  • Typecheck (tsc)
  • Lint (eslint)
  • Tests (run critical tests)
  • No secrets (scan for .env, API keys)
Output: PASS/FAIL + block commit nếu fail. Khi dùng: Trước commit, prevent broken code landing.

/freeze — Lock codebase (readonly)

Freeze codebase để prevent changes — chỉ cho phép reads:
Output:
  • Codebase locked / unlocked
  • All write operations blocked when frozen
Khi dùng: Production hotfix in progress, critical moment.

/careful — Require confirmation on destructive ops

Require confirmation trước mọi high-risk operations (reset, force push, delete):
Checks:
  • git reset --hard → confirm trước
  • git push --force → confirm + require reason
  • rm -rf → confirm targets
  • Destructive refactors → confirm scope
Khi dùng: High-risk codebases, when need extra caution.

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