← ClaudeAtlas

nord-cleanuplisted

Multi-agent code cleanup — parallel detectors (dead code, duplication, AI-slop, over-abstraction, unused deps) fan out, each removal candidate is verified safe-to-remove (references + tests checked, conservative), producing a deletion-first plan. Use for "cleanup", "deslop", "remove dead code", "tidy this codebase".
juliuswiener/nord-kit · ★ 0 · AI & Automation · score 62
Install: claude install-skill juliuswiener/nord-kit
# nord-cleanup — multi-agent deletion-first cleanup Invoking this skill IS opt-in to multi-agent orchestration. Run the Workflow tool with the script below. Default scope: recently changed files / the path the user named — pass as `args.target`. This is REPORT-FIRST: the workflow returns a verified deletion plan. Present it, then apply removals only after the user confirms (or if they said "apply"/"--fix"). Never delete on a candidate that wasn't marked `safeToRemove`. ```javascript export const meta = { name: 'nord-cleanup', description: 'Parallel detect + verify-safe code cleanup', phases: [ { title: 'Detect', detail: 'parallel detectors' }, { title: 'VerifySafe', detail: 'confirm each removal is safe' }, ], } const target = (args && args.target) || 'this codebase (prefer recently changed files if a git diff exists)' const DETECTORS = [ { key:'dead-code', prompt:'Unreachable / unused functions, variables, exports, whole files.' }, { key:'duplication', prompt:'Duplicated logic that should be unified into one implementation.' }, { key:'ai-slop', prompt:'AI-generated slop: redundant comments restating code, needless defensive cruft, ceremonial wrappers, dead scaffolding.' }, { key:'over-abstraction', prompt:'Premature/single-use abstraction, indirection with one caller, config for things that never vary.' }, { key:'unused-deps', prompt:'Unused imports and package dependencies.' }, ] const CAND_SCHEMA = { type:'object', pro