Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
dauquangthanh avatar

Code Quality Review

  • 51 installs
  • 14 repo stars
  • Updated January 23, 2026
  • dauquangthanh/hanoi-rainbow

Code Quality Review is an agent skill that inspects code for smells, complexity, and best-practice gaps so developers can improve maintainability with rated findings and recommendations.

About

Code Quality Review is a Hanoi Rainbow skill for systematic maintainability analysis across smells, complexity, patterns, and best practices. Pull it in before merging sizable changes, during tech-debt sweeps, or when you need a structured report with severities instead of ad-hoc nitpicks. It assumes readable source and optional linter context rather than replacing security-focused or frontend-only review skills.

  • Code smells and SOLID-oriented checks
  • Cyclomatic and cognitive complexity thresholds
  • Technical debt and maintainability scoring
  • Scope-based review depth (small to large diffs)

Code Quality Review by the numbers

  • 51 all-time installs (skills.sh)
  • Ranked #573 of 1,352 Code Review & Quality skills by installs in the Skillselion catalog
  • Data as of Jul 29, 2026 (Skillselion catalog sync)
npx skills add https://github.com/dauquangthanh/hanoi-rainbow --skill code-quality-review

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs51
repo stars14
Last updatedJanuary 23, 2026
Repositorydauquangthanh/hanoi-rainbow

How do you consistently judge whether a change is maintainable, free of major smells, and aligned with team standards?

Runs multi-dimensional quality reviews with code-smell detection, complexity metrics, and prioritized improvement actions.

Who is it for?

Developers reviewing medium-to-large diffs or auditing modules for technical debt and complexity hotspots.

Skip if: Teams needing OWASP-focused security audits or UI-only accessibility reviews without general quality analysis.

When should I use this skill?

You want a structured code quality or maintainability review with smells, metrics, and actionable improvements.

What you get

A detailed review report with severities, metrics notes, and specific refactoring or cleanup recommendations is produced.

Files

SKILL.mdMarkdownGitHub ↗

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

Related skills

FAQ

How does review depth scale with change size?

The skill defines small, medium, and large scopes with different time and depth expectations.

Does it run linters automatically?

It checks for linter configs and uses them as context; primary analysis is guided review, not replacing your CI linters.

Is this the same as security review?

No—this skill targets maintainability and quality; use code-security-review for vulnerability-focused audits.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.