ln-624-code-quality-auditor

Audit code for cyclomatic complexity, nesting, method length, and N+1 queries.

Updated Dec 11, 2025
One-click install
npx skills add https://github.com/dorrio/sorteo-app-generator --skill ln-624-code-quality-auditor-dorrio
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ln-624-code-quality-auditor
Source: https://github.com/dorrio/sorteo-app-generator/tree/main/.agent/skills/ln-624-code-quality-auditor
Command: npx skills add https://github.com/dorrio/sorteo-app-generator --skill ln-624-code-quality-auditor-dorrio

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill identifies and reports on common code quality issues, helping to improve maintainability and reduce technical debt.

Core Features & Use Cases

  • Comprehensive Checks: Analyzes cyclomatic complexity, nesting depth, method length, class size, method signatures, O(n²) complexity, N+1 query patterns, and constant management.
  • Actionable Feedback: Provides specific findings to guide refactoring efforts.
  • Use Case: Integrate this skill into your CI/CD pipeline to automatically flag code quality regressions before they are merged.

Quick Start

Run the code quality auditor skill on the current project.

Frequently Asked Questions about ln-624-code-quality-auditor

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

FAQPage Schema
How do I check code quality for cyclomatic complexity and technical debt?

You can audit code quality by analyzing cyclomatic complexity, excessive nesting, and long methods. This process returns detailed findings for code improvement, directly targeting maintainability issues and reducing technical debt.

How do I detect N+1 query anti-patterns and O(n²) complexity in my code?

Detecting N+1 query anti-patterns and O(n²) complexity requires auditing your code for these specific performance bottlenecks. The analysis identifies method signature issues and returns actionable feedback to correct the inefficient logic.

Can I automatically flag code quality regressions in a CI/CD pipeline?

You can automatically flag code quality regressions in a CI/CD pipeline by integrating an auditing step. This checks for god classes and constants management issues, providing specific findings before code is merged.

What is a god class and how do I find god classes during code refactoring?

A god class is an overly large class that handles too many responsibilities. You find god classes during code refactoring by auditing class size and method length, which returns detailed findings to guide breaking the class down.

Does code auditing work for identifying method signature issues and constant management flaws?

Code auditing works for identifying method signature issues and constant management flaws by systematically analyzing these specific patterns. It evaluates your code structure and returns targeted findings to help improve overall design.

When should I audit code maintainability before or after making changes?

You should audit code maintainability before refactoring to identify excessive nesting and complexity, and after changes to prevent regressions. Running the audit ensures technical debt is measured and resolved before merging.