code-quality

Audits codebases for architecture, performance, simplicity, and pattern consistency issues.

16|1|Updated May 5, 2026
One-click install
npx skills add https://github.com/AIBiz-Automatyzacje/workspace-template-mobile --skill code-quality-aibiz-automatyzacje
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: code-quality
Source: https://github.com/AIBiz-Automatyzacje/workspace-template-mobile/tree/main/.claude/skills/code-quality
Command: npx skills add https://github.com/AIBiz-Automatyzacje/workspace-template-mobile --skill code-quality-aibiz-automatyzacje

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Large codebases accumulate hidden technical debt: circular dependencies, N+1 queries, unjustified abstractions, and inconsistent patterns that code review of individual diffs never catches. This Skill performs a deep, stack-agnostic quality audit across four independent analysis passes and produces a prioritized, classified report. ## Core Features & Use Cases - Four analysis passes: SOLID and architecture (circular deps, layer boundaries, deep vs shallow modules), performance (Big O, N+1, scalability projection, caching), simplicity (YAGNI, dead code, LOC reduction), and pattern consistency (anti-patterns, naming, conventions). - Classified findings: Every issue is tagged as blocking, important, nit, or suggestion, with a Top 5 priority list and a complexity score for the whole audit. - Reference documentation: Detailed guides for architecture analysis, performance analysis, and simplicity audits with detection patterns and fix strategies. - Use Case: After merging several large feature PRs, run the audit to discover that a service module has five responsibilities, a hot path runs an O(n²) lookup, and two modules import each other cyclically — then get a prioritized remediation plan. ## Quick Start Ask the AI to run a code quality audit on a specific module or the whole project and produce a classified report with the top priorities to fix.

Frequently Asked Questions about code-quality

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

FAQPage Schema
How do I audit code quality beyond a standard code review?▼

Run a four-pass audit covering SOLID architecture, performance, simplicity, and pattern consistency. Unlike diff-based code review, this analyzes whole modules for circular dependencies, Big O complexity, unjustified abstractions, and anti-patterns, then classifies findings by severity.

How to detect circular dependencies between modules?▼

Build a dependency map by grepping imports and checking whether module A imports B while B imports A, including transitive cycles. Fix them with dependency inversion, extracting shared interfaces to a third module, or introducing a mediator.

What is the difference between code review and a code quality audit?▼

Code review checks specific changes in a diff, while a code quality audit analyzes entire modules for architecture, scalability, and complexity. The audit complements coding rules by performing deep analysis rather than enforcing daily guardrails.

Does this audit work with any programming language or framework?▼

Yes, the audit is stack-agnostic and relies on universal software engineering principles like SOLID, Big O analysis, and YAGNI. It does not assume any specific technology, framework, or toolchain.

When is O(n^2) complexity acceptable in code?▼

Quadratic complexity is acceptable for small bounded inputs under roughly 100 items, one-time operations like migrations, or cases where simplicity outweighs performance. It is not acceptable when input size depends on user data or can grow unbounded.

When should I not add an abstraction or interface?▼

Skip abstractions with only one implementation and one consumer, since a single adapter behind an interface is premature indirection. Extract abstractions only when a second implementation or consumer actually appears.