codebase-consistency-reviewer

Analyze commits, pull requests, and diffs for duplication and naming inconsistencies.

37|7|Updated Jun 6, 2025
One-click install
npx skills add https://github.com/Altinity/altinity-mcp --skill codebase-consistency-reviewer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codebase-consistency-reviewer
Source: https://github.com/Altinity/altinity-mcp/tree/main/.claude/skills/codebase-consistency-reviewer
Command: npx skills add https://github.com/Altinity/altinity-mcp --skill codebase-consistency-reviewer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates codebase consistency reviews to identify potential issues like duplication, reinvention, and inconsistency in codebase patterns and user-facing conventions across multiple programming languages.

Core Features & Use Cases

  • Code Consistency Checks: Review PRs, commits, or diffs for duplicated functionality, reinvented wheels, and inconsistent naming or settings.
  • Language-Agnostic: Works with Go, C++, Python, TypeScript, etc.
  • Trigger Phrases: Automatically triggers on phrases like "review for duplication", "consistency review", or "does this match our conventions".
  • Use Case: Utilize this Skill during code reviews to ensure adherence to coding standards and best practices.

Quick Start

Trigger the codebase-consistency-reviewer Skill with the command 'codebase-consistency-reviewer review-for-duplication PR-123'.

Frequently Asked Questions about codebase-consistency-reviewer

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

FAQPage Schema
How do I check a pull request for code duplication and inconsistent naming?

You can check a pull request for code duplication and inconsistent naming by triggering an automated consistency review on the diff. This analyzes the PR to identify reinvented wheels, duplicated functionality, and deviations from codebase conventions.

Can I run consistency reviews across multiple programming languages like Go, C++, and TypeScript?

Yes, you can run consistency reviews across multiple programming languages like Go, C++, and TypeScript. The review process is language-agnostic and supports analyzing diffs for duplication and convention issues across diverse codebases.

How do I automatically trigger a consistency review on a specific PR?

To automatically trigger a consistency review, use the command 'codebase-consistency-reviewer review-for-duplication PR-123'. It also activates when it detects phrases like 'review for duplication' or 'does this match our conventions' in your workflow.

What is codebase consistency review and when do I need it during code reviews?

Codebase consistency review is the automated analysis of commits and diffs to detect duplicated functionality and inconsistent patterns. You need it during code reviews to ensure new code adheres to existing coding standards and avoids reinventing existing solutions.

What do I need to provide to analyze a commit diff for reinvented wheels?

To analyze a commit diff for reinvented wheels, you need to provide access to your codebase and the relevant diff information. The review uses this input to detect duplicated functionality and verify adherence to your coding standards.

Does automated duplication detection work for user-facing convention checks?

Yes, automated duplication detection works for user-facing convention checks. It analyzes your codebase commits and diffs to identify inconsistencies in both internal codebase patterns and user-facing conventions across multiple languages.