code-quality

Guide structured code reviews, safe refactorings, and systematic debugging workflows.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill helps teams enhance code quality by guiding structured reviews, safe refactoring, and systematic debugging practices.

Core Features & Use Cases

  • Code Review Process: Provide templates and patterns for receiving feedback, restating requirements, and validating changes.
  • Refactoring Strategies: Catalog common refactorings (Extract Method, Move Method, Replace Conditional with Polymorphism) and how to apply them safely.
  • Systematic Debugging: Offer a four-phase debugging framework and root-cause tracing techniques to fix the right issue.
  • Use Case: When a team is preparing a merge, use this skill to guide the review, restructure complex functions, and verify fixes with characterization tests.

Quick Start

Activate the skill and follow the structured workflow: start with a code review checklist, apply suggested refactorings, and perform debugging using the framework.

Frequently Asked Questions about code-quality

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

FAQPage Schema
How do I perform a structured code review before a merge?

A structured code review uses templates to restate requirements, validate changes, and guide feedback reception. This ensures systematic verification of code quality and safe refactoring before merging complex functions.

What is the best way to safely apply refactoring patterns like Extract Method?

Safe refactoring applies systematic patterns like Extract Method, Move Method, or Replace Conditional with Polymorphism. It relies on cataloged strategies and verification workflows to restructure complex functions without altering behavior.

How does systematic debugging find root causes in modern software?

Systematic debugging uses a four-phase framework and root-cause tracing techniques to identify and fix the correct issue. It replaces ad-hoc troubleshooting with structured verification workflows for modern software projects.

Do I need specific testing frameworks to verify refactoring and debugging?

Verification relies on characterization tests to confirm fixes and safe refactoring. The skill provides tooling guidance for these workflows, ensuring code review reception and debugging validation work across modern software projects.

When should I use Replace Conditional with Polymorphism over other refactorings?

Replace Conditional with Polymorphism is used when refactoring complex conditional logic into manageable polymorphic structures. The skill catalogs this alongside Extract Method and Move Method to guide safe, pattern-based code restructuring.