Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计异常

ai-reviewAI 评论

Agent Skill

ai-review 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

349

周安装

15

GitHub Stars

1

下载量

122
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:ai-review(AI 评论)
来源仓库:https://github.com/zawlinnnaing/ai-review-cli
仓库路径:skills/ai-review
安装命令:
npx skills add https://github.com/zawlinnnaing/ai-review-cli --skill ai-review
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/zawlinnnaing/ai-review-cli --skill ai-review

简介

ai-review 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词快速获取候选结果。

  • 它支持基于任务场景或来源线索的信息聚合,适用于研究工作流中的资料收集环节。
  • 通过 npx skills add 命令从 GitHub 仓库安装,具体用法需结合 README 进一步确认。
  • 建议在安装前核实权限范围、维护状态及潜在的网络或文件访问行为。
  • ai-review 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

MR Review Skill

Review a GitLab Merge Request and optionally post inline comments.

Arguments

$ARGUMENTS — Optional GitLab MR URL (e.g. https://gitlab.com/group/repo/-/merge_requests/123). If not provided, ask the user.

Workflow

Step 1 — Verify CLI

ai-review --version

If not found, tell the user to run npm install -g. inside the ai-review-cli repo and stop.

Step 2 — Check credentials

cat ~/.ai-review/credentials.json

If the file is missing or has no gitlab key, tell the user to run ai-review configure gitlab and stop.

Step 3 — Obtain and validate the MR URL

Use $ARGUMENTS if it starts with http. Otherwise ask the user. Validate the URL matches: https://<host>/<namespace>/<repo>/-/merge_requests/<number>.

Step 4 — Fetch MR context

ai-review get-context <MR_URL>

Writes to ~/.ai-review/mr-context.json. On non-zero exit, surface the error code clearly:

  • CREDENTIALS_NOT_FOUND → run ai-review configure gitlab
  • INVALID_URL → ask user to check the URL
  • API_ERROR → show the message

Step 5 — Analyse and generate review

Read ~/.ai-review/mr-context.json and analyse every changed file as a senior engineer. Focus on:

  • Bugs — logic errors, off-by-one, null/undefined handling
  • Security — injection flaws, hardcoded secrets, improper auth
  • Performance — unnecessary loops, N+1 queries, excessive allocations
  • Correctness — wrong types, missing edge cases, incorrect API usage
  • Readability — confusing naming, overly complex logic
  • Test coverage — untested branches, missing assertions

Diff lines are annotated as [oldLine:newLine]. Use newLine as the line field. Only comment on lines inside the changed hunks.

Write the review to ~/.ai-review/review-output.json:

{
  "description": "A concise Markdown summary of the MR: what changed, why, and any significant design decisions or risks observed.",
  "comments": [
    {
      "file": "path/to/file.ts",
      "line": 42,
      "severity": "critical",
      "comment": "Concise, actionable explanation and suggested fix."
    }
  ]
}

The description field must always be populated. It should be a Markdown-formatted summary covering:

  • What changed — a high-level summary of the modifications
  • Why — inferred intent or purpose of the changes
  • Notable details — any significant design decisions, potential risks, or things reviewers should know

Severity levels:

LevelWhen to use
criticalSecurity vulnerability, data loss risk, or definite bug
warningPerformance issue, error handling gap, or bad practice
suggestionReadability, minor style, or optional improvement

If there are no issues, write {"comments": []} and tell the user the MR looks clean.

Step 6 — Validate output

ai-review validate-output ~/.ai-review/review-output.json

On failure, inspect the error, fix the JSON, and re-validate before continuing.

Step 7 — Present summary

Print counts by severity and the top findings (up to 5):

Review complete: 2 critical, 3 warning, 4 suggestion

Top findings:
• [critical] src/auth.ts:88 — JWT secret without fallback validation
• [warning]  src/api.ts:102 — Missing error handling on external HTTP call

Step 8 — Ask whether to post

Ask the user which minimum severity to post:

  1. suggestion — all comments
  2. warning — warnings and critical only
  3. critical — critical only
  4. No — skip (default)

If the user provides no input or presses Enter without selecting an option, default to option 4 (skip) and do not post any comments.

If 1–3:

ai-review post-comments <MR_URL> --input ~/.ai-review/review-output.json --severity <level>

Report how many were posted and how many skipped.

Step 9 — Ask whether to update MR description

Ask the user:

The review includes an MR description summary. Do you want to post it as the MR description on GitLab? (y/N)

Default is No — do not update the description unless the user explicitly answers y or yes.

If yes:

ai-review post-description <MR_URL> --input ~/.ai-review/review-output.json

Confirm success or surface any error returned.

Notes

  • All output files live under ~/.ai-review/ and are overwritten on each run.
  • Credentials in ~/.ai-review/credentials.json are keyed by hostname; multiple GitLab instances are supported.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.53%
按下载量换算46

Claude

27.97%
按下载量换算34

Cursor

20.42%
按下载量换算25

Gemini CLI

9.12%
按下载量换算11

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

未通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills