clean-code-reviewer

Identify redundancies and suggest refactors across a repository.

12|7|Updated Sep 15, 2025
One-click install
npx skills add https://github.com/allofmeng/streamline_project --skill clean-code-reviewer-allofmeng
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clean-code-reviewer
Source: https://github.com/allofmeng/streamline_project/tree/main
Command: npx skills add https://github.com/allofmeng/streamline_project --skill clean-code-reviewer-allofmeng

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The skill provides a structured, expert review of recently written code to identify redundancy, duplication, and anti-patterns, enabling teams to improve maintainability and quality.

Core Features & Use Cases

  • Guides targeted refactoring by consolidating duplicate logic into shared utilities and extracting common patterns into reusable modules.
  • Suggests testing enhancements, including unit/integration tests, to guard against regressions after refactors.
  • Use Case: A developer submits a new feature branch with similar utilities across modules; the skill proposes a consolidated design and test plan.

Quick Start

Provide a structured code-quality assessment of the target repository and propose concrete refactorings, tests, and maintainability improvements.

Frequently Asked Questions about clean-code-reviewer

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

FAQPage Schema
How do I identify code duplication and redundancy across modules?

To identify code duplication and redundancy, analyze module boundaries and naming conventions to consolidate duplicate logic into shared utilities and extract reusable modules, producing a prioritized refactor plan.

What is the best way to plan refactoring for code maintainability?

Planning refactoring for maintainability involves analyzing module boundaries and test coverage to produce actionable, prioritized refactor recommendations with evidence-based rationale and non-destructive suggestions.

How do I generate unit and integration tests after refactoring?

To generate unit and integration tests after refactoring, suggest testing enhancements that guard against regressions, ensuring the consolidated shared utilities and extracted modules maintain functional integrity.

Does this code review approach work without existing test coverage?

Yes, this code review approach works without existing test coverage by analyzing current module boundaries and producing a suggested test plan alongside a prioritized refactor plan to establish future regression guards.

Why does my feature branch have duplicate utilities across modules?

Duplicate utilities across modules occur when similar logic is implemented separately; consolidating these into shared utilities and extracting common patterns into reusable modules resolves the redundancy.

When should I not use automated refactoring suggestions?

You should not use automated refactoring suggestions when immediate non-destructive execution is required without review, as this approach outputs a prioritized plan with evidence-based rationale requiring validation before implementation.