code-review

GitHub

用于代码审查的 Skill,检查正确性、安全性、性能和可维护性,按严重程度输出问题描述及修复建议。

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

触发场景

收到代码变更或 PR 请求 需要评估代码质量与潜在风险

安装

npx skills add victordibia/designing-multiagent-systems --skill code-review -g -y
更多选项

非标准路径

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

不安装直接使用

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

版本历史

  • 1aebb31 当前 2026-07-24 16:09

同 Skill 集合

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

元信息

文件数
0
版本
6731478
Hash
257aa72f
收录时间
2026-07-24 16:09

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-17 16:47
浙ICP备14020137号-1