Skip to content
Back to skills

Quality Fundamentals Quality Decision Matrix

ASecurity

Chooses between ESLint, SonarQube, dead-code cleanup, and technical debt cleanup based on risk, scope, evidence, and the kind of quality failure the codebase is showing.

  • 4 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 2, 2026
code-qualityjavascripttypescriptgojavanode

Security analysis

A100/100

Scanned October 2, 2026

npx -y skills add janpereira-dev/ngAutoPilot --skill quality--fundamentals--quality-decision-matrix --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Quality Fundamentals Quality Decision Matrix?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Quality  Fundamentals  Quality Decision Matrix
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/janpereira-dev-quality-fundamentals-quality-decision-matrix/badge)](https://www.skillsdirectory.com/skills/janpereira-dev-quality-fundamentals-quality-decision-matrix)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
id: quality.fundamentals.quality-decision-matrix
name: Quality Decision Matrix
description: >
  Chooses between ESLint, SonarQube, dead-code cleanup, and technical debt cleanup based on risk, scope, evidence, and the kind of quality failure the codebase is showing.
stack:
  - JavaScript
  - TypeScript
category: quality
status: stable
version: 0.10.0
owner: NgAutoPilot
triggers:
  - quality decision matrix
  - choose quality tool
  - eslint or sonarqube
  - quality triage matrix
  - cleanup decision
compatibility:
  runtime:
    browser: true
    node: true
---

# Quality Decision Matrix

## Purpose

Use this skill to choose the right quality primitive for a given problem.

It belongs under `quality/fundamentals` because it coordinates the choice between lint, SonarQube, dead-code cleanup, and technical debt cleanup.

The core rule is simple:

```txt
Choose the smallest quality tool that can prove the problem and fix it safely.
```

## When to Use

Use this skill when:

- a quality issue could be solved by more than one skill
- the team needs a fast routing decision
- the cleanup should stay small and bounded
- the wrong quality tool would cause over-refactor

## Do

Use this decision order:

```txt
1. ESLint if the issue is rule-based or suppression-based
2. SonarQube if the issue is gate/measure based
3. No-dead-code if the issue is unused surface or unreachable logic
4. Technical debt if the issue should be tracked and repaid in hops
```

Consider:

- evidence available
- blast radius
- build/test risk
- whether the issue is local or workspace-wide

## Do Not

Avoid using Sonar for a lint-only problem.

Avoid using ESLint for a debt-tracking decision.

Avoid cleaning dead code without verifying contracts.

Avoid broad refactors when the decision matrix is enough.

## Review Checklist

- [ ] The problem type is identified.
- [ ] The smallest correct quality tool was chosen.
- [ ] The hop stays bounded.
- [ ] The output is actionable.

## Expected Output

1. Classify the quality problem.
2. Choose the smallest viable quality primitive.
3. Explain why the other options were rejected.
4. Keep the cleanup bounded.
5. Point to the next specialized skill if needed.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…