Logo Increment Review

Increment Review

Cộng đồng
dan-the-dev
increment-review

Fast, single-pass review of one just-finished increment — target under 60 seconds of work. Reads the new-increment mini-journal and that increment's diff only, checks against docs/code-review.md, and returns approved / changes-requested / bug-found with a short targeted fix brief. This is the default reviewer new-feature invokes after new-increment — not skills/refactoring directly. Use immediately after a new-increment run returns, before starting or continuing the next backlog line.

Tổng quan

Nhà phát hànhdan-the-dev
Kho mãxp-developer-skills
Tên kỹ năngincrement-review
Sao
33
Bản fork
1
Tệp đi kèm
Chỉ có hướng dẫn
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI là Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Đầy đủ trong hướng dẫn

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được dan-the-dev công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Increment Review trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/dan-the-dev/xp-developer-skills/tree/master/skills/increment-review
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/dan-the-dev/xp-developer-skills.git /tmp/xp-developer-skills
mkdir -p .claude/skills
cp -r /tmp/xp-developer-skills/skills/increment-review .claude/skills/increment-review
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Increment Review trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự tải Increment Review ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên Increment Review không bị giới hạn ở mô hình mà kỹ năng này được viết cho. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên kỹ năng chưa dùng không tốn chi phí.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Increment review (fast, single-pass)

Mission

Review only the commit(s) of the increment that just finished, using the mini-journal new-increment returned (recap + review-focus) as the map — do not re-derive intent from scratch. Decide once: approved, changes-requested (with a short, ready-to-paste fix brief), or bug-found (wrong behavior — out of scope for a refactor-only fix). Stop. There is no second review round on the same line: whatever new-feature does with the verdict, this skill runs once per increment.

Speed is the point: a full multi-minute audit defeats the purpose. Read the diff and the review-focus bullets first, run only the tests the review-focus points at (skip re-running what the mini-journal already reports green with a trivial diff), and write a compact report per docs/code-review.md.

This skill does not edit code. Fixes are delegated to skills/refactoring (structural/test-gap/design changes) via the brief this skill drafts, or to skills/bugfix (wrong behavior) — new-feature decides which to dispatch and whether to ask the user first.


Workflow

  1. Inputs (from new-feature): feature stem, backlog line / increment slug, commit SHA(s) for this increment, and the mini-journal (recap + review-focus) new-increment returned.
  2. Read git show <sha> / git diff for that commit only. Start with the files the review-focus bullets name.
  3. Test posture — trust the mini-journal's verification table by default; re-run a scoped test only when the diff touches something the review-focus flags as risky, or when no verification evidence was passed. Never run the full project suite here — that already happened in new-increment.
  4. Apply docs/code-review.md: structure/architecture fit, new-file test coverage, tests updated for changed pre-existing files, error handling on critical paths, Object Calisthenics / Simple Design on touched OO (docs/design-quality.md). Skip nits a linter/formatter would already catch.
  5. Decide (pick one):
    • approved — optionally with non-blocking nits.
    • changes-requested — quality/design/test-gap issue fixable under the refactor hat (no behavior change). Draft a refactor brief: 2–6 lines, ready to paste to refactoring verbatim.
    • bug-found — the code is wrong, not just untidy. Do not draft a refactor brief (refactoring must not change behavior) — name the bug and suggest bugfix.
  6. Return the report below and stop. Never touch the next backlog line, never apply the fix yourself.

Output format

markdown
## Increment review: <feature-stem> / <increment-slug>

Verdict: approved | changes-requested | bug-found

Commit(s): <sha>

What it does: <1-2 bullets, from the mini-journal>

Findings (changes-requested only):
1. <file:area> — <issue> — fix: <one short line>
2. …

Bug (bug-found only): <what's wrong and why it's a behavior bug, not a tidy-up> — route to bugfix.

Nits (optional, approved-with-comments): <bullets, non-blocking>

Refactor brief (changes-requested only — paste verbatim to `refactoring`):
<2-6 lines: goal, files, the specific change(s), "tests stay green, refactor hat only">

Keep every section to the fewest words that stay clear — per docs/code-review.md's own rule: be direct, don't pad.


Definition of done

  • Reviewed only this increment's commit(s) — no drive-by scan of unrelated files
  • Verdict is exactly one of approved / changes-requested / bug-found
  • changes-requested always carries a ready-to-paste refactor brief; bug-found never does
  • No file edited by this skill
  • No full-suite run initiated here
  • Report returned to new-feature; did not decide continue-vs-stop-vs-dispatch itself (that's new-feature's call)

Anti-patterns

  • Re-reviewing files outside the increment's diff "while here"
  • Running the full project test/lint suite to double-check what new-increment already verified
  • A second review pass after refactoring applies the fix — one review per increment, full stop
  • Drafting a refactor brief for a correctness bug (wrong hat — that's bugfix's job)
  • Vague findings ("could be cleaner") without a concrete file/fix
  • Padding the report with a full restatement of docs/code-review.md's checklist instead of applying it

Additional resources

Câu hỏi thường gặp

Kỹ năng AI Increment Review làm được gì?

Fast, single-pass review of one just-finished increment — target under 60 seconds of work. Reads the new-increment mini-journal and that increment's diff only, checks against docs/code-review.md, and returns approved / changes-requested / bug-found with a short targeted fix brief. This is the default reviewer new-feature invokes after new-increment — not skills/refactoring directly. Use immediately after a new-increment run returns, before starting or continuing the next backlog line.

Vì sao nên dùng Increment Review trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Increment Review là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Increment Review trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/dan-the-dev/xp-developer-skills/tree/master/skills/increment-review. TypingMind đọc tệp SKILL.md và cài đặt thành một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Increment Review?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Bạn có thể dùng Increment Review với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Increment Review với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Increment Review có miễn phí không?

Kỹ năng này được dan-the-dev phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp cho mô hình các công cụ mới để gọi — mã được chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và tiêu chí của đầu ra tốt. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇