Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问clear审计通过

code-quality-review代码质量审查

Agent Skill

code-quality-review 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

861

周安装

37

GitHub Stars

10

下载量

302
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:code-quality-review(代码质量审查)
来源仓库:https://github.com/dauquangthanh/hanoi-rainbow
仓库路径:skills/code-quality-review
安装命令:
npx skills add https://github.com/dauquangthanh/hanoi-rainbow --skill code-quality-review
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/dauquangthanh/hanoi-rainbow --skill code-quality-review

简介

用于系统性审查代码质量,涵盖可维护性、复杂度与设计规范等多个维度。

  • 适合检测代码异味、评估圈复杂度和命名规范,提供改进建议与风险评级。
  • 使用时需结合项目上下文与目标浏览器,区分新特性开发与重构任务。
  • 安装方式:通过 npx skills add 从指定 GitHub 仓库添加,需确认权限与维护状态。
  • 注意:工具输出不能直接作为最终结论,应人工复核关键修改建议。

SKILL.md

Code Quality Review

Overview

Conducts systematic code quality analysis across multiple dimensions: maintainability, readability, complexity, design patterns, naming conventions, code duplication, and adherence to best practices. Produces actionable feedback with severity ratings and specific improvement recommendations.

Core Capabilities

  1. Code Smells Detection - Identifies bloaters, object-orientation abusers, change preventers, dispensables, and couplers
  2. Complexity Analysis - Measures cyclomatic and cognitive complexity with risk assessment
  3. Maintainability Assessment - Evaluates code maintainability index and technical debt
  4. Design Pattern Evaluation - Reviews architectural patterns and SOLID principles
  5. Best Practices Validation - Checks adherence to language-specific standards and conventions

Review Workflow

Step 1: Scope Assessment

Determine review scope based on change size:

  • Small (<100 lines): Quick correctness check, 15-30 minutes
  • Medium (100-500 lines): Full quality analysis, 1-2 hours
  • Large (>500 lines): Architectural review, break into smaller reviews if possible, 2-4 hours

For scope-specific guidance, see review-scope-guidelines.md

Step 2: Initial Assessment

Gather Context:

  • Identify programming language and framework
  • Understand project type (web app, API, library, CLI, etc.)
  • Note existing coding standards or style guides
  • Check for linter configuration files (.eslintrc,.pylintrc, checkstyle.xml, etc.)

Read the Code:

  • Start with entry points (main files, index files)
  • Review module/package organization
  • Check dependency management
  • Examine test files if available

Step 3: Quality Analysis

Analyze code across key dimensions:

  • Code Smells: Long methods, large classes, duplicate code, dead code, etc.
  • Complexity: Cyclomatic complexity (target <15), cognitive complexity, nesting depth
  • Maintainability: Clear naming, proper abstraction, separation of concerns
  • Design Patterns: Appropriate pattern usage, SOLID principles adherence
  • Best Practices: Language idioms, error handling, resource management

For detailed analysis criteria and thresholds, see review-workflow.md

For quality metrics and thresholds, see quality-metrics-reference.md

Step 4: Document Findings

Structure the review report with:

  • Executive summary with scores and top priorities
  • Detailed findings with severity, location, description, and recommendations
  • Metrics summary with current vs. target values
  • Prioritized recommendations (P0-P3)
  • Positive observations acknowledging good practices
  • Technical debt summary with effort estimates

For complete report structure and output guidelines, see review-report-format.md

Quality Assurance

Use the checklist to ensure comprehensive reviews:

  • Code organization and structure
  • Naming conventions and clarity
  • Complexity thresholds
  • Error handling patterns
  • Testing and documentation
  • Security considerations
  • Performance implications

For complete checklist, see best-practices-checklist.md

Common Pitfalls

Avoid these common review mistakes:

  • Focusing only on style issues instead of substantive problems
  • Being overly critical without actionable suggestions
  • Ignoring context and business constraints
  • Overwhelming with too many issues at once
  • Using vague terms without explanation
  • Forgetting to acknowledge good practices

For detailed guidance, see common-pitfalls-to-avoid.md

Example Patterns

For reference when identifying critical issues in your review, see examples of common high-severity problems in critical-issues.md

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Antigravity

28%
按下载量换算85

Claude Code

23.17%
按下载量换算70

Codex

15.9%
按下载量换算48

Gemini CLI

10.47%
按下载量换算32

OpenCode

7.93%
按下载量换算24

windsurf

3.01%
按下载量换算9

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills