code-review-and-quality-sh-7ol4ug

Code评论与质量专用技能,帮助AI Agent高效完成代码审查与质量相关任务。

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "code-review-and-quality-sh-7ol4ug":https://skillpi.com/zh/skills/deepskill-6a62c125262a782dd080be34d104943ae94c65422c5f281ebfa1e154ce8d32cd。安装前核对上游来源和版本:https://skillhub.cn/skills/user_3c6cb52e/code-review-and-quality-sh-7ol4ug。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

skillhub.cn

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

Code评论与质量专用技能,帮助AI Agent高效完成代码审查与质量相关任务。

0 下载

介绍来源: third_party · user_3c6cb52e · 1.0.0 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
适合谁
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter

name: Code评论AndQuality
slug: code-review-and-quality
version: 1.0.0
displayName: Code评论AndQuality
description: >
  Code评论AndQuality专用技能,帮助AI Agent高效完成相关任务。
summary: "Code评论AndQuality专用技能,帮助AI Agent高效完成相关任务。"
license: MIT
category: 开发者工具
framework:
  - Claude Code
  - Codex
  - Hermes Agent
  - OpenClaw
  - QClaw
  - WorkBuddy
platform: multi-platform
homepage: "https://github.com/1991513ccie-png"
repository: "https://github.com/1991513ccie-png"

Code Review and Quality

Overview

Multi-dimensional code review with quality gates. Every change gets reviewed before merge — no exceptions. Review covers five axes: correctness, readability, architecture, security, and performance.

The approval standard: Approve a change when it definitely improves overall code health, even if it isn't perfect. Perfect code doesn't exist — the goal is continuous improvement. Don't block a change because it isn't exactly how you would have written it. If it improves the codebase and follows the project's conventions, approve it.

When to Use

  • Before merging any PR or change
  • After completing a feature implementation
  • When another agent or model produced code you need to evaluate
  • When refactoring existing code
  • After any bug fix (review both the fix and the regression test)

The Five-Axis Review

Every review evaluates code across these dimensions:

1. Correctness

Does the code do what it claims to do?

  • Does it match the spec or task requirements?
  • Are edge cases handled (null, empty, boundary values)?
  • Are error paths handled (not just the happy path)?
  • Does it pass all tests? Are the tests actually testing the right things?
  • Are there off-by-one errors, race conditions, or state inconsistencies?

2. Readability & Simplicity

Can another engineer (or agent) understand this code without the author explaining it?

  • Are names descriptive and consistent with project conventions? (No temp, data, result without context)
  • Is the control flow straightforward (avoid nested ternaries, deep callbacks)?
  • Is the code organized logically (related code grouped, clear module boundaries)?
  • Are there any "clever" tricks that should be simplified?
  • Could this be done in fewer lines? (1000 lines where 100 suffice is a failure)
  • Are abstractions earning their complexity? (Don't generalize until the third use case)
  • Would comments help clarify non-obvious intent? (But don't comment obvious code.)
  • Are there dead code artifacts: no-op variables (_unused), backwards-compat shims, or // removed comments?
  • Is a new conditional bolted onto an unrelated flow? That's a design smell, not a nit — push the logic into its own helper, state, or policy instead of tangling an existing path.
  • Do repeated conditionals on the same shape appear? They signal a missing model or dispatcher. A "temporary" branch is usually permanent debt.

3. Architecture

Does the change fit the syst

(为兼容发布已截断)

当前收录版本

1.0.0

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值92/100

亮点

  • 提供多维代码审查和质量门禁功能,覆盖正确性、可读性、架构、安全性和性能五个维度
  • 适用于代码合并前审查、功能实现后评估、重构、Bug修复等高频开发场景,具有明确的高价值和广泛实用性
触发精准95/100

亮点

  • description 字段内容完整,明确描述了 Skill 的用途和目标用户(AI Agent 完成相关任务),触发词清晰
结构规范65/100

待提升项

  • 文档内容截断 原报告严重程度:重大

    文档在 'Architecture' 部分被截断,导致该部分内容不完整,影响整体结构完整性

    改进建议:请补充完整 'Architecture' 部分的内容,确保所有审查维度都有完整的说明

亮点

  • 文档结构清晰,包含 Overview、When to Use、The Five-Axis Review 等章节
  • 每个维度下有具体检查项,逻辑完整
执行可靠70/100

待提升项

  • 文档不完整影响使用 原报告严重程度:重大

    由于文档截断,可能导致用户无法获取完整的审查标准,影响实际使用

    改进建议:请补充完整文档内容,确保用户能够获取所有必要的审查标准和指导

亮点

  • Skill 为代码审查和质量评估工具,主要依赖 AI 模型进行分析,未涉及外部工具调用或复杂参数处理,执行流程清晰
证据可验 (前四项均值)81/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

文档引用的域名或地址

这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。

  • github.com

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。