ln-623-code-principles-auditor

Audit codebases for DRY, KISS, and YAGNI violations with severity and refactoring recommendations.

Updated Mar 9, 2026
One-click install
npx skills add https://github.com/cbbkrd-tech/jl-finishes --skill ln-623-code-principles-auditor-cbbkrd-tech
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ln-623-code-principles-auditor
Source: https://github.com/cbbkrd-tech/jl-finishes/tree/main/.claude/skills/ln-623-code-principles-auditor
Command: npx skills add https://github.com/cbbkrd-tech/jl-finishes --skill ln-623-code-principles-auditor-cbbkrd-tech

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the detection of common code quality issues, including repeated code (DRY violations), overly complex logic (KISS), unnecessary features (YAGNI), and poor error handling, ensuring higher code maintainability and robustness.

Core Features & Use Cases

  • DRY Violation Detection: Identifies 10 types of code duplication, from identical functions to repeated validation logic.
  • KISS/YAGNI Auditing: Flags overly complex abstractions and premature features.
  • Error Handling Analysis: Checks for missing error handling and promotes centralized error management.
  • Use Case: Integrate this Skill into your CI/CD pipeline to automatically flag potential code smells before they are merged, reducing technical debt and improving overall code health.

Quick Start

Run the ln-623-code-principles-auditor skill to audit the current codebase for code principles violations.

Frequently Asked Questions about ln-623-code-principles-auditor

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

FAQPage Schema
How do I detect DRY violations and code duplication in my codebase?

To detect DRY violations and code duplication, scan the codebase to identify 10 types of repeated code, ranging from identical functions to repeated validation logic. The audit provides structured findings with severity, location, and refactoring recommendations.

What is the best way to audit code for KISS and YAGNI anti-patterns?

Auditing code for KISS and YAGNI anti-patterns involves flagging overly complex abstractions and premature features. This process identifies excessive complexity and unnecessary features, providing structured findings to improve code maintainability.

Can I automate code quality checks for error handling in a CI/CD pipeline?

Yes, you can automate code quality checks for error handling in a CI/CD pipeline. The audit checks for missing error handling, promotes centralized error management, and automatically flags potential code smells before code is merged.

How does a code audit identify dependency injection issues?

A code audit identifies dependency injection issues by analyzing the codebase for adherence to software design principles alongside error handling patterns. It detects anti-patterns and provides structured findings with severity and refactoring recommendations.

What tools are used to scan a codebase for code smells?

Scanning a codebase for code smells utilizes Grep, Glob, and Bash tools for codebase scanning and analysis. These tools identify repeated code, excessive complexity, and anti-patterns, providing structured findings with location and refactoring recommendations.