Skip to content
Back to skills

Scan Quality

ASecurity

Inspect quality evidence and keep the debt register current.

  • 15 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 28, 2026
ai-agentsgonodebackend

Security analysis

A100/100

Scanned November 9, 2026

npx -y skills add AIDDbot/AIDDbot --skill scan-quality --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Scan Quality?

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

Security grade badge for Scan Quality
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aiddbot-scan-quality/badge)](https://www.skillsdirectory.com/skills/aiddbot-scan-quality)

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

SKILL.md
---
name: scan-quality
description: Inspect quality evidence and keep the debt register current.
metadata:
  aiddbot-kind: primitive
user-invocable: true
---
# scan-quality

Your goal is to review the shipped quality and keep the technical debt register current.

The scan has two modes. Each mode owns one level of debt:

| Mode | Command | Checks | Debt |
| --- | --- | --- | --- |
| medium (default) | `node .agents/aidd/aidd.mjs run layers` | the logical layers, duplicated code, folder size | `medium` |
| low, when the caller asks | `node .agents/aidd/aidd.mjs run crap` | the complexity limits, the test coverage | `low` |

Run the scan for all projects, unless the human names one. Never edit code, write tests, or run `test`.

Never measure code yourself: the limits of the code rules and of the project rules reach you only through these commands. Never replace a command with a stricter invocation or with the lint of the pre-commit hook. A project without a `layers` command is unavailable. In the low mode, read `references/crap-findings.md` before you record debt.

Read the open debt with `node .agents/aidd/aidd.mjs debt list`. A `layers` run owns the `medium` items. A `crap` run owns the `low` items. Make the items that the run owns agree with it. Change them only through `node .agents/aidd/aidd.mjs debt`:

- Remove an item with `debt remove <id>` only when its check ran and no longer shows it. A check that could not run removes nothing.
- Add an item with `debt add "<title>" <priority> "<evidence>" --project <name>`. The project is the one whose run reported the finding. Add it only when current evidence shows a concrete impact. Also make sure that no open item describes it already.
- A `layers` finding is always `medium`. A `crap` finding is always `low`: it improves code that works. The review and the triage of a spec record the `high` debt.
- A `layers` run records one item for each finding, or for each file and rule.
- Never record one item for a project or a gate, such as "backend quality fails". Each item must be possible to repair alone.
- An unavailable check alone is not debt.
- When the run result has `folders`, `subfolders`, or `duplicates`, read `references/structure-findings.md`.

Quality never blocks shipping. Never ask the human if it must.

The result is a current debt register.

The core commits each change as `docs(quality): add|remove {D ID}`.

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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.