code-quality

Guide Python code reviews with a structured checklist and refactoring workflow.

Updated Apr 6, 2026
One-click install
npx skills add https://github.com/a2mus/ecc-antigravity --skill code-quality-a2mus
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: code-quality
Source: https://github.com/a2mus/ecc-antigravity/tree/main/skills/code-quality
Command: npx skills add https://github.com/a2mus/ecc-antigravity --skill code-quality-a2mus

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Code-quality checks and a practical checklist to prevent defects, enforce best practices, and guide refactoring before task completion.

Core Features & Use Cases

  • Pre-completion checklist: correctness, readability, structure, safety.
  • Concrete code smells with fixes and refactoring workflow.
  • Use during code reviews and when refactoring legacy code to maintain consistency.

Quick Start

Apply the checklist to the current feature before marking it complete.

Frequently Asked Questions about code-quality

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

FAQPage Schema
How do I enforce clean code and best practices during a Python code review?▼

Enforce clean code during Python code reviews by applying a structured checklist that verifies correctness, readability, structure, and safety while checking for descriptive naming and DRY principles.

What is the best way to refactor legacy Python code to prevent defects?▼

The best way to refactor legacy Python code is to follow a structured refactoring workflow that identifies concrete code smells and applies fixes to satisfy KISS, YAGNI, and early return principles.

Does this code quality checklist support checking for mutation avoidance and early returns?▼

Yes, the code quality checklist supports checking for mutation avoidance and early returns, explicitly satisfying requirements for these practices alongside DRY, KISS, and YAGNI principles.

How do I use a pre-completion checklist to improve code quality before finishing a feature?▼

Use a pre-completion checklist to review your current feature before marking it complete, ensuring correctness checks, readability, structure, and safety standards are met.

Can I apply these code review guidelines across different Python projects?▼

Yes, you can apply these code review guidelines across Python projects to maintain consistency and enforce best practices during code reviews and refactoring tasks.

What code smells does this structured checklist identify and fix?▼

The structured checklist identifies concrete code smells and provides fixes, targeting issues like improper mutation, complex structures, and naming to guide a clear refactoring workflow.