code-quality-review

Detect code smells and measure complexity in repositories.

14|11|Updated Dec 1, 2025
One-click install
npx skills add https://github.com/DauQuangThanh/hanoi-rainbow --skill code-quality-review-dauquangthanh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-quality-review
Source: https://github.com/DauQuangThanh/hanoi-rainbow/tree/main/skills/code-quality-review
Command: npx skills add https://github.com/DauQuangThanh/hanoi-rainbow --skill code-quality-review-dauquangthanh

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Codebases often accumulate technical debt and quality decay over time, making maintenance costly and risky.

Core Features & Use Cases

  • Detects code smells, measures cyclomatic and cognitive complexity, evaluates maintainability, and validates design patterns.
  • Generates actionable reports with severity ratings and concrete improvement recommendations, suitable for PR reviews, audits, and governance.
  • Use Case: When preparing a refactor or code release, run a review to identify high-risk hotspots and prioritize fixes.

Quick Start

Run a complete code-quality review on a repository to produce a prioritized improvement plan and a findings report.

Frequently Asked Questions about code-quality-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect code smells and measure technical debt in my repository?

To detect code smells and measure technical debt, run an automated code quality review that evaluates cyclomatic complexity, cognitive complexity, and maintainability issues across your repository. It identifies high-risk hotspots and generates a prioritized improvement plan.

What is the best way to automate code quality reviews for ongoing governance?

Automating code quality reviews for ongoing governance involves integrating static analysis into your CI workflows to continuously validate design patterns and coding standards. This process generates actionable reports with severity ratings suitable for audits and PR reviews.

Can I use static analysis to plan a code refactor before a major release?

Yes, you can use static analysis to plan a code refactor before a major release by measuring complexity and identifying maintainability issues. The review produces a prioritized findings report to help you target high-risk areas and reduce technical debt.

How does cyclomatic and cognitive complexity measurement help identify maintainability issues?

Cyclomatic and cognitive complexity measurement helps identify maintainability issues by quantifying code structure difficulty and detecting code smells. Evaluating these metrics highlights areas where technical debt has accumulated, guiding concrete refactoring recommendations.

Does this code quality review tool work across different programming languages?

The code quality review tool works across different programming languages and repositories to evaluate design patterns and coding standards. It applies static analysis universally to detect maintainability issues and generate actionable improvement reports.

What do I need to generate a prioritized improvement plan for a codebase?

To generate a prioritized improvement plan for a codebase, you need to run a complete code quality review that assesses complexity and technical debt. The output is a findings report with severity ratings and concrete recommendations for fixes.