clean-codebase

Installation
SKILL.md

Clean Codebase

Run a repository-wide cleanup with eight specialized subagents. Preserve behavior unless the user explicitly requests a product or API change. Prefer deletion and direct code over new abstraction, but do not force uniformity where concepts only look similar.

Read references/workstreams.md before creating subagents. Use its lane briefs verbatim enough that every agent receives the evidence standards and output contract.

Establish the Baseline

  1. Read repository instructions, manifests, workspace configuration, and the current Git status.
  2. Identify generated, vendored, migration, fixture, snapshot, FFI, and compatibility surfaces that require special handling.
  3. Record the repository's existing validation commands and run the cheapest useful baseline checks. Distinguish pre-existing failures from regressions.
  4. Preserve unrelated dirty work. Never reset, overwrite, stage, commit, or reformat changes outside this cleanup.
  5. Treat the whole repository as in scope only when the user did. Respect any narrower path, package, language, or validation boundary.

Create Exactly Eight Subagents

Create one named subagent for each numbered workstream:

Installs
17
Repository
lassejlv/skills
GitHub Stars
43
First Seen
Aug 13, 2026
clean-codebase — lassejlv/skills