Codebase quality patrol — detect dead code, stale docs, pattern duplication
Scanned 9/3/2026
Install to Claude Code
npx -y skills add pactkit/claude-code-plugin --skill pactkit-garden --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Pactkit Garden?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/pactkit-pactkit-garden-claude-code-plugin)More formats (shields.io, HTML) on the badges page.
---
name: pactkit-garden
description: "Codebase quality patrol — detect dead code, stale docs, pattern duplication"
model: sonnet
---
# PactKit Garden
Codebase entropy detection — scans for dead code, stale documentation, and pattern duplication.
## When Invoked
- Periodically (weekly) to prevent codebase entropy accumulation.
- Before release to ensure cleanup.
- As part of Sprint QA flow.
## Protocol
### 1. Run Garden Scan
Run `pactkit garden` to perform automated quality checks:
- **Dead Imports**: Unused Python imports (F401-equivalent).
- **Empty Except**: Bare `except: pass` blocks.
- **Stale Docs**: Done specs referencing deleted files, orphaned test cases, stale context.md.
- **Duplicate Functions**: Same function signature in multiple modules.
- **Stale Canonical Copies**: Inline copies that diverged from their canonical source.
### 2. Interpret Results
- Exit 0: No findings — codebase is clean.
- Exit 1: Findings detected — review and address.
### 3. Options
- `pactkit garden --json` — machine-readable output for CI integration.
- `pactkit garden --scope <path>` — scan specific directory only.
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!