# Curating Code

> Analyze a codebase for vibe-coding cruft — dead code, excessive complexity, duplication, and inconsistent patterns — then selectively fix issues to produce clean, senior-engineer-quality code.

- **Type:** Skill
- **Install:** `agentstack add skill-dbinky-dbinky-skill-set-curating-code`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [dbinky](https://agentstack.voostack.com/s/dbinky)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [dbinky](https://github.com/dbinky)
- **Source:** https://github.com/dbinky/dbinky-skill-set/tree/main/skills/curating-code

## Install

```sh
agentstack add skill-dbinky-dbinky-skill-set-curating-code
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Codebase Curation

Analyze a codebase (or targeted path) for vibe-coding cruft using four parallel specialist agents. Consolidates findings into a prioritized report, lets you select which issues to address, and implements the fixes.

## Usage

```
/curating-code              # Sweep the entire codebase
/curating-code src/          # Curate a specific directory
/curating-code lib/auth.ts   # Curate a specific file
```

## Pipeline

```
Scope & Detect → [Dead Code Hunter | Complexity Reducer | Duplication Consolidator | Consistency Enforcer] → Consolidate → Report → Select → Implement
```

## Specialists

| Agent | Finding Prefix | Focus |
|-------|----------------|-------|
| Dead Code Hunter | `DC-` | Unused functions, unreachable branches, orphaned files, stale imports |
| Complexity Reducer | `CX-` | Over-abstraction, deep nesting, convoluted control flow, god functions |
| Duplication Consolidator | `DU-` | Near-identical blocks, copy-paste patterns, consolidation opportunities |
| Consistency Enforcer | `CN-` | Divergent patterns, mixed conventions, conflicting approaches |

## Process

Read and follow the orchestrator instructions exactly:

**Orchestrator file:** `agents/curation-orchestrator.md` (relative to this plugin's root)

The orchestrator will:
1. Verify git repository and resolve target scope
2. Detect languages and frameworks, load applicable curation rule files
3. Dispatch all four specialist agents in parallel
4. Consolidate findings: deduplicate, cross-reference, resolve conflicts, assign tiers
5. Present a categorized curation report (Critical / Important / Consider / Cosmetic)
6. Let you select which findings to address (by tier or individually)
7. Dispatch the curator implementer for selected fixes

**IMPORTANT:** Read the orchestrator file using the path `${CLAUDE_PLUGIN_ROOT}/agents/curation-orchestrator.md` and follow it exactly.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [dbinky](https://github.com/dbinky)
- **Source:** [dbinky/dbinky-skill-set](https://github.com/dbinky/dbinky-skill-set)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-dbinky-dbinky-skill-set-curating-code
- Seller: https://agentstack.voostack.com/s/dbinky
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
