Quality Metrics Skill

Automate code quality tracking and reporting across CI/CD pipelines.

1|Updated Aug 10, 2025
One-click install
npx skills add https://github.com/michsindlinger/agent-os-extended --skill quality-metrics-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Quality Metrics Skill
Source: https://github.com/michsindlinger/agent-os-extended/tree/main/agent-os/templates/skills/dev-team/qa/quality-metrics
Command: npx skills add https://github.com/michsindlinger/agent-os-extended --skill quality-metrics-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the tracking, analysis, and reporting of code quality metrics, ensuring adherence to standards and driving continuous improvement in software development.

Core Features & Use Cases

  • Code Coverage Analysis: Monitor line, branch, and function coverage, setting thresholds and identifying untested code.
  • Test Health Monitoring: Track test execution times, identify flaky tests, and monitor test stability.
  • Quality Gate Enforcement: Automate quality checks in CI/CD pipelines to prevent deployment of substandard code.
  • Defect Metrics: Analyze defect detection rates, MTTD, MTTR, and defect density.
  • Use Case: Integrate this skill into your CI/CD pipeline to automatically verify that new code meets coverage targets and that tests remain stable, blocking deployments if quality gates are not met.

Quick Start

Configure SimpleCov for Ruby projects to track code coverage and enforce a minimum of 85% coverage.

Frequently Asked Questions about Quality Metrics Skill

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

FAQPage Schema
How do I automate code coverage checks in a CI/CD pipeline?

Automate code coverage checks by integrating metrics tracking into CI/CD pipelines using tools like SimpleCov or Istanbul/NYC, setting minimum coverage thresholds to block deployments if untested code is detected.

What is the best way to track flaky tests and monitor test stability?

Track test stability by monitoring test execution times and analyzing test health metrics to automatically identify flaky tests, ensuring continuous improvement in your software quality assurance process.

Can I enforce quality gates for defect metrics and code coverage in GitHub Actions?

Yes, you can enforce quality gates in GitHub Actions by automating checks for defect density, MTTD, MTTR, and code coverage to prevent the deployment of substandard code through your CI/CD workflow.

How do I configure SimpleCov to enforce a minimum 85% code coverage threshold?

Configure SimpleCov in Ruby projects to track line, branch, and function coverage, explicitly setting an 85% minimum threshold to identify untested code and enforce quality standards.

Why track defect detection rates and mean time to recover in software engineering?

Tracking defect detection rates, MTTD, and MTTR analyzes defect metrics to measure software quality, providing data-driven insights that drive continuous improvement and adherence to development standards.

Does this quality metrics tracking work with Istanbul/NYC for JavaScript projects?

Yes, quality metrics tracking supports Istanbul/NYC alongside SimpleCov and GitHub Actions, enabling comprehensive code coverage analysis and test health monitoring across different development environments.