Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器clawhub未标认证来源可访问clear审计提醒

gstack-reviewgstack 评论

Agent Skill

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

总安装

7,292

周安装

299

GitHub Stars

公开资料未说明

下载量

2,305
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install gstack-review

简介

上线前公关审查工具,识别 SQL 注入与 LLM 信任边界风险。

  • 适用于代码合并前的安全扫描与副作用分析。
  • 通过分支差异比较发现潜在条件竞争问题。
  • 使用前请开启静态分析与动态插桩检测。gstack-review 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 建议建立红蓝对抗演练机制强化防御能力。

SKILL.md

name
review
description
|

AskUserQuestion Format

When asking the user a question, format as a structured text block for the message tool:

  1. Re-ground: State the project, current branch, and the current plan/task. (1-2 sentences)
  2. Simplify: Plain English a smart 16-year-old could follow. Concrete examples. Say what it DOES.
  3. Recommend: RECOMMENDATION: Choose [X] because [one-line reason]. Include Completeness: X/10.
  4. Options: A) ... B) ... C) ...

Completeness Principle — Boil the Lake

AI-assisted coding makes marginal cost of completeness near-zero:

  • If Option A is complete and Option B saves modest effort — always recommend A.
  • Prefer complete option even if only ~70 lines more (costs seconds with AI coding).

Completion Status Protocol

  • DONE — All steps completed.
  • DONE_WITH_CONCERNS — Completed with issues to note.
  • BLOCKED — Cannot proceed.
  • NEEDS_CONTEXT — Missing info.

Step 0: Detect base branch

  1. gh pr view --json baseRefName -q .baseRefName
  2. If no PR: gh repo view --json defaultBranchRef -q .defaultBranchRef.name
  3. Fall back to main.

Pre-Landing PR Review

Analyze the current branch's diff against the base branch for structural issues that tests don't catch.

Step 1: Check branch

  1. git branch --show-current — if on base branch, output "Nothing to review — you're on the base branch" and stop.
  2. git fetch origin <base> --quiet && git diff origin/<base> --stat — if no diff, stop.

Step 1.5: Scope Drift Detection

  1. Read TODOS.md (if exists). Read PR description: gh pr view --json body --jq .body 2>/dev/null || true. Read commit messages: git log origin/<base>..HEAD --oneline.
  2. Identify stated intent — what was this branch supposed to accomplish?
  3. Run git diff origin/<base> --stat and compare files changed against stated intent.

Evaluate:

  • SCOPE CREEP: Files unrelated to intent, new features not in plan, "while I was in there" changes.
  • MISSING REQUIREMENTS: Requirements from TODOS/PR not addressed, partial implementations.

Output before main review:

Scope Check: [CLEAN / DRIFT DETECTED / REQUIREMENTS MISSING]
Intent: <1-line summary of what was requested>
Delivered: <1-line summary of what diff actually does>
[If drift: list each out-of-scope change]
[If missing: list each unaddressed requirement]

Step 2: Read the checklist

Read .claude/skills/review/checklist.md. If cannot be read, STOP and report error.

Step 3: Get the diff

git fetch origin <base> --quiet
git diff origin/<base>

Step 4: Two-pass review

Apply checklist in two passes:

  1. Pass 1 (CRITICAL): SQL & Data Safety, Race Conditions & Concurrency, LLM Output Trust Boundary, Enum & Value Completeness
  2. Pass 2 (INFORMATIONAL): Conditional Side Effects, Magic Numbers & String Coupling, Dead Code & Consistency, LLM Prompt Issues, Test Gaps, View/Frontend

Enum & Value Completeness requires reading code OUTSIDE the diff. When the diff introduces a new enum value, grep all files referencing sibling values, then check if new value is handled.

Step 4.5: Design Review (conditional)

Check if diff touches frontend files using native shell:

SCOPE_FRONTEND=false
git fetch origin "<base>" --quiet 2>/dev/null
for ext in ts tsx js jsx vue svelte css scss less sass styl pcss postcss png jpg jpeg gif svg webp ico woff woff2 ttf eot; do
  if git diff origin/"<base>" --name-only 2>/dev/null | grep -qiE "\.${ext}$"; then
    SCOPE_FRONTEND=true
    break
  fi
done

If SCOPE_FRONTEND=false: Skip silently.

If SCOPE_FRONTEND=true:

  1. Read DESIGN.md or design-system.md if exists.
  2. Read .claude/skills/review/design-checklist.md. If not found, skip with note.
  3. Read each changed frontend file (full file, not just diff hunks).
  4. Apply design checklist. Classify: [HIGH] mechanical CSS fix → AUTO-FIX, [HIGH/MEDIUM] design judgment → ASK, [LOW] intent-based → "Possible — verify visually."
  5. Include findings in review output under "Design Review" header.
  6. Log result for Review Readiness Dashboard.

Step 5: Fix-First Review

Output: Pre-Landing Review: N issues (X critical, Y informational)

5a: Classify each finding

AUTO-FIX or ASK per Fix-First Heuristic in checklist.md.

5b: Auto-fix all AUTO-FIX items

Apply each fix directly. Output one-line summary per fix: [AUTO-FIXED] [file:line] Problem → what you did

5c: Batch-ask about ASK items

If ASK items remain, present in ONE question:

  • List each with number, severity label, problem, recommended fix
  • Options: A) Fix as recommended B) Skip
  • Include overall RECOMMENDATION

If 3 or fewer ASK items, individual questions allowed.

5d: Apply user-approved fixes

Output what was fixed. If no ASK items, skip question entirely.

Verification of claims

  • If claiming "this pattern is safe" → cite specific line proving safety
  • If claiming "handled elsewhere" → read and cite handling code
  • If claiming "tests cover this" → name test file and method
  • Never say "likely handled" or "probably tested" — verify or flag as unknown.

Step 5.5: TODOS cross-reference

Read TODOS.md. Cross-reference PR against open TODOs:

  • Does this PR close any open TODOs? Note which.
  • Does this PR create work that should become a TODO? Flag as informational.
  • Are there related TODOs providing context for this review? Reference them.

Step 5.6: Documentation staleness check

For each .md file in repo root:

  1. Check if code changes in diff affect features described in that doc.
  2. If doc NOT updated but code it describes WAS changed → INFORMATIONAL: "Documentation may be stale: [file] describes [feature] but code changed in this branch."

Step 5.7: Codex review (optional)

Check if Codex CLI is available:

which codex 2>/dev/null && echo "CODEX_AVAILABLE" || echo "CODEX_NOT_AVAILABLE"

If CODEX_NOT_AVAILABLE: skip silently.

If available, send via message tool:

Codex is an independent code review tool from OpenAI. Want an adversarial challenge of this plan?

Options: A) Yes — let Codex critique the plan B) No — proceed without Codex

If user chooses A, use the browser tool to open the plan file and describe the approach. Codex can be invoked via codex exec if installed locally.

Important Rules

  • Read the FULL diff before commenting.
  • Fix-first, not read-only. AUTO-FIX applied directly. ASK items need user approval.
  • Be terse. One line problem, one line fix. No preamble.
  • Only flag real problems.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

OpenClaw

80.46%
按下载量换算1,855

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

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

来源信息

继续浏览同类 Skills