skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
rtgs2017/nagaagent61 installs

code-review

代码审查和质量分析技能。用于审查代码、发现潜在问题、提供改进建议。当用户请求代码审查、代码质量分析或最佳实践建议时使用。

How do I install this agent skill?

npx skills add https://github.com/rtgs2017/nagaagent --skill code-review
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    This skill provides instructions for the agent to conduct code reviews. It is purely informational and contains no executable scripts, external connections, or security risks.

  • Socketpass

    No alerts

  • Snykpass

    Risk: LOW · No issues

  • Runlayerpass

    1 file scanned · No issues

What does this agent skill do?

代码审查技能

本技能提供专业的代码审查能力,帮助发现潜在问题并提供改进建议。

审查维度

1. 代码质量

  • 可读性: 命名规范、注释完整性、代码结构
  • 可维护性: 模块化程度、耦合度、复杂度
  • 一致性: 代码风格、设计模式使用

2. 潜在问题

  • Bug 风险: 空指针、边界条件、异常处理
  • 安全漏洞: 注入攻击、敏感数据泄露、权限问题
  • 性能问题: 算法复杂度、资源泄漏、并发问题

3. 最佳实践

  • 设计原则: SOLID、DRY、KISS
  • 语言特性: 现代语法、标准库使用
  • 测试覆盖: 单元测试、边界测试

审查流程

  1. 概览分析: 理解代码目的和结构
  2. 逐行审查: 检查每个函数和模块
  3. 问题分类: 按严重程度分为 Critical/Major/Minor
  4. 建议生成: 提供具体的改进方案

输出格式

## 代码审查报告

### 概述
[代码的整体评价]

### 发现的问题

#### Critical(严重)
- [ ] 问题描述 (文件:行号)
  - 原因分析
  - 建议修复

#### Major(重要)
- [ ] ...

#### Minor(次要)
- [ ] ...

### 改进建议
1. 建议一
2. 建议二

### 总体评分: X/10

使用示例

用户: "帮我审查这段 Python 代码" → 加载此技能,按照上述流程进行代码审查

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/rtgs2017/nagaagent/code-review">View code-review on skillZs</a>