Iblai Vibe Pr Review 标志

Iblai Vibe Pr Review

组织
iblai
iblai-vibe-pr-review

按照维护者的方式,审查或重新审查 iblai/vibe 仓库中的一个或一组拉取请求:重跑未添加标签的 PR 会跳过的 CI 检查,验证每项检查都可能失败,对照固定版本的 SDK、实时 API 架构和实际 API 行为核实每项声明,打开查看每张截图,并为每个 PR 起草一条以结论收尾的评论。用户要求审查、重新审查、检查或批准 vibe PR 时使用。仅供维护者使用,不提供给构建者;各步骤的注意事项见 references/known-traps.md。

Add to TypingMind

概览

发布者iblai
代码仓库vibe
技能名称iblai-vibe-pr-review
星标数
229
复刻数
8
附带文件
1
许可协议MIT
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 1 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

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

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

/iblai-vibe-pr-review

Review a pull request on iblai/vibe, or a stack of them, and draft one comment per PR that ends in a verdict. This skill is for maintainers of this repository: it is a real directory in .claude/skills/ (the other entries there link into skills/), it is marked metadata.internal, and it is not in the catalogue, so builders who install vibe never receive it.

Read references/known-traps.md once before your first review: every step below exists because one of those traps was hit.

Ground rules

  • Read, never write. Do not push to the author's branch or edit their files. Draft the comments, show them, and post only when the person who asked for the review says so.
  • This repository is public. A comment never carries a token, an org key, an email, an internal hostname, or a file path or class name from a private repository. Cite SDK behaviour by published package, version and export, and backend behaviour by route, status code and error text. Permalinks into this repository or iblai/os at a commit SHA are fine.
  • Prove before you report. A check whose failure looks the same as its negative result is not a check. Before writing "X is absent", "never called" or "not exported", show that the place you searched exists and that the same search finds something you know is there.
  • Verify every mechanism, including a sub-agent's or another reviewer's: the diagnosis must be able to produce the failure it claims, and the suggested fix must change the outcome.
  • Every review ends with a verdict: a final ## Verdict saying Approved (no blocking defect; a merge prerequisite is a caveat under the verdict, not a reason to withhold it) or Changes requested (naming the blocking items and nothing else). Say so plainly when it is a self-review, and that it does not replace another maintainer's.

Step 1: Scope

bash
gh pr view <n> -R iblai/vibe \
  --json number,title,author,baseRefName,headRefName,headRefOid,labels,isDraft,files
gh pr list -R iblai/vibe --author <login> --state open \
  --json number,title,baseRefName,headRefOid,updatedAt
  • A stack is a set of PRs whose base is another PR's branch. Review the base first: everything reaches main through it. Notes about merge order and conflicts go in the base PR's comment; siblings point to it.
  • A re-review starts from your last comment and the head it reviewed: gh api repos/iblai/vibe/compare/<old-head>...<new-head> shows only the new commits, and every prior item gets a line saying whether and how it was fixed.
  • The SDK version under review is the one vibe-starter pins: skills/start/iblai-vibe-ops-init/assets/vibe-starter/package.json at the PR head. Check its pnpm-workspace.yaml for overrides: too: an override can pin a package below what @iblai/iblai-js would resolve.

Step 2: Get the heads without touching your checkout

bash
git fetch --no-write-fetch-head origin refs/pull/<n>/head   # objects only: no ref, no FETCH_HEAD
git worktree add --detach /tmp/vibe-pr-<n> <head-sha>        # a scratch tree for the gates
# … Steps 3 to 5 …
git worktree remove --force /tmp/vibe-pr-<n>

In plan mode, ask before creating the scratch tree; gh pr diff <n> is enough for a first read.

Step 3: Run the gates CI skipped

skills-ci runs only on PRs labelled run-tests. On an unlabelled PR every job reports skipped and the PR page still looks green:

bash
gh api repos/iblai/vibe/commits/<head-sha>/check-runs \
  --jq '.check_runs[] | "\(.name)=\(.conclusion // .status)"'

Ask a maintainer to add the label, or run the deterministic job yourself in the scratch tree. .github/workflows/skills-ci.yml is the source of truth if this list drifts:

bash
cd /tmp/vibe-pr-<n>
bash scripts/validate-skills.sh
node scripts/check-sdk-pins.mjs
node scripts/check-links.mjs                 # network; compare a red with main
node scripts/check-endpoint-schema.mjs       # downloads the live schema: minutes
node scripts/check-skill-tables.mjs
node scripts/check-skill-kinds.mjs
node scripts/test-skills-compose.mjs
node scripts/build-adapters.mjs && git status --short adapters/            # must print nothing
node scripts/build-catalogue.mjs && git diff --exit-code docs/catalogue.md  # no CI gate runs this
# These install vibe-starter's dependencies; run them when the PR touches skill code or the starter:
node scripts/test-skills-render.mjs --skills <touched>   # add --build if vibe-starter changed
node scripts/test-skills-boot.mjs

Compare every red result with the same command on main before blaming the PR, and say in the comment what you did not run.

Prove each gate can fail. Plant one fault per gate in the scratch tree, watch the gate go red, then git checkout -- . && git clean -fd:

GatePlantExpect
adapters, cataloguechange a touched skill's description:two stale adapters and a catalogue diff
validate-skills.shdelete a skill's name: linemissing name
check-skill-kinds.mjskind: bananaunknown kind
check-skill-tables.mjsraise a README.md folder-table count by onethe row disagrees with skills/
check-sdk-pins.mjspnpm add @iblai/iblai-js@^0.0.1 in a fencepin drift
check-endpoint-schema.mjsa curl to https://api.iblai.app/dm/api/ai-mentor/orgs/$IBLAI_ORG/bogus/ in a kind: api skillpath not in schema

A stack also needs the pairwise conflict matrix against the base PR's head:

bash
git merge-tree --write-tree --name-only --merge-base=<base-head> <head-a> <head-b>   # exit 1 = conflict

Then reason about identical edits, which git merges silently: two siblings that each raise the same count by one land one short. Conflicts in generated files (adapters/, docs/catalogue.md) are resolved by regenerating.

Step 4: Check every claim

The gates check shape, not truth. Read every changed SKILL.md and test what it says:

  • SDK names. Every @iblai/iblai-js/* import, prop and type exists in the pinned version. Ask the @iblai/mcp server (get_component_info, get_api_query_info, get_hook_info) or read the installed .d.ts under node_modules/.pnpm/@iblai+*/… (rg -uu: rg skips node_modules). Follow an export to the package entry, not to a folder index. The .d.ts can lag the bundle.
  • Providers and grants. A component that reads a context throws, or renders nothing, outside its provider. A component gated on per-agent RBAC grants shows nothing until the app loads them. Check the skill says where both come from in vibe-starter.
  • Endpoints. check-endpoint-schema.mjs reads only literal https://api.iblai.app/dm/… URLs in kind: api skills. Check ui skills' "How it saves" tables and every relative path by hand against the live schema (https://api.iblai.app/dm/api/docs/schema/?format=json; its info.version is what production runs).
  • Behaviour. The schema says nothing about side effects, defaults, ignored fields or who may call a route, and it is wrong in places (see references/known-traps.md). Prefer, in order: the SDK's types, the backend source if you can read it, a call against a demo organization. A "Verified against the live schema" line inside a skill goes stale and proves nothing about behaviour; ask for it in the PR body instead.
  • vibe-starter and OS claims. "The starter's chat page has X": read that file at the PR head. "The OS mounts it the same way": read iblai/os main, and check whether the OS change is still an open PR.
  • Inherited lines. A PR that stamps a file "Verified", or makes it another skill's twin, owns the errors already in it.

For a stack of more than three PRs, give each PR (or slice) to a sub-agent with this skill, then verify every finding yourself before it goes in a comment.

Step 5: Open every screenshot

The gates check names, sizes and references, never pixels:

bash
head=<head-sha> base=<base-head> out=/tmp/vibe-pr-<n>-shots
mkdir -p "$out"
for p in $(git diff --name-only --diff-filter=AM "$base...$head" -- '*.png'); do
  git show "${head}:${p}" > "$out/${p##*/}"
done

Open each one and look for: internal hostnames (link targets, endpoint lists, address bars), stack traces or server paths, test fixtures (e2e-*, pagination-test-*, keyboard-mash names), real emails or names, tokens or org keys, the Next.js dev overlay (captures come from pnpm build && pnpm start), and empty or clipped panels: an empty SDK panel is often a missing-grants bug, not a quiet organization. Conventions: docs/screenshots/README.md. A deleted or renamed PNG breaks installed copies of the released skill text, which link through refs/heads/main; ask to keep the old file for a release.

Step 6: Draft the comments

One comment per PR, short:

markdown
Review against `@iblai/iblai-js` <version> (web-containers <version>), the production backend and its live OpenAPI schema (<info.version>). CI skipped every job (no `run-tests` label), so I ran the deterministic gates on this head: <list> pass, each proven to fail on a planted fault. Not run: <list>. All new screenshots viewed.

## Blocking

- [`SKILL.md:40-50`](<permalink at the head SHA>): what is wrong, what happens to a reader who follows it (input → wrong result), the fix in a clause.

## Should fix

## Nits

## Verdict

**Changes requested.** Blocking: <the blocking items, one line>.
  • Blocking means a reader who follows the skill gets a broken build, a failing call, a leak, or a broken install. Everything else is should-fix or a nit.
  • Each finding names its line and a failure scenario.
  • A re-review comment is ## Resolved (each prior item, where it is fixed, how you checked), ## Nits (new ones only) and ## Verdict.

Post when asked, with a quoted heredoc so $VARS and backticks survive, then hand back the URLs:

bash
gh pr comment <n> -R iblai/vibe --body-file - <<'EOF'
…
EOF
gh api "repos/iblai/vibe/issues/<n>/comments?per_page=100" --jq '.[-1].html_url'

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Iblai Vibe Pr Review AI 技能有什么作用?

按照维护者的方式,审查或重新审查 iblai/vibe 仓库中的一个或一组拉取请求:重跑未添加标签的 PR 会跳过的 CI 检查,验证每项检查都可能失败,对照固定版本的 SDK、实时 API 架构和实际 API 行为核实每项声明,打开查看每张截图,并为每个 PR 起草一条以结论收尾的评论。用户要求审查、重新审查、检查或批准 vibe PR 时使用。仅供维护者使用,不提供给构建者;各步骤的注意事项见 references/known-traps.md。

为什么在 TypingMind 中使用 Iblai Vibe Pr Review?

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

如何在 TypingMind 中安装 Iblai Vibe Pr Review?

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

哪些 AI 模型可以使用 Iblai Vibe Pr Review?

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

Iblai Vibe Pr Review 可以搭配多少个 AI 模型使用?

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

Iblai Vibe Pr Review AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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