code-quality

Enforce maintainability, testability, and extensibility through MTE checklists.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enforces maintainable, testable, and extensible code by applying MTE principles during development, refactoring, and reviews.

Core Features & Use Cases

  • Maintainability checks (single-responsibility, clear dependencies, straightforward reasoning)
  • Testability guidance (injectable dependencies, deterministic behavior, test-friendly design)
  • Refactoring & Code Review prompts (MTE-driven checklists and best practices)
  • Applicable scenarios: writing new code, performing refactors, and conducting code reviews

Quick Start

Use the MTE checklist to review a provided function for maintainability and testability.

Frequently Asked Questions about code-quality

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

FAQPage Schema
How do I enforce maintainable and testable code during code reviews?

To enforce maintainable and testable code during code reviews, apply MTE-driven checklists that check for single-responsibility modules, dependency injection, capped function length, and proper error handling.

What is the best way to refactor code for better testability?

The best way to refactor code for better testability is to ensure dependencies are injectable and behavior is deterministic, guided by test-friendly design principles and practical maintainability checks.

How does single-responsibility principle improve code maintainability?

The single-responsibility principle improves code maintainability by ensuring modules have clear dependencies and straightforward reasoning, making the codebase easier to update and extend without unintended side effects.

Can I use a checklist to review a function for clean code principles?

Yes, you can use an MTE checklist to review a provided function for clean code principles, verifying naming clarity, capped function length, and proper error handling to ensure it is extensible.

When do I need dependency injection for extensible code?

You need dependency injection for extensible code when designing modules that require test-friendly architecture, allowing you to mock dependencies and ensure deterministic behavior during testing.