本文へスキップ
Kitbay
スキル

simplify-codebase

Apache-2.02026年11月11日 更新95,447GitHubスター

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.

スキルの内容

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.

できること

  • 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