verify-quality

Detect code complexity, duplication, naming violations, and function length.

5.8k|441|Updated Jan 4, 2026
One-click install
npx skills add https://github.com/fengshao1227/ccg-workflow --skill verify-quality-fengshao1227
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: verify-quality
Source: https://github.com/fengshao1227/ccg-workflow/tree/main/templates/skills/tools/verify-quality
Command: npx skills add https://github.com/fengshao1227/ccg-workflow --skill verify-quality-fengshao1227

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @types/node, chalk, commander, glob, prettier, and includes scripts (resource) components.

What problem does it solve?

This Skill addresses the challenge of maintaining high code quality by automatically detecting and reporting issues related to complexity, code duplication, naming conventions, and function length.

Core Features & Use Cases

  • Automated Code Analysis: Scans code for various quality metrics including cyclomatic complexity, function length, and nesting depth.
  • Coding Standard Enforcement: Checks for adherence to naming conventions (PascalCase for classes, snake_case for functions/variables).
  • Code Smells Detection: Identifies issues like duplicated code, long parameter lists, magic numbers, dead code, and commented-out code.
  • Use Case: Integrate this Skill into your CI/CD pipeline to automatically flag code that doesn't meet quality standards before merging, ensuring a healthier codebase.

Quick Start

Run the quality checker script on the 'src/' directory with verbose output enabled.

Frequently Asked Questions about verify-quality

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

FAQPage Schema
How do I analyze code complexity and duplication for a pre-commit check?

Code quality analysis detects code smells by scanning for magic numbers, dead code, long parameter lists, and commented-out code, helping reduce technical debt before merging.

How do I enforce snake_case and PascalCase naming conventions automatically?

Yes, you can integrate this code analysis into CI/CD pipelines to automatically flag code that fails quality standards for cyclomatic complexity and structure before merging.

What is the best way to detect code smells like magic numbers and dead code?

Code quality analysis targets Python and generic file formats, parsing the source code to calculate maintainability metrics and identify structural violations.

Does this code review tool support generic file analysis or only Python?

Limitations include relying on generic file analysis scripts and Python processing, meaning highly specialized framework-specific logic might require additional configuration to evaluate.