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

asyncreviewasyncreview 搜索

Agent Skill

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

总安装

1,788

周安装

76

GitHub Stars

434

下载量

626
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/asyncfuncai/asyncreview --skill asyncreview

简介

用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词或任务需求快速定位候选结果。

  • 它支持 GitHub PR 审查、代码变更反馈和功能影响验证,可自动提取 Issue 内容并生成结构化问答。
  • 使用时需提供 GEMINI_API_KEY 和 GITHUB_TOKEN(私有仓库时),通过 gh 工具获取 PR/Issue URL,再调用技能进行深度分析。
  • 安装前请确认是否具备 GitHub 访问权限,并评估是否会触发网络请求或令牌写入,避免安全风险。
  • asyncreview 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

AsyncReview CLI

When to use this skill

Use this skill when the user:

  • Asks to review a GitHub pull request
  • Wants AI feedback on code changes in a PR
  • Needs to check if a PR breaks existing functionality
  • Asks questions about a GitHub issue or PR
  • Wants to verify if something was missed in a code change

How to use this skill

  1. Check prerequisites — Verify GEMINI_API_KEY is set
  2. Check if repo is private — Use gh repo view to determine if GITHUB_TOKEN is required
  3. Set GITHUB_TOKEN if needed — Use gh auth token for private repos
  4. Get the PR/Issue URL — Ask user if not provided
  5. Formulate a question — Convert user's request into a specific question
  6. Run the review command — Execute npx asyncreview review --url <URL> -q "<question>"
  7. Present the results — Share the AI's findings with sources

Prerequisites

1. Check for GEMINI_API_KEY (Required)

Before running any command, check for GEMINI_API_KEY:

echo $GEMINI_API_KEY

If empty or not set, ask the user to provide their Gemini API key:

"AsyncReview requires a Gemini API key. Please set GEMINI_API_KEY in your environment or provide it now."

Then set it:

export GEMINI_API_KEY="user-provided-key"

2. Check if Repository is Private (Critical)

IMPORTANT: Before reviewing a PR/Issue, you MUST check if the repository is private. If it is, GITHUB_TOKEN is REQUIRED.

Step 1: Extract owner and repo from URL

From a URL like https://github.com/owner/repo/pull/123, extract:

  • owner: owner
  • repo: repo

Step 2: Check repository visibility

Option A: Using GitHub CLI (if available)

gh repo view owner/repo --json isPrivate -q '.isPrivate'

Option B: Without GitHub CLI (using curl)

# Try to access the repo via GitHub API without authentication
curl -s -o /dev/null -w "%{http_code}" https://api.github.com/repos/owner/repo

Possible outcomes:

  • With gh:

- true → Repository is private, GITHUB_TOKEN is REQUIRED - false → Repository is public, GITHUB_TOKEN is optional - Error (e.g., "not found") → May indicate private repo without auth, or repo doesn't exist

  • With curl:

- 200 → Repository is public, GITHUB_TOKEN is optional (but recommended for higher rate limits) - 404 → Repository is private or doesn't exist, GITHUB_TOKEN is REQUIRED - 403 → Rate limited, need GITHUB_TOKEN

Step 3: If private, ensure GITHUB_TOKEN is set

# Check if GITHUB_TOKEN is already set
echo $GITHUB_TOKEN

If empty or not set, obtain it using one of these methods:

Option A: Using GitHub CLI (if available)

# Get token from GitHub CLI (must be authenticated with `gh auth login` first)
export GITHUB_TOKEN=$(gh auth token)

# Verify it's set
echo $GITHUB_TOKEN

If gh auth token fails, authenticate first:

gh auth login

Option B: Without GitHub CLI (create token via web)

  1. Go to GitHub: https://github.com/settings/tokens
  2. Click "Generate new token""Generate new token (classic)"
  3. Give it a descriptive name (e.g., "AsyncReview CLI")
  4. Select scopes:

- ✅ repo (Full control of private repositories)

  1. Click "Generate token"
  2. Copy the token (you won't see it again!)
  3. Set it in your terminal:
export GITHUB_TOKEN="ghp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

# Verify it's set
echo $GITHUB_TOKEN

Security tip: For better security, consider creating a fine-grained token with minimal permissions:

Then run the review with the token:

npx asyncreview review --url <URL> -q "question" --github-token $GITHUB_TOKEN

Or set it as an environment variable for the session:

export GITHUB_TOKEN=$(gh auth token)
npx asyncreview review --url <URL> -q "question"

Quick start

npx asyncreview review --url <PR_URL> -q "question"   # Review a PR
npx asyncreview review --url <PR_URL> --expert        # Expert code review
npx asyncreview review --url <PR_URL> --output markdown     # Markdown output

Core workflow

  1. Get PR URL from user
  2. Run review with specific question
  3. Read the step-by-step reasoning output
  4. Model can fetch files outside the diff autonomously

Commands

Review

npx asyncreview review --url <url> -q "question"      # Review with question
npx asyncreview review --url <url> -q "q" --output markdown # Markdown output
npx asyncreview review --url <url> -q "q" -o json     # JSON output

URL formats supported:

  • https://github.com/owner/repo/pull/123
  • https://github.com/owner/repo/issues/456

Environment variables

GEMINI_API_KEY="your-key"         # Required: Google Gemini API key
GITHUB_TOKEN="ghp_xxx"            # Optional: For private repos / higher rate limits

Example: Review a PR

npx asyncreview review \
  --url https://github.com/stanfordnlp/dspy/pull/9223 \
  -q "Does this change break any existing callers?"

Output shows:

  • Step number
  • 💭 Reasoning (what the AI is thinking)
  • 📝 Code (Python being executed)
  • 📤 Output (REPL result)
  • Final answer with sources

Example: Check if feature exists elsewhere

npx asyncreview review \
  --url https://github.com/owner/repo/pull/123 \
  -q "Fetch src/utils.py and check if deprecated_func is still used"

The AI will:

  1. Search for the file path
  2. Fetch the file via GitHub API
  3. Analyze content in the Python sandbox
  4. Report findings with evidence

Example: Review a Private Repository PR

Complete workflow for private repositories:

# Step 1: Extract owner/repo from URL
# URL: https://github.com/myorg/private-repo/pull/42
# owner="myorg", repo="private-repo"

# Step 2: Check if repository is private

## Option A: With GitHub CLI
gh repo view myorg/private-repo --json isPrivate -q '.isPrivate'
# Output: true (it's private!)

## Option B: Without GitHub CLI (using curl)
curl -s -o /dev/null -w "%{http_code}" https://api.github.com/repos/myorg/private-repo
# Output: 404 (likely private or doesn't exist)

# Step 3: Ensure GITHUB_TOKEN is set
echo $GITHUB_TOKEN

## If empty, Option A: Get from GitHub CLI
export GITHUB_TOKEN=$(gh auth token)

## If empty, Option B: Create via web (https://github.com/settings/tokens)
## Then:
export GITHUB_TOKEN="ghp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

# Step 4: Run the review with the token
npx asyncreview review \
  --url https://github.com/myorg/private-repo/pull/42 \
  -q "Does this PR introduce any security vulnerabilities?" \
  --github-token $GITHUB_TOKEN

# Alternative: Token is already in environment, no flag needed
npx asyncreview review \
  --url https://github.com/myorg/private-repo/pull/42 \
  -q "Does this PR introduce any security vulnerabilities?"

If you get a 404 or authentication error: The repository is likely private, and you need to provide GITHUB_TOKEN.

Output formats

FormatFlagDescription
Pretty(default)Rich terminal output with boxes
Markdown--output markdown or -o markdownMarkdown formatted
JSON--output json or -o jsonMachine-readable

Expert Code Review

Use --expert flag for comprehensive PR reviews covering SOLID principles, security, performance, and code quality:

# Full expert review (no question needed)
npx asyncreview review --url <PR_URL> --expert

# Expert review with additional custom question
npx asyncreview review --url <PR_URL> --expert -q "Also check for breaking API changes"

Expert review analyzes:

  • SOLID Principles - SRP, OCP, LSP, ISP, DIP violations
  • Security - XSS, injection, auth gaps, race conditions, secrets
  • Code Quality - Error handling, N+1 queries, boundary conditions
  • Removal Candidates - Dead code, unused imports

Output includes:

  • Severity-tagged findings (P0 Critical → P3 Low)
  • Suggested fixes for P0/P1 issues
  • Overall assessment: APPROVE / REQUEST_CHANGES / COMMENT

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

33.01%
按下载量换算207

Claude

31.45%
按下载量换算197

Cursor

18.84%
按下载量换算118

Gemini CLI

9.47%
按下载量换算59

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

未通过

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills