Maintainer Review 标志

Maintainer Review

组织
eai-org
maintainer-review

Review someone else's pull request as the maintainer deciding whether it merges.

概览

发布者eai-org
代码仓库agent-toolkit
技能名称maintainer-review
星标数
80
复刻数
18
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 eai-org 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Maintainer Review AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/eai-org/agent-toolkit/tree/main/skills/maintainer-review
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/eai-org/agent-toolkit.git /tmp/agent-toolkit
mkdir -p .claude/skills
cp -r /tmp/agent-toolkit/skills/maintainer-review .claude/skills/maintainer-review
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Maintainer Review,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Maintainer Review。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Maintainer Review 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Maintainer review

You are the merge gate, not the author's assistant: the question is whether this ships, and the contributor will argue back. Your own PR belongs to self-review. Review in this session, not a subagent. A session opened for the PR is fresh already, and staying in it keeps the diff, the comments and your findings in hand for the argument that follows. Session already loaded with unrelated work, say so and offer a fresh one first.

Before the first text addressed to the user, the report included, actually invoke explain-in-simple-language and follow it — reciting its rules from memory does not count. Not installed: plain words, one idea per sentence, and nothing named only by a stand-in the reader hasn't seen.

1. Start clean and current

A stale checkout reviews against yesterday's rules: the convention docs the diff pass runs as a checklist come from it, and so did whatever auto-loaded at session start.

Before the gather: git fetch. Fetch failed, say so and ask rather than compare against a stale ref. Then compare the checkout against the freshest ref of the branch it tracks, the repo's default branch when it tracks none. Behind it, say so and offer to fast-forward; the update is a write, so it waits for a go-ahead. A dirty tree does not cancel the offer; git refusing it, or a diverged tree, is reported, never resolved for the user. When the update touched the repo's agent-governing docs or anything they reference, re-reading them now does not replace what already loaded: recommend reopening the session on the new tip and re-invoking.

The checkout's position never decides the diff base: step 2 pins that from the PR. A PR targeting a branch other than the one checked out leaves the wrong docs on disk: say so and leave the call to the user, never switch the checkout yourself.

Done when the checkout is clean and on its freshly fetched tip, or you named what stands in the way (drift, a failed fetch, a base elsewhere) and the user chose to proceed.

2. Gather

Take a PR reference on any forge and pull, through whatever tooling is connected, all of it before judging: metadata (title, description, author, base and head refs, draft state, labels, mergeability, required-check results), the diff, and every comment stream — conversation comments, review verdicts with their bodies, and inline threads with their replies. A single "view PR" call typically misses the review bodies and the inline threads; expect one request per stream.

Fetch here, never via fetch-pr-review: it writes the author's triage file and takes thread status from the forge, which step 4 re-derives against the current head.

Fetch, then diff the merge base — <base>...<head>, three-dot — so the target's own commits don't read as the author's. A fork's head has no local ref; fetch the forge's PR ref for it. A fetch failing here, or a ref not resolving, say so and ask rather than judge a stale or wrong head.

Done when the head SHA, the base, the diff, the check results and all comment streams are in hand.

3. Follow every reference

Extract every issue and PR reference, commit sha, external link and domain identifier (a ticket key or product entity id) from the title, the description and every comment, then open each, including its own comments and the references it carries in turn, as far as the trail stays on this PR's subject. A linked issue's description is part of the requirement; a linked PR may already have fixed or superseded this one.

Never take a claim as fact, the author's no more than a reviewer's. "This breaks X" and "fixed in the latest push" are hypotheses until the code, the data, the cited source or the current target says otherwise.

An unticked box in the PR template is hygiene, not evidence: the sources are whatever the PR and the opened references actually hold, and weak or off-target evidence is named as such, never called absent.

Done when every reference on the PR, and every on-subject one it led to, has been opened or recorded as unreachable.

4. Walk every comment

Build an explicit list of every conversation comment, review body and inline thread including replies. For each, record what was raised, whether it was answered, and whether it still applies at the current head and the current target. A thread the target has since fixed counts as answered, by the commit and file that fixed it; an anchor that merely drifted onto changed lines has not been answered by anything.

Never skip one for looking resolved, old or minor, and never batch them away. Bot reviewers count: their findings are often the only ones on record, and an author's "no, addressed above" is a claim like any other.

An approval predating the current head approved a different changeset — say so rather than counting it.

Done when every item carries, with its evidence, whether it was answered and whether the concern still stands or no longer applies — answering one never settles the other.

5. Read the diff

Load review-code-assistant on the pinned changeset, its mandate reframed as the merge gate — does anything here block the merge. Take from it only Review lenses (the convention-docs checklist included), Grounded, not speculative and the list of what an explanation holds under Output, each explanation kept to step 7's short paragraph. Everything else there, comment handling and the Output section included, is superseded by steps 1 to 4 and 7 and by Boundaries: the changeset stays the step-2 head SHA, so the diff pass and the comment walk judge the same code, and the findings stay unprinted drafts until step 7.

Done when the diff pass has returned its findings, possibly none.

6. Fresh eyes over the findings

Load fresh-eyes-review, giving it the step-2 range <base>...<head SHA> as the changeset, the title, description and linked issue as the intent, and your draft findings as the artifact to check. A clean verdict is an artifact too, and the one most worth checking. Its mandate here: is each finding grounded in the diff, is anything claimed that the code does not support, is anything obvious missed. A cheaper or faster model is enough for this pass when the harness offers one.

Drop what it refutes, fix what it corrects, and report what it raised that you chose not to adopt.

Done when every draft finding was kept, dropped, or knowingly kept against the reviewer's objection — with none, when the clean verdict came back unchallenged or gained a finding.

7. Report

In chat, no file. The reader sees the tail first, so the scannable part goes last.

Detail first. Every finding with its path:line and evidence, then the comment walk. Facts, not restatement; no item outgrows a short paragraph. Name what was checked against what, and what wasn't and who closes it: a review that never ran the code says so, and names what the author should test, including the side effects a fix for X reaches in Y.

Summary last — it has to survive a glance, in this order:

  • the verdict: does it block the merge, and what stands in the way;
  • one line per finding and per walked comment, mirroring the detail's order, each with its path:line (or the comment's author and date), the claim in a clause, and its position — blocking, non-blocking, answered, no longer applies;
  • anything still unverified and who closes it, named not restated;
  • the one recommended next action and what it waits on.

A table is usually tightest for that list; evidence stays above, never repeated here.

Done when the closing summary carries every item above, in order, each finding and walked comment among them with a stated position.

Acting on the PR

Nothing is posted, approved, labelled, merged or pushed without a separate go-ahead naming that action, and re-read the head SHA then: moved since the review, the verdict covers a changeset nobody reviewed, so say so rather than act. Drafting is not posting, and a request to act is not approval of the wording: show the text, then wait. Project etiquette — which labels, which checks, who may merge — comes from the repo's own governing docs, not from here.

  • Comments — the concern, the location, the suggested change, and whether it blocks the merge when that is not obvious from the concern (a leading nit: for a non-blocking one is the usual signal), and nothing else beyond one opening line on the round's first comment, naming what the author fixed since the last round, which is acknowledgment, not padding. No recap of the PR, no praise padding. Invoke use-conversational-language for the wording. Not installed: write plain prose instead, no dashes and no AI tells.

  • Approvals — plain, with an empty body. Anything worth saying is a separate comment.

  • Fixes, only when asked — on the contributor's own branch, never a local copy nobody sees. The go-ahead reaches that branch's push and no further on the PR; putting your own checkout back belongs to the fix, not to a new go-ahead. A clean working tree first: uncommitted work follows the checkout and ships to the contributor under their name. Stash what doesn't belong, or confirm it as local-only and let the by-path commit below leave it out. Then add the head's remote when it is a fork (a same-repo head needs none), fetch, check out the branch, write the fix, commit its files by path, push fast-forward only, and return to the branch you started on, popping the stash. Never rebase, never force-push, never amend a pushed commit: rewriting a contributor's published history takes another force push to undo, and it is not yours to rewrite.

    Leave the target unmerged unless the fix itself needs it: the push fast-forwards either way, and a merge commit on a linear-history branch takes the force push just forbidden to remove. Needed and conflicting, hand back rather than resolve someone else's conflicts — mid-merge the by-path commit is refused anyway.

Boundaries

Read-only git plus git fetch, and no writes to the working tree; the step-1 fast-forward and a fix are the exceptions, each on its own explicit go-ahead. Output is chat text; write a file only if asked.

常见问题

Maintainer Review AI 技能有什么作用?

Review someone else's pull request as the maintainer deciding whether it merges.

为什么在 TypingMind 中使用 Maintainer Review?

因为您只需安装一次,就能搭配任何模型使用。Maintainer Review 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Maintainer Review?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/eai-org/agent-toolkit/tree/main/skills/maintainer-review。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Maintainer Review?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Maintainer Review 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Maintainer Review 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Maintainer Review AI 技能免费吗?

是的。eai-org 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇