Skip to content
Back to skills

Plexer Health

ASecurity

Offline codebase health scanner (6 mechanical + 20 subjective dimensions, including doc/manifest/dependency link drift), prioritized triage queue, safe autofix/move refactoring, and treemap visualizer (`plexer health`). Activate on /plexer-health or requests to scan repo health, audit dead code, duplicates, coupling, doc/config drift, or slop, triage tech debt, or open health treemaps. Do not activate for HTTP `/health` endpoint bugs, generic `git diff` checks, or daily edits.

  • 4 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 27, 2026
ai-agentsbashrefactoringgit

Security analysis

A100/100

Scanned December 4, 2026

npx -y skills add infinit-works/plexer --skill plexer-health --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Plexer Health?

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

Security grade badge for Plexer Health
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/infinit-works-plexer-health/badge)](https://www.skillsdirectory.com/skills/infinit-works-plexer-health)

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
---
name: plexer-health
description: >-
  Offline codebase health scanner (6 mechanical + 20 subjective dimensions,
  including doc/manifest/dependency link drift), prioritized triage queue, safe
  autofix/move refactoring, and treemap visualizer (`plexer health`). Activate on
  /plexer-health or requests to scan repo health, audit dead code, duplicates,
  coupling, doc/config drift, or slop, triage tech debt, or open health treemaps.
  Do not activate for HTTP `/health` endpoint bugs, generic `git diff` checks, or
  daily edits.
---

# Plexer Health & Triage (`/plexer-health`)

Run deterministic codebase audits, link-drift checks (`repo_integrity`), prioritized triage queues, and scorecards ($0, offline) via `plexer health`.

## 1. Choose Scan Scope

- **PR or branch changes:** `plexer health scan --diff [base]` limits findings to modified files (`plexer health review --prepare --diff [base]` scopes subjective review packets to the diff).
- **Module audit:** `plexer health scan --in <scope...>` runs an ephemeral scoped scan without mutating global `.health/state.json`; `plexer health tree [--focus <dir>] [--detail]` maps hotspots first.
- **Full repository or CI:** `plexer health scan` updates `plexer/.health/state.json` (pass `--stateless` for read-only checks; `--only integrity` focuses on doc, manifest, workflow, dependency, and orphan-script drift).

## 2. Triage Loop (`next` -> verify -> `resolve`)

1. Pull the highest-leverage open items with `plexer health next [--count <n>] [--cluster <name>] [--lanes] [--read-only]`, or inspect grouped counts with `plexer health show --status open --by-detector`.
2. Before editing shared code or removing dead exports, check callers and doc/config links with `plexer callers <symbol> --links` and read exact spans with `plexer read`.
3. Apply fixes with native edit tools and run the narrowest applicable verification check.
4. Close verified items with a concrete verification note:

```bash
plexer health resolve <id> --confirm --note "Removed unused helper after confirming 0 callers; npm test passed"
```

## 3. Fix vs. Suppress Discipline

- Fix genuine defects, drift, duplication, and coupling issues rather than hiding them.
- Suppress only verified false positives or intentional architectural boundaries with a specific explanation:
  - False positive: `plexer health suppress <id> --false-positive --reason "<specific technical reason, >=15 chars>"` (bulk `>5` matches require `--confirm`).
  - Intentional trade-off (`wontfix`): `plexer health plan skip <id> --permanent --attest "I have actually reviewed <file> and am not gaming the score: <reason>"`.
- Never bulk-suppress open items to inflate scores.

## 4. Safe Mechanical Refactors

Preview automated edits before writing files, then inspect `git diff` and callers:

```bash
plexer health autofix --dry-run
plexer health autofix
plexer health autofix unused-imports --dry-run
plexer health move <src> <dst> --dry-run
```

`autofix` defaults to low-risk mechanical fixers (`debug-logs`, `unused-vars`, `luau-task-scheduler`); opt-in fixers (`unused-imports`, `unreferenced-exports`, `luau-strict-header`, `luau-hoist-getservice`) run by explicit name.

## 5. Status, Targeted Detectors & Visualization

- **Inspect queue and detectors:** `plexer health status [--read-only]`, `plexer health show [--status open] [--by-detector] [--limit <n>|--max all] [--code]`, `plexer health detect [--detector <name>]`, `plexer health review [--prepare [--diff [base]]|--run-batches]`.
- **Visualize treemap:** Run `plexer health viz [--output <file>]` or open `[Plexer Graph](sidecar://plexer/viz/?tab=treemap)`.

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.