code-review

GitHub

用于代码审查的 Skill,通过检查正确性、安全性、性能和可维护性发现 Bug 与隐患,并按严重程度格式化反馈。

picoagents/src/picoagents/skills/code-review/SKILL.md victordibia/designing-multiagent-systems

Trigger Scenarios

收到代码变更或 PR 需要审查 用户请求对特定文件进行安全或质量检查

Install

npx skills add victordibia/designing-multiagent-systems --skill code-review -g -y
More Options

Non-standard path

npx skills add https://github.com/victordibia/designing-multiagent-systems/tree/main/picoagents/src/picoagents/skills/code-review -g -y

Use without installing

npx skills use victordibia/designing-multiagent-systems@code-review

指定 Agent (Claude Code)

npx skills add victordibia/designing-multiagent-systems --skill code-review -a claude-code -g -y

安装 repo 全部 skill

npx skills add victordibia/designing-multiagent-systems --all -g -y

预览 repo 内 skill

npx skills add victordibia/designing-multiagent-systems --list

SKILL.md

Frontmatter
{
    "name": "code-review",
    "triggers": "review, code review, check code, review PR",
    "description": "Review code changes for bugs, security issues, and improvements"
}

Code Review Skill

Review Checklist

1. Correctness

  • Does the code do what it claims?
  • Are edge cases handled (null, empty, bounds)?
  • Is error handling appropriate?

2. Security

  • Input validation present?
  • No SQL injection, XSS, command injection?
  • Secrets not hardcoded?
  • Permissions checked?

3. Performance

  • No N+1 queries?
  • Appropriate data structures?
  • Unnecessary loops or allocations?

4. Maintainability

  • Clear naming?
  • Functions do one thing?
  • No magic numbers?
  • Tests included?

Review Format

For each issue found:

**[SEVERITY] file:line - Brief description**

Problem: What's wrong
Impact: Why it matters
Suggestion: How to fix

Severities: CRITICAL, HIGH, MEDIUM, LOW, NIT

Workflow

  1. Read the diff or changed files
  2. Understand the intent (PR description, commit messages)
  3. Check each file against the checklist
  4. Summarize findings with severity levels

Version History

  • 1aebb31 Current 2026-07-24 16:09

Same Skill Collection

picoagents/src/picoagents/skills/debug/SKILL.md

Metadata

Files
0
Version
6731478
Hash
257aa72f
Indexed
2026-07-24 16:09

trang chủ - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-02 16:24
浙ICP备14020137号-1 $bản đồ khách truy cập$