Skip to content
Back to skills

Skillweave Repo Health

ASecurity

Assess repository health, classify files, detect duplicates, and produce safe cleanup plans.

  • 4 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 3, 2026
ai-agentsgonodetestinggit

Works with

  • mcp

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned September 3, 2026

npx -y skills add LangeVC/skillweave --skill skillweave-repo-health --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Skillweave Repo Health?

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

Security grade badge for Skillweave Repo Health
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/langevc-skillweave-repo-health/badge)](https://www.skillsdirectory.com/skills/langevc-skillweave-repo-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
---
facade: true
experimental: true
name: skillweave-repo-health
description: "Assess repository health, classify files, detect duplicates, and produce safe cleanup plans."
argument-hint: 'command="[scan|report|classify|archive|duplicates|cleanup|manifest]" path="[path]"'
---

# /skillweave-repo-health

> Canonical metadata is English. User-facing artifacts follow the output language setting.

Repo Assessment & Cleanup — Inventory-Scan, 5-Class-Klassifikation, Duplikatserkennung, Archivierung, Hygiene-Report.

## 5-Class-Klassifikation

| Klasse | Bedeutung |
|---|---|
| **Active Core** | Aktiv genutzte Kern-Dateien (src/, tests/, config) |
| **Consolidation** | .gitkeep, readme, Doku — kann zusammengelegt werden |
| **Legacy** | Alte Build-Artefakte, Backup-Dateien, migrations/ |
| **Deprecated** | __pycache__, .DS_Store, node_modules (sollte in .gitignore) |
| **Needs Review** | Nicht klassifizierbar — menschliche Prüfung nötig |

## Commands

| Command | Beschreibung |
|---|---|
| `scan` | Inventory erstellen (alle Dateien + Metadaten) |
| `classify` | 5-Category Klassifikation auf Inventory |
| `duplicates` | Duplikate via MD5/Fuzzy finden |
| `archive` | Pfade nach archive/ verschieben |
| `restore` | Aus Manifest restaurieren |
| `cleanup` | Trocken (default) oder echt ausführen |
| `report` | Hygiene-Score A–F + Empfehlungen |

## Safety

- **`dry_run=true` ist Default** — keine Änderungen ohne Genehmigung
- `cleanup` erfordert explizite `--apply` Flag
- `archive` erstellt immer ein `manifest.json` für Restore
- **3-Sekunden-Regel**: Vor Cleanup wird gewartet + Zusammenfassung angezeigt

## Testing

1. `scan` + `classify` — Inventory korrekt, Klassifikation plausibel
2. `duplicates` — MD5-Exact-Treffer, Fuzzy-Ähnlichkeit
3. `archive` + `restore` — Roundtrip (Datei→archiv→zurück)
4. `report` — Score-Berechnung A–F, alle 5 Klassen repräsentiert

## Usage

Invoke the skill by its name with a `command` and `path` argument. The skill is
host-neutral; no executable prefix is required — route it through any host on
any supported transport (Markdown or MCP).

```text
skillweave-repo-health command="scan" path="./src"
skillweave-repo-health command="classify" path="."
skillweave-repo-health command="report" path="."

# Dry-run cleanup (default)
skillweave-repo-health command="cleanup" path="."

# Archive duplicates
skillweave-repo-health command="duplicates" path="."
skillweave-repo-health command="archive" path="."

# Restore from manifest
skillweave-repo-health command="restore" path="./archive"
```

Host-specific invocation examples (non-binding adapters) live in
[`references/adapters/`](references/adapters/).

Files in this skill

  • SKILL.md2.6 KB
  • capability.yaml495 B
  • references/adapters/opencode.md1.1 KB

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…

Newsletter

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