code-quality

Analyze Node.js/TypeScript codebases and compute a 0-100 quality score.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/extremecoder-rgb/GitLyzr --skill code-quality-extremecoder-rgb
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-quality
Source: https://github.com/extremecoder-rgb/GitLyzr/tree/main/skills/code-quality
Command: npx skills add https://github.com/extremecoder-rgb/GitLyzr --skill code-quality-extremecoder-rgb

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill analyzes Node.js/TypeScript repositories to measure quality factors such as cyclomatic complexity, duplication, naming conventions, documentation coverage, and TypeScript strictness, producing a standardized 0-100 score and actionable insights.

Core Features & Use Cases

  • Cyclomatic Complexity Analysis: identifies highly complex functions and suggests refactors.
  • Duplication & Naming Checks: detects code duplication and enforces naming conventions and documentation coverage.
  • TypeScript Strictness & Documentation: evaluates strictness flags and the presence of type annotations and JSDoc.
  • Use Case: Dev teams running regular code quality gates before merges, or auditors performing code health assessments.

Quick Start

Run this skill against your repository to generate a comprehensive quality score and detailed breakdown.

Frequently Asked Questions about code-quality

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

FAQPage Schema
How do I calculate code quality metrics for a TypeScript repository?

Code quality metrics for a TypeScript repository are calculated by evaluating cyclomatic complexity, duplication, naming conventions, documentation coverage, and TypeScript strictness to produce a 0-100 quality score. The analysis outputs per-file insights and actionable recommendations suitable for code reviews.

What is cyclomatic complexity analysis and how does it identify code needing refactoring?

Cyclomatic complexity analysis measures the number of linearly independent paths through a function's source code to identify highly complex functions in your Node.js/TypeScript codebase. It then suggests targeted refactors to reduce complexity and improve overall code maintainability.

Can I use this code quality analysis for large Node.js codebases with multiple modules?

Yes, this code quality analysis is designed for medium and large Node.js/TypeScript repositories, operating across multiple files and modules. It delivers deterministic, reproducible scoring and structured diagnostics regardless of repository size.

How do I check TypeScript strictness and JSDoc documentation coverage in my project?

To check TypeScript strictness and JSDoc documentation coverage, evaluate the strictness flags in your configuration, verify the presence of type annotations, and detect JSDoc blocks. This evaluates how thoroughly typed and documented your Node.js codebase is.

What's the best way to set up a code quality gate before merging Node.js code?

The best way to set up a code quality gate before merging Node.js code is to run a deterministic analysis that computes a 0-100 score based on complexity, duplication, naming, documentation, and TypeScript strictness. This delivers structured diagnostics suitable for automated quality gates.

Are the code quality scoring results reproducible across multiple runs?

Yes, the code quality scoring results are deterministic and fully reproducible across multiple runs. The analysis consistently computes the 0-100 score and structural breakdown, ensuring reliable diagnostics for code reviews and quality gates every time.