pair-capability-assess-code-quality

Calculate complexity, size, test coverage, duplication, and maintainability scores for code quality reports.

6|Updated Aug 3, 2025
One-click install
npx skills add https://github.com/foomakers/pair --skill pair-capability-assess-code-quality
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pair-capability-assess-code-quality
Source: https://github.com/foomakers/pair/tree/main/.claude/skills/pair-capability-assess-code-quality
Command: npx skills add https://github.com/foomakers/pair --skill pair-capability-assess-code-quality

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the assessment of code quality by analyzing various metrics, providing objective feedback and actionable recommendations for improvement.

Core Features & Use Cases

  • Metric Analysis: Calculates complexity, size, test coverage, duplication, and maintainability scores.
  • Hotspot Identification: Pinpoints files or functions that exceed quality thresholds.
  • Actionable Recommendations: Generates specific suggestions for refactoring and improvement.
  • Use Case: Before merging a pull request, run this Skill to get an objective quality score and identify areas needing attention, ensuring higher code standards.

Quick Start

Run the pair-capability-assess-code-quality skill to assess the code quality of the entire codebase.

Frequently Asked Questions about pair-capability-assess-code-quality

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

FAQPage Schema
How do I assess code quality using metrics like complexity and test coverage?

Assess code quality by calculating complexity, size, test coverage, duplication, and maintainability scores to produce a quality report with actionable recommendations. This identifies hotspots exceeding quality thresholds before merging a pull request.

What is the best way to automate code maintainability assessment before a pull request?

Automate code maintainability assessment by running a resolution cascade against objective metrics from code-metrics guidelines. This calculates maintainability scores and pinpoints files or functions that exceed quality thresholds, ensuring higher code standards.

Can I check for staleness in existing code quality reports before running a full assessment?

Yes, you can check for staleness in existing code quality reports. The assessment process handles existing reports by checking for staleness before performing a full evaluation of complexity, size, and duplication metrics.

How do I identify code hotspots that exceed maintainability thresholds?

Identify code hotspots by evaluating files or functions against objective quality thresholds. The assessment calculates complexity and duplication scores to pinpoint exact areas requiring refactoring and improvement.

Does code quality assessment work without external dependencies?

Code quality assessment works without external dependencies. It relies on a resolution cascade and objective metrics from internal code-metrics guidelines to calculate maintainability and test coverage scores independently.

What specific recommendations do I get from a code quality assessment?

Code quality assessment generates specific suggestions for refactoring and improvement. It calculates complexity, size, test coverage, duplication, and maintainability scores to produce actionable recommendations targeting identified hotspots.