maintainability-code-review

Review code for maintainability issues with line-specific findings.

17|10|Updated Feb 25, 2026
One-click install
npx skills add https://github.com/chahua-im/chahua --skill maintainability-code-review-chahua-im
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: maintainability-code-review
Source: https://github.com/chahua-im/chahua/tree/main/.agents/skills/maintainability-code-review
Command: npx skills add https://github.com/chahua-im/chahua --skill maintainability-code-review-chahua-im

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you review code that already works so you can spot maintainability problems before they become expensive to change.

Core Features & Use Cases

  • Dead and Redundant Code Detection: Finds leftover branches, compatibility shims, duplicate logic, and repeated patterns that make a codebase harder to evolve.
  • Readability and Design Review: Flags hard-coded values, magic strings, unclear naming, over-complex logic, and poor separation of responsibilities.
  • Consistency Checks: Reviews error handling, visibility, and dependency direction so future refactors stay predictable and easy to navigate.
  • Use Case: A team preparing a refactor can run this Skill to get a structured review of maintainability risks and a prioritized set of concrete fixes.

Quick Start

Use the maintainability-code-review skill to review the attached codebase for maintainability issues and return findings in the required review format.

Frequently Asked Questions about maintainability-code-review

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

FAQPage Schema
How do I review code for maintainability issues before a refactor?

Reviewing code for maintainability issues involves checking functionally correct code for dead code, duplication, hard-coded values, and naming problems to get line-specific findings and actionable suggestions in a standardized format.

What is a maintainability code review and what does it cover?

Maintainability code review evaluates working code for structural quality issues like dead code, readability, single responsibility, error handling consistency, visibility, and dependency direction to ensure future refactors stay predictable.

How do I detect dead code and redundant logic in my codebase?

Detect dead code and redundant logic by scanning your codebase for leftover branches, compatibility shims, duplicate logic, and repeated patterns that make the codebase harder to evolve, providing a prioritized set of concrete fixes.

Does a maintainability review include bug, performance, or security analysis?

Maintainability review does not include bug, performance, or security analysis; it strictly reviews functionally correct code for structural quality issues like naming, single responsibility, and error handling consistency.

Can I check error handling consistency and dependency direction during a code review?

Yes, you can check error handling consistency, visibility, and dependency direction during a code review to ensure future refactors remain predictable and easy to navigate across the codebase.

What's the best way to flag hard-coded values and magic strings in code?

The best way to flag hard-coded values and magic strings is to perform a readability and design review that identifies unclear naming, over-complex logic, and poor separation of responsibilities in functionally correct code.