Logo Review Anvil Improve Pr

Review Anvil Improve Pr

Cộng đồng
mrshu
review-anvil-improve-pr

Quy trình rà soát và cải thiện PR GitHub theo kiểu đa tác nhân: áp dụng các commit sửa lỗi lên nhánh cục bộ, đẩy chúng lên PR và phản hồi bằng nhận xét trên PR. Dùng khi người dùng muốn “cải thiện một PR”, “rà soát và commit các bản sửa”, “lặp lại quy trình trên PR của tôi” hoặc “rà soát và đẩy lại” một nhánh PR đã checkout; PR được tự động phát hiện nếu không cung cấp thông tin định vị. Kích hoạt engine `review-anvil` ở chế độ per_fix.

Tổng quan

Nhà phát hànhmrshu
Kho mãagent-skills
Tên kỹ năngreview-anvil-improve-pr
Sao
22
Bản fork
5
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 dùng hướng dẫn viết bằng Markdown thay vì 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ộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    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 mrshu công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Review Anvil Improve Pr 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 của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/mrshu/agent-skills/tree/main/plugins/review-anvil/skills/review-anvil-improve-pr
  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/mrshu/agent-skills.git /tmp/agent-skills
mkdir -p .claude/skills
cp -r /tmp/agent-skills/plugins/review-anvil/skills/review-anvil-improve-pr .claude/skills/review-anvil-improve-pr
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 Review Anvil Improve Pr 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ự nạp Review Anvil Improve Pr 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 bạn có thể dùng Review Anvil Improve Pr với cả những mô hình khác ngoài mô hình ban đầu. 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 khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổ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.

review-anvil-improve-pr

Productive counterpart to review-anvil-pr. Where review-anvil-pr is read-only and posts a review comment, this preset actually modifies the code: it announces itself on the PR up front, runs the review loop with commit_mode=per_fix, applies fix commits to the local branch across requested rounds plus any adaptive continuation, pushes the result back to update the PR, then edits the starting comment in-place with the synthesized report (or a failure summary) — one comment in the PR timeline, two states.

Generated Language

Apply the ASD-STE100-inspired language contract to this preset. Use direct imperatives for internal steps. Use short active declarative sentences in PR comments. Keep inline diagnoses unlabeled and put requested work under Suggestions:, with one bullet per independently implementable change. Default to starting required work with its action verb. Keep no-change constraints in prose, suggestion grammar for low/nit guidance, and questions for genuinely unresolved choices.

The skill orchestrates six steps:

  1. scripts/pr-helper.sh verify-checkout [<locator>] — locator parsing or auto-detect, then verify the local checkout matches the PR's head branch and is in a clean state. Captures the PR's base branch, author, marker UUID, and report path.
  2. scripts/pr-helper.sh post-start — post a "starting" top-level PR comment cc'ing the original author, explaining what's about to happen and that the comment will be edited with the final summary. Captures the comment's ID (for the later edit) and start timestamp. The author gets a GitHub notification.
  3. The review-anvil engine in commit_mode=per_fix on a branch-vs-base diff (NOT a PR-locator target — the engine's "PR-target / per_fix incompatibility" rule forbids that combination; this preset deliberately routes around it by targeting the local branch directly). The engine writes the final synthesized report to report_path — on failure paths too.
  4. git push — once, after requested rounds plus any adaptive continuation complete (or converge early) and only if the engine reported no failures and the build/test gate ended green, to publish the fix commits to the PR.
  5. scripts/pr-helper.sh post-update — PATCH-edit the starting comment to replace its body with the full final report (outcome=success) or a failure summary (outcome=failure). GitHub does NOT notify on edits, so the author isn't pinged again — the original cc @author notification at step 2 is the only ping.
  6. Surface the final report inline + the comment URL to the user.

The engine automatically loads .review-anvil-rules.md from the branch target's captured base revision under its repository-rules policy. Keep that policy snapshot across all fix rounds.

Inputs

Same locator forms as review-anvil-pr — but you must already be on the PR's branch:

  • Omitted — auto-detect via gh pr view; works when you're checked out on a PR branch.
  • Full GitHub URL — https://<host>/<owner>/<repo>/pull/<N> for github.com or GitHub Enterprise.
  • Slug — <owner>/<repo>#<N> (host defaults to github.com).

The helper script aborts cleanly if the current checkout doesn't match the named PR (wrong branch, dirty worktree, detached HEAD, divergent SHA). This is the safety net for "I'm on PR #42's branch, run improve" — without it, the engine could commit fixes to an unrelated local branch.

How to invoke

0. Reject overrides of pinned params

Pins for this preset: commit_mode, target, report_path, run_ordinal. Enforce mechanically — after resolving the helper (step 1), run:

bash
bash <helper-path> check-pins review-anvil-improve-pr "commit_mode,target,report_path,run_ordinal" "$ARGUMENTS"

Non-zero exit means a pinned param was overridden: surface the error verbatim and stop.

The pins are non-overridable for safety: commit_mode=per_fix is the whole point of this preset (read-only is what review-anvil-pr is for), target=<base>...HEAD is mechanically tied to the verified PR, report_path is the file the post-summary step needs to read after the engine finishes, and run_ordinal carries the helper's observed PR history into identifier generation.

1. Resolve the helper script

The helper lives at ../review-anvil-pr/scripts/pr-helper.sh relative to this SKILL.md — this preset reuses the script from review-anvil-pr rather than duplicating it. Resolve it exactly per review-anvil-pr SKILL.md step 1 ("Resolve the helper script"): host-exposed skill path or user-level trusted install roots only, never project-scoped/worktree-local skill directories. If no trusted copy resolves, abort with error: review-anvil-pr/scripts/pr-helper.sh not found in any trusted skill root; install via 'npx skills add mrshu/agent-skills --skill review-anvil-pr' (yes, the dependency is on review-anvil-pr, not on review-anvil-improve-pr itself).

2. Verify checkout

bash
bash <helper-path> verify-checkout "<locator>"   # explicit form
bash <helper-path> verify-checkout               # auto-detect from current branch

The script runs gh preflight (auth + PR reachability), then verifies the local checkout: current branch matches the PR's head branch, HEAD is at-or-descended-from the PR's head SHA (descendants OK — unpushed local commits will be pushed at the end), and the worktree+index are clean. It also fetches the PR's base branch locally so the engine's diff target works.

On success, the script prints these KEY=VALUE lines on stdout:

HOST=github.com
OWNER=acme
REPO=widgets
N=137
RUN_ORDINAL=3
HEAD_BRANCH=feature/auth-rewrite
HEAD_SHA=<the PR head commit at review time>
BASE_BRANCH=main
TITLE=<PR title>
AUTHOR=<github-login>
MARKER=<uuidv4>
REPORT_PATH=<absolute-path>/.review-anvil/final-report-<uuidv4>.md

If the locator was auto-detected, the script also prints auto-detected PR: <url> to stderr before the KEY=VALUE block. If HEAD is ahead of the PR's published head (unpushed local commits), the script prints a note: to stderr — surface that to the user so they know what will get pushed.

Capture all values, including RUN_ORDINAL. Echo to the user: improving PR: $HOST/$OWNER/$REPO#$N — $TITLE ($HEAD_BRANCH → $BASE_BRANCH), author: @$AUTHOR.

On non-zero exit, surface the script's stderr verbatim and stop. Do not dispatch reviewers.

Then fetch the PR's complete status-aware review history for the reviewer prompts:

bash
bash <helper-path> history "$HOST" "$OWNER" "$REPO" "$N"

Capture the output — an itemized open/resolved/outdated/reported/suppressed ledger, or None. — for step 4. On non-zero exit, abort: every PR run must account for feedback already shown to the author.

The helper resolves RUN_ORDINAL during this preflight, before step 3 posts the starting comment. The unfinished current starting comment therefore cannot count itself as a finalized review run.

3. Post the "starting" comment

Before any review work begins:

bash
bash <helper-path> post-start "$HOST" "$OWNER" "$REPO" "$N" "$MARKER" "$AUTHOR"

The script creates a top-level PR comment that:

  • Embeds the marker UUID (for later lookup if needed).
  • Begins review-anvil-improve-pr started on this PR. cc @<author>.
  • Explains what's about to happen and that the comment will be edited with the final result.
  • Includes a Started: <ISO-8601 UTC> timestamp.

Then it looks up the comment by marker (with one retry for read-after-write lag), captures the comment ID + URL, and prints these KEY=VALUE lines:

COMMENT_ID=12345678
COMMENT_URL=https://github.com/acme/widgets/pull/137#issuecomment-12345678
STARTED_AT=2026-06-07T10:00:00Z

Capture all three. Echo to the user: starting comment posted: $COMMENT_URL. The PR author receives a GitHub notification from the @-mention.

If post-start fails before posting (network blip, gh auth issue), abort — nothing to clean up. One failure mode is different: the script can die after posting, when the marker lookup can't recover the comment ID ("posted starting comment but could not recover its ID"). In that case a starting comment does exist on the PR — abort the run and apply the Recovery procedure below to edit it manually.

4. Activate the engine

Activate the review-anvil skill with this argument string (extra user args go after the pinned params; the engine's own rounds: 3 default and its diff-size-scaled max_rounds cap apply when the user doesn't pass them):

commit_mode: per_fix, target: <BASE_BRANCH>...HEAD, report_path: <REPORT_PATH>, run_ordinal: <RUN_ORDINAL>, <extra-user-args>

<BASE_BRANCH>, <REPORT_PATH>, and <RUN_ORDINAL> come from step 2. Using <BASE_BRANCH>...HEAD (three-dot diff) targets exactly the commits that distinguish this PR from its base. Pinning report_path makes the engine write the final synthesized report to a file that step 6 (post-update) can read.

The user cannot override the observed value of run_ordinal. When RUN_ORDINAL is a positive integer, the engine includes the corresponding RUN segment in new provenance IDs. The value unavailable makes the engine emit IDs without the RUN segment; degraded history must not invent a run number.

Supply the ledger captured in step 2 as the engine's PR REVIEW HISTORY reviewer-prompt block — the branch target means the engine won't fetch it itself. Reviewers must revalidate open, resolved, and summary-only reported items against the current head; resolved is conversation state, not proof of a fix.

Note: do not pin a PR locator as target — the engine's "PR-target / per_fix incompatibility" rule would force commit_mode=none and defeat the point of this preset. Targeting the branch directly is the intended escape hatch.

The user may override rounds: or max_rounds: (defaults are the engine's rounds: 3 and its diff-size-scaled max_rounds cap — rounds plus 1–3 adaptive rounds, never above max(6, rounds)). They cannot override run_ordinal, commit_mode, target, or report_path; these are pinned for safety, and the step-0 segment-rejection above blocks override attempts.

The engine runs the multi-round loop, committing fix-groups along the way and writing the final synthesized report to <REPORT_PATH> when it's done. The engine's default reproduction pass confirms uncertain material findings before they can become fix commits, and the build/test gate (verify_cmd, auto-detected unless the user passes one) runs after each round's fixes. Together, the report's Reproduction and Verification lines are the evidence the PR author needs to trust the pushed commits — if the engine recorded Verification: none detected, that caveat travels to the PR in the posted report. If reproduction fails for required candidates, those candidates are Deferred and the loop may still finish with other verified fixes. If any round fails (reviewer-all-fail, git-commit error, build/test gate newly red after the revert path), the engine stops the loop and surfaces the failure — skip the push (step 5) and call post-update with outcome=failure (step 6) so the starting comment gets replaced with a failure summary rather than dangling.

5. Push

Only after the engine reports a successful run: all requested rounds and any adaptive continuation completed (or the loop converged early — that counts as success), no git commit failed or all reviewers failed errors in the round summaries, and every round's Verification state is one of passed, failed → round reverted, pre-existing failures (no new), none detected, or skipped — i.e. never newly red (these are exactly the engine's round-summary states). Deferred reproduction candidates do not block the push by themselves; they also must not produce fix commits or actionable PR comments.

bash
git push origin "$HEAD_BRANCH"

If the engine's run was partial or failed, do not push. Go straight to step 6 with outcome=failure. The report file at <REPORT_PATH> contains the engine's final state including failure details; post-update will use it to populate the comment.

If the engine succeeded but git push fails (permission denied, conflict, etc.), the fix commits exist locally but didn't reach the PR. Still call step 6 with outcome=failure so the comment reflects the actual state. Tell the user the local commits remain in <HEAD_BRANCH> for them to investigate.

6. Update the comment with the final summary

Always run this step, regardless of step 4/5 outcome. Pass outcome=success only if both the engine and the push completed cleanly:

bash
bash <helper-path> post-update "$HOST" "$OWNER" "$REPO" "$N" "$COMMENT_ID" "$MARKER" "$REPORT_PATH" "$AUTHOR" "$OUTCOME" "$STARTED_AT"

On a success outcome the helper refreshes the full prior-feedback ledger before editing the comment. If lookup fails or the refreshed history changes the compact report's finding inventory, it changes the update to outcome=failure and explains why; it never publishes an unfiltered or internally stale success report, and it still avoids leaving a dangling "starting" comment. After the successful edit, it resolves entries from <REPORT_PATH>.resolutions.json only when the artifact's head_sha—local HEAD after the engine's final accepted fix commit—equals the live pushed PR head and the live open root carries the matching terminal review-anvil marker. A fixed/stale finding may resolve; an accepted author explanation also requires a live PR-author reply. It never resolves human-authored/non-anvil threads.

The improve workflow cannot publish GitHub inline review comments. On a successful update, after the prior-feedback refresh passes, the helper appends every processed inline body under one collapsed Finding details section. The visible report stays one headingless line with one or two neutral detection sentences, while collapsed full-detail tables and finding details retain the complete diagnoses and requested work. Failure updates never append inline bodies that skipped or failed that refresh. The helper otherwise posts the report body without shortening it. If GitHub rejects an unusually large payload, the update fails loudly and leaves the report artifact in place; the running agent should rewrite the report with the same findings, rationale, and actionable detail in a better organized form, then retry the update.

$OUTCOME is success or failure. The script PATCH-edits the starting comment identified by $COMMENT_ID. A successful update contains only the hidden marker plus the compact report, so its default view remains one headingless line of neutral detection prose and its review-anvil footer remains last. Completion state, author mention, start/completion times, and outcome stay inside collapsed Review context. A failure update may keep one visible review-anvil-improve-pr failed sentence before its failure report; its delivery metadata remains collapsed.

GitHub does not notify on comment edits, so the author isn't pinged again — the original cc @author notification from step 3 is the only ping.

Before calling post-update on a success outcome, read <REPORT_PATH>.followups.json (if present) and surface its entries to the user — the script deletes it afterwards. The script cleans up the six transient report artifacts (<REPORT_PATH>, .inline.json, .resolutions.json, .approval.json, .followups.json, .context.json) and removes their self-ignored .review-anvil/ directory when no other report artifacts remain. If delivery succeeds but thread resolution fails, it retains .resolutions.json; retry it with bash <helper-path> resolve "$HOST" "$OWNER" "$REPO" "$N" "<resolutions-path>". Retained proof bundles live in a separate host-created private directory outside the worktree and are unchanged.

If post-update itself fails (rare: transient gh issue, comment was deleted by hand mid-run), surface the error but do not undo the push — the fix commits are already on the PR and a missing comment edit is recoverable. The user can manually edit the starting comment using the comment ID. The report file remains on disk for that purpose (cleanup is skipped on post-update failure).

7. Report back

Surface the engine's final report inline. Echo a two-line summary:

  • pushed N commits to $HOST/$OWNER/$REPO#$N ($HEAD_BRANCH) with N from the pushed fix commits or the final report's collapsed Changes made list. If step 5 was skipped (failure path), say did not push (engine/run failure) instead.
  • comment $COMMENT_URL updated with outcome=$OUTCOME (or comment update failed: ... if step 6 errored).

Examples

  • "Improve the PR I'm on." — user is checked out on a PR branch; agent invokes verify-checkout with no locator; helper auto-detects.
  • "Run 5 rounds on acme/widgets#137." — user passes the slug and asks for more rounds; engine default is overridden via the trailing rounds: 5 arg.
  • "Review and improve this PR with focus on production safety." — user asks for a non-default focus; flows through as focus: production blast-radius (or similar) to the engine.

Constraints

  • Requires gh, uuidgen, jq (a real binary — gh's --jq is built-in gojq and doesn't count), plus uv (preferred; falls back to python3) for PR-feedback history handling. verify-checkout preflights all of these so a missing dependency fails before the expensive review. The helper honors the same environment switches as review-anvil-pr (REVIEW_ANVIL_NO_APPROVE, legacy-named REVIEW_ANVIL_SKIP_DISMISSED, REVIEW_ANVIL_DISMISSALS).
  • Mutates the local working tree and pushes to the PR. Use review-anvil-pr (read-only + comment) when you only want feedback without applying fixes.
  • The user must already be on the PR's branch with a clean worktree. The verify-checkout step enforces this and gives clear recovery instructions on failure (e.g. gh pr checkout <N>).
  • The PR must be one you have push access to. git push will fail with a normal git error if not — the script doesn't pre-check push permissions.
  • Supports github.com and GitHub Enterprise — same handling as review-anvil-pr.

Recovery: dangling "starting" comment

If the orchestrator crashes (or the agent host loses context, or the user interrupts) between step 3 and step 6, the PR is left with a "starting" comment that promises an edit-that-never-comes. The fix commits may or may not have been pushed depending on where the crash happened.

This is rare but recoverable. If you find a dangling starting comment:

  1. Find the comment URL on the PR. The body starts with <!-- review-anvil-marker: <UUID> --> and review-anvil-improve-pr started on this PR. The numeric comment ID is at the end of the URL (...#issuecomment-<ID>).
  2. Edit the comment manually with gh api:
    bash
    gh api repos/<owner>/<repo>/issues/comments/<COMMENT_ID> -X PATCH \
      -F body="review-anvil-improve-pr failed: orchestrator did not complete. No reliable summary available."
    Or use the GitHub web UI's "Edit" menu on the comment.

If the orchestrator is still alive and the engine completed but step 6 was somehow skipped, the report is still on disk at the path printed by step 4 — you can paste it into the edit body verbatim.

If the engine never ran (crash between steps 3 and 4), nothing was pushed; just edit the comment to a "did not complete" note as above.

Pairing

Depends on the review-anvil engine AND the review-anvil-pr preset (whose scripts/pr-helper.sh this skill reuses). All three ship in the same plugin and should be installed together (npx skills add mrshu/agent-skills --skill review-anvil --skill review-anvil-pr --skill review-anvil-improve-pr, or just --all).

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

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

Quy trình rà soát và cải thiện PR GitHub theo kiểu đa tác nhân: áp dụng các commit sửa lỗi lên nhánh cục bộ, đẩy chúng lên PR và phản hồi bằng nhận xét trên PR. Dùng khi người dùng muốn “cải thiện một PR”, “rà soát và commit các bản sửa”, “lặp lại quy trình trên PR của tôi” hoặc “rà soát và đẩy lại” một nhánh PR đã checkout; PR được tự động phát hiện nếu không cung cấp thông tin định vị. Kích hoạt engine `review-anvil` ở chế độ per_fix.

Vì sao nên dùng Review Anvil Improve Pr 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. Review Anvil Improve Pr 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 Review Anvil Improve Pr trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/mrshu/agent-skills/tree/main/plugins/review-anvil/skills/review-anvil-improve-pr. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để 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 Review Anvil Improve Pr?

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.

Có thể dùng Review Anvil Improve Pr 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 Review Anvil Improve Pr 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 Review Anvil Improve Pr có miễn phí không?

Kỹ năng này được mrshu 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 các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công 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à những tiêu chí mà kết quả cần đáp ứng. 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 👇