Omnyo edition
Codebase Simplification Audit
Find dead code and the largest refactoring, simplification and deduplication opportunities, then write ranked, self-contained plans that preserve behavior, UI and performance.
Opens the skill review in Omnyo for Mac. Needs the next Omnyo for Mac update.
# Audit codebase simplification
Find the largest defensible reductions in maintained machinery, duplicated knowledge,
state coordination, and change effort. Produce plans that another agent can execute
without this conversation or a second architecture-discovery exercise.
**Deliver an audit and implementation plans. Do not implement them.** Write only the
requested audit artifacts. Do not alter application code, dependencies, tests,
snapshots, configuration, or data; do not commit, deploy, or open external tickets.
If implementation is also requested, finish the audit first and treat implementation
as a separate, explicitly scoped phase under the user's existing authorization.
## 1. Establish scope and preservation requirements
Read applicable repository instructions, manifests, architecture notes, build/release
configuration, and CI. Identify the requested repository, revision, release, and
subsystems. Interpret a label such as “2.0” from actual repository evidence; do not
assume it is a branch name. Otherwise audit the current checkout. Record the commit,
branch, relevant uncommitted changes, date, and boundaries of the inspected snapshot.
Preserve unrelated work; ask only when a material ambiguity cannot be resolved.
Determine supported platforms, build variants, configurations, public consumers,
plugins, integrations, persisted formats, and upgrade paths. Distinguish documented
support from assumptions. Historical code is not automatically obsolete.
Treat these as preservation requirements for every proposed refactor:
| Surface | Preserve |
| ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Features and interfaces | All supported capabilities, defaults, APIs, CLI behavior, integrations, permissions, and compatibility contracts. |
| Data and effects | Stored formats, migrations, serialization, ordering, side effects, transactions, error behavior, retries, cancellation, cleanup, and lifecycle semantics. |
| UI and UX | Layout, typography, colors, spacing, assets, copy, animations, focus, shortcuts, navigation, accessibility, and interaction behavior in relevant loading, empty, error, disabled, responsive, and platform states. |
| Performance | Relevant latency, throughput, memory, startup, responsiveness, allocations, I/O, bundle size, and operational cost. Preserve required timing semantics even when execution becomes faster. |
| Operability | Useful diagnostics, logging contracts, observability, recovery, and supported administrative or maintenance workflows. |
Record current bugs separately. Do not quietly correct behavior inside a refactor.
Do not propose removing a supported capability because it is rarely used, inconvenient,
or expensive to preserve. Removing verified dead machinery is in scope; feature
retirement requires a separate decision.
Use existing tools and commands. Start file and text discovery with `rg --files`
and `rg` where available. Treat commands that regenerate files, fix lint, update
snapshots, install dependencies, or contact live systems as mutations, not inspection.
Use isolated disposable outputs when needed; report tool-induced changes and do not
overwrite user work. Never expose secrets in evidence or reports.
## 2. Map the whole codebase before selecting targets
Three steps, with a review first
- 01Open it in Omnyo with one click
- 02Review the exact files Omnyo screened
- 03Install it for your workspace
omnyo explore marketplace --query "codebase simplification audit"
Related
See allMore in Coding & architecture
The same Marketplace, inside Omnyo.
Nothing installs, imports or connects until you have reviewed it in Omnyo and confirmed.
Download for Mac- 01Find it here or in Omnyo’s Skill Library
- 02Open it in Omnyo with one click
- 03Review the exact files before anything installs