quality

Refactor code using systematic patterns and review checklists.

6|3|Updated Feb 9, 2026
One-click install
npx skills add https://github.com/jongio/azd-copilot --skill quality-jongio
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: quality
Source: https://github.com/jongio/azd-copilot/tree/main/cli/src/internal/assets/skills/quality
Command: npx skills add https://github.com/jongio/azd-copilot --skill quality-jongio

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of improving code quality through systematic refactoring and provides clear guidelines for effective code reviews, ensuring higher-quality software.

Core Features & Use Cases

  • Refactoring Patterns: Offers proven techniques to clean up code, reduce duplication, and improve maintainability.
  • Code Review Checklist: Provides a comprehensive guide to focus reviews on critical aspects like security and logic, avoiding nitpicking.
  • E2E Testing Guidance: Includes patterns for setting up and writing end-to-end tests with Playwright for web applications.
  • Use Case: A developer needs to refactor a complex function. They can consult the 'refactor' skill for patterns like 'Extract Function' and follow the pre-refactor checklist to ensure safety. A team lead can use the 'code-review' skill's checklist to ensure all pull requests are thoroughly and consistently reviewed.

Quick Start

Use the quality skill to refactor a piece of code by applying the 'extract function' pattern.

Frequently Asked Questions about quality

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

FAQPage Schema
How do I use refactoring patterns to clean up complex code?

Refactoring patterns like Extract Function help clean up complex code by breaking it into smaller, maintainable units. Following a pre-refactoring checklist ensures safety and reduces duplication before applying structural changes to the codebase.

What should be included in a code review checklist to avoid nitpicking?

A code review checklist should focus on critical aspects like security, logic, type safety, and performance. This ensures pull requests are reviewed thoroughly and consistently, avoiding unnecessary nitpicking on minor style issues.

How do I set up end-to-end testing with Playwright for web applications?

End-to-end testing with Playwright involves applying specific testing patterns to set up and write tests for web applications. These strategies ensure comprehensive coverage and validate application logic from start to finish.

What are common code smells and how do I address them?

Common code smells indicate underlying design issues that reduce maintainability. You can address them by applying systematic refactoring patterns and utilizing pre-refactoring and post-refactoring checklists to verify improvements.

Does this code quality guidance support TypeScript type safety checks?

Yes, the code quality guidelines include best practices for type safety alongside security and performance. This ensures TypeScript code is reviewed systematically to prevent type-related errors during refactoring.