Zum Inhalt springen
Kitbay
Skill

simplify-codebase

Apache-2.0Aktualisiert am 11. Nov. 202695.447GitHub-Sterne

A skill kept in the Archify repository, marked internal in its metadata though written for any language, for finding and removing accidental complexity: dead code, duplicated state, redundant APIs or layers, abstractions nobody owns and outdated compatibility code.

Was der Skill vermittelt

A skill kept in the Archify repository, marked internal in its metadata though written for any language, for finding and removing accidental complexity: dead code, duplicated state, redundant APIs or layers, abstractions nobody owns and outdated compatibility code. It runs either as a read-only survey that ranks candidates with evidence, or, when the user authorises changes, as a change mode that makes the strongest cut and validates it before the next. Before ranking anything, the agent reads the repository's rules and decision records, maps public, persisted and generated contracts, and records for each candidate its cost, consumers, exact cut, lost behaviour and a check that would catch a mistake. Security and stored formats are off-limits.

Funktionen

  • Survey a codebase for removable complexity
  • Record evidence and risk for each candidate cut
  • Make and validate authorised simplifications one at a time
  • Report rejected and unresolved candidates