Skip to content
Agentmart
Submit a tool

code-quality-scan

Automated cross-repo code quality scanning for AprovanLabs.

Skill by AprovanLabs

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/aprovanlabs-code-quality-scan

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Automated cross-repo code quality scanning for AprovanLabs. Scans all repos for lint errors, type errors, dead code, duplication, config drift, and dependency misalignment, then creates scoped improvement issues under the Code Quality Sentinel initiative.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/code-quality-scan

What's inside

Skill name
code-quality-scan
Description
Automated cross-repo code quality scanning for AprovanLabs. Scans all repos for lint errors, type errors, dead code, duplication, config drift, and dependency misalignment, then creates scoped improvement issues under the Code Quality Sentinel initiative.
License
MIT
Instructions
307 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Code Quality Scan

This skill defines the Sentinel scanning workflow — a systematic, cross-repo quality audit that discovers lint errors, dead code, duplication, config inconsistencies, and dependency drift across all AprovanLabs repositories, then creates scoped improvement issues.

---

## Per-Repo Scan Config

| Repo | Language | Scan Tools | Notes |
|---|---|---|---|
| core | TypeScript | eslint, tsc, knip, jscpd | Monorepo with pnpm |
| registry | TypeScript | eslint, tsc, knip, jscpd | Monorepo with pnpm |
| apprentice | TBD | TBD | Investigate stack before scanning |
| patchwork | TBD | TBD | Investigate stack before scanning |
| zolvery | TBD | TBD | Investigate stack before scanning |
| projects | TBD | TBD | Investigate stack before scanning |
| aprovan.com | TypeScript | eslint, build | Static website |
| data-science | Python | flake8, mypy, jscpd | Python stack |

---

## Phase 1 — Repo Discovery

1. List all AprovanLabs repos from the workspace:

```bash
multica repo checkout https://github.com/AprovanLabs/core
multica repo checkout https://github.com/AprovanLabs/registry
multica repo checkout https://github.com/AprovanLabs/apprentice
multica repo checkout https://github.com/AprovanLabs/patchwork
multica repo checkout https://github.com/AprovanLabs/zolvery
multica repo checkout https://github.com/AprovanLabs/projects
multica repo checkout https://github.com/AprovanLabs/aprovan.com
multica repo checkout https://github.com/AprovanLabs/data-science
```

2. For each repo, identify its type:
   - **TypeScript**: has `tsconfig.json` and/or `package.json` with TypeScript deps
   - **Python**: has `pyproject.toml`, `setup.py`, or `.python-version`
   - **Mixed**: both TypeScript and Python indicators
3. Select applicable scan tools from the per-repo config table above
4. For repos marked TBD: run a quick investigation (`ls`, read `package.json`/`pyproject.toml`), update the config table, and note findings

---

## Phase 2 — Per-Repo Scanning

For each repo, run the applicable scan tools. Capture all findings with file paths, line numbers, and severity.

### 2.1 Deslopify Scan

If `deslopify` is available and configured for the repo:

```bash
deslopify scan --path .
deslopify backlog
```

Capture the backlog items as findings.

### 2.2 Lint (TypeScript repos)

```bash
pnpm lint
```

Capture every lint error with file, line, rule name, and message. Warnings are informational; errors are high-severity.

### 2.3 Type Check (TypeScript repos)

```bash
pnpm typecheck
```

Capture every type error with file, line, and message. Type errors are high-severity.

### 2.4 Dead Code Detection

```bash
npx knip --no-progress
```

Capture unused exports, unreachable files, and duplicate dependencies. Severity: medium.

### 2.5 Duplicate Code Detection

```bash
npx jscpd --threshold 5
```

Capture duplicate blocks with file pairs and line ranges. Severity: medium.

For Python repos, use AST-based duplication tools or manual review.

### 2.6 Python Lint and Type Check

```bash
flake8 . --count --statistics
mypy . --ignore-missing-imports
```

### 2.7 Missing Shared Config Check

Check whether the repo uses shared AprovanLabs config packages:

- `@aprovan/eslint-config` — shared ESLint config
- `@aprovan/tsconfig` — shared TypeScript config
- `@aprovan/prettier-config` — shared Prettier config

```bash
cat package.json | python3 -c "
import json, sys
pkg = json.load(sys.stdin)
deps = {**pkg.get('dependencies', {}), **pkg.get('devDependencies', {})}
shared = ['@aprovan/eslint-config', '@aprovan/tsconfig', '@aprovan/prettier-config']
for s in shared:
    if s not in deps:
        print(f'MISSING: {s}')
    else:

From AprovanLabs/registry, MIT.

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Jun 7, 2026 (4 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from AprovanLabs

Cite this page

code-quality-scan skill. Agent Mart. https://agentmart.dev/skills/aprovanlabs-code-quality-scan (last updated 2026-10-24)