code-quality

Enforces code quality standards for testing, structure, naming, error handling, and documentation.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/AlexanderStephenThompson/claude-hub --skill code-quality-alexanderstephenthompson
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-quality
Source: https://github.com/AlexanderStephenThompson/claude-hub/tree/main/core/skills/code-quality
Command: npx skills add https://github.com/AlexanderStephenThompson/claude-hub --skill code-quality-alexanderstephenthompson

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

Non-negotiable code quality standards define the expectations for testing, structure, naming, error handling, and documentation to reduce bugs, technical debt, and maintenance costs.

Core Features & Use Cases

  • Testing discipline: Clear guidance on unit, integration, and E2E testing to ensure reliability.
  • Coding conventions: Standardized naming, error handling, and documentation that improve readability and maintainability.
  • Code reviews and governance: A common reference for audits, refactors, and onboarding new engineers.

Quick Start

Run the built-in quality checks on your project:

  • python scripts/check_naming.py <path> --format text
  • python scripts/check_complexity.py <path> --format text Then align code with the provided references/docs in references/ and assets/.

Frequently Asked Questions about code-quality

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

FAQPage Schema
How do I enforce coding standards and naming conventions across my Python project?

You can enforce coding standards by running the built-in check_naming.py script against your project path. It analyzes your codebase to identify naming violations and outputs text-based reports to guide structural improvements.

What is the best way to check code complexity during refactoring?

To check code complexity during refactoring, run the check_complexity.py script with your directory path. It evaluates your source code structure and generates text-formatted metrics to highlight areas requiring simplification.

Can I use this for code reviews and onboarding new engineers?

Yes, this provides a common reference for code reviews, audits, and onboarding new engineers. It codifies expectations for testing, error handling, and documentation to ensure consistent governance across development workflows.

Does the code-quality skill work with languages other than Python?

Yes, while the included validation scripts are Python-based, the codified standards for testing, structure, error handling, and documentation apply across development workflows and review cycles in other languages.

Do I need any external dependencies to run the quality checks?

No external dependencies are required. The skill relies entirely on its included scripts, references, and assets to enforce coding standards and guide codebase improvements without needing additional packages.