测试与安全

code-review

paulrberg/agent-skills

Use for code/PR review, audits, bug/security checks, reviewing diffs or changes, and finding issues in code.

  • 2014 次安装
  • 102 星标
  • 收录于

安装命令

npx skills add https://github.com/paulrberg/agent-skills --skill code-review

SKILL.md

Code Review

Objective

Find high-impact defects in changed code with evidence. Prioritize correctness, security, data integrity, shell/config safety, and regressions over style nits.

Arguments

  • Paths, patterns, a commit/range, or a scope phrase: used in Scope Resolution step 2.
  • --fix: Build findings internally, apply suggested fixes in severity order, then produce one final report and verify per the Verification section. Do not emit a separate pre-fix report.
  • --with-profile <name>: Force an optional domain profile by stem or filename (e.g. --with-profile shell). Repeatable.
  • --skip-profile <name>: Skip an optional domain profile by stem or filename (e.g. --skip-profile naming). Repeatable. If both --with-profile and --skip-profile name the same profile, skip wins.
  • Default: report findings and wait for confirmation before editing.

Scope Resolution

Resolve scope once, then treat the result as fixed for the rest of the run.