SkillsReviewed · EveryInc

ce-simplify-code

ce-simplify-code is a skill for developers using AI coding agents to simplify code, but preserving behavior depends on agent judgment and project checks. It coordinates reviews of reuse, quality, efficiency, tests and comments, with an additional structural review for some standalone audits.

Researched 16 Nov 2026

In short.

ce-simplify-code is a refactoring skill for developers using AI coding agents, but its instructions cannot guarantee that edits preserve behavior. It offers a standalone mode that normally reports findings before editing and a pipeline mode that applies fixes automatically within scope. Detailed reviewer prompts cover code reuse, quality, efficiency, tests, comments and structural relationships. Safety checks and pipeline proof tests receive explicit protection. The skill and helper were not executed; compatibility, refactoring quality, runtime and total cost remain unassessed.

Researched and written by an AI model and checked by a second AI model. How it works

The scope is skills/ce-simplify-code at commit ee46dde75a40e297bd8eac4055a410a771d3ac1d: SKILL.md, six reviewer personas, four supporting guides and scripts/structure-evidence.py, plus the repository-root LICENSE. Other skills, repository-wide installation metadata, host implementations and model services are outside scope. The source supports analysis of documented behavior and helper code; no installation, command, review, edit or verification check was executed.

The overview

identity

ce-simplify-code belongs to EveryInc/compound-engineering-plugin. The resource is the skills/ce-simplify-code folder: an instruction file, supporting review prompts and guides, and a Python helper. It is loaded by a coding assistant rather than used as a standalone refactoring application.

The examined source is pinned to commit ee46dde75a40e297bd8eac4055a410a771d3ac1d [https://github.com/EveryInc/compound-engineering-plugin/tree/ee46dde75a40e297bd8eac4055a410a771d3ac1d/skills/ce-simplify-code].

assessment

Its strongest feature is the specificity of its review rules. Simplification means clearer, explicit code while preserving outputs, errors, side effects and ordering; fewer lines are not the goal. Findings that cannot meet that standard must be skipped.

The main tradeoff is delegation of consequential decisions to an AI assistant, including whether tests and comments deserve removal. Detailed safeguards constrain those decisions, but their effectiveness has not been demonstrated by execution or comparative results.

users

The intended users are developers reviewing recent implementation work, maintainers auditing existing code, and teams adding a simplification step before review. Explicit requests can target a file, directory, repository, tests or comments.

Beginners can start with a standalone report and inspect findings before authorizing edits. Experienced developers can integrate the pipeline mode, provide protected test paths and constrain structural decisions. The skill excludes documentation, prompts, configuration, generated files, vendored files, dependencies and lockfiles from code simplification.

capabilities

Core reviewers look for equivalent existing helpers, redundant state, unnecessary parameters, duplicated logic, weak abstraction boundaries, unused code and wasted computation. Efficiency review also covers repeated I/O, missed concurrency, memory cleanup and overly broad operations.

The test reviewer distinguishes useful behavioral coverage from false-confidence tests, implementation coupling and duplicate coverage. A deletion recommendation requires a passing test plus evidence that equivalent protection remains or that the test asserts nothing that could fail. Failing or unrunnable tests are possible defects rather than deletion candidates.

Comment review favors deletion, with exceptions including license notices, public API contracts, tool directives and externally imposed constraints. Structural review examines relationships that should change together, unnecessary dependencies and unsupported extension points.

Using it

requirements

The host assistant needs repository access and the ability to read the supporting prompt files. Applying findings also requires editing and command execution for project checks. The dispatch guide names Claude Code and Codex, but supported versions and working compatibility are not established.

Parallel subagents are the preferred review mechanism. Inline review is allowed when the platform lacks subagents or dispatch cannot recover. The structural helper requires Git and a working Python 3 interpreter; automatic import analysis covers JavaScript, TypeScript and Python, while other languages require additional evidence gathering.

The apply flow requires project-wide lint and type checking, plus tests chosen according to the affected area. Missing test, lint or typecheck configuration must be reported explicitly.

mechanism

A direct user request selects standalone mode, which normally stops after reporting findings. An explicit request to fix permits edits. A call from another skill, an assistant-initiated run or mode:pipeline selects pipeline behavior and applies worthwhile fixes without waiting for approval.

User-named scope takes priority. Otherwise the skill uses the branch diff against its base, falling back to staged and unstaged changes when no usable base exists. Reviews complete before fixes begin. Reviewers may inspect beyond scope to assess a finding, while edits remain bounded by the mutation rules.

Three core reviewers cover reuse, quality and efficiency, with test and comment reviewers added when relevant. Existing-code standalone audits also add structural review, except audits limited to tests or comments. A supplied size-cutoff:N can replace the team with one combined reviewer below N changed production-code lines; tests, fixtures and blank lines do not count toward that threshold.

setup

Keep SKILL.md, references and scripts together so the assistant can resolve the relative file paths. The selected folder does not establish a complete installation procedure for either named host, so an exact installation command is unknown.

Before use, identify the intended scope, project coding standards and available verification commands. For pipeline use, proof-test:path arguments identify tests that must remain unchanged. Each reviewer is supposed to receive its complete rubric, scope, mode and relevant constraints.

example

An illustrative request is: Use ce-simplify-code to review src/payments for simplification and report findings before editing. This selects a standalone audit of existing code. The documented flow gathers structural evidence and reports findings with locations and reasons before any later request to apply them.

For pipeline use, illustrative arguments are mode:pipeline size-cutoff:30 proof-test:tests/payment-regression.test.ts. Below 30 changed production-code lines, one combined reviewer runs; at 30 or above, the applicable reviewers run separately. The named proof test stays unchanged. These examples were not executed.

Assessment & evidence

limitations

No execution, compatibility test, benchmark or successful refactoring result is available. Instructions to preserve behavior do not prove equivalence, and project checks may leave behavior uncovered.

The structural helper uses regular expressions and path-resolution heuristics rather than full language analysis. By default it examines up to 400 non-merge commits and reports limited sets of leading relationships. Commits touching more than 25 code units are excluded from co-change pair counts. These choices can omit relationships; the source explicitly treats the numbers as investigative leads.

Pipeline mode can edit code and remove eligible tests or comments automatically. It explicitly protects safety checks and proof tests, but enforcement depends on the assistant following the instructions. Host-provider data handling and retention terms are unspecified.

reasoning

The design uses separate reviewer perspectives to make different kinds of maintenance problems explicit. Reuse suggestions require equivalent behavior, unused-code findings require project-wide investigation, and test deletion requires evidence that protection will not be lost.

Structural review adds a different question: whether code boundaries reflect what must change together. Git history and imports guide inspection, but findings must be confirmed in the code. Structural proposals that would change behavior can be reported, yet must not be applied as simplifications.

The comment policy is deliberately aggressive: doubt alone does not preserve a comment. Teams that rely on internal explanatory comments should inspect that rubric and supply written project standards before allowing automatic edits.

alternatives

For a narrow change, manual review supported by existing lint, typecheck and focused test commands may be sufficient. ce-simplify-code adds coordinated review perspectives and explicit pruning rules; comparative effectiveness has not been assessed.

Within the skill, a standalone report offers more opportunity to inspect findings than the automatic pipeline. Test-only and comment-only audits narrow the review further. For bug investigation, the main instructions point to ce-debug, whose behavior is outside the supplied material.

evidence

The source consists of twelve files in the skill folder and the repository-root license. It includes the main instructions, all six reviewer personas, dispatch and reporting guides, the optional single-pass rules, structural-pass instructions and the complete Python helper.

These files support descriptions of intended behavior and static observations about the helper. They do not supply execution logs, output from a real project, measured defect detection or evidence that edits preserved behavior. The main instruction source is [https://raw.githubusercontent.com/EveryInc/compound-engineering-plugin/ee46dde75a40e297bd8eac4055a410a771d3ac1d/skills/ce-simplify-code/SKILL.md].

Access & freshness

costs

Total operating cost is unknown. The supplied files give no model prices, subscription requirements, token budgets or measured runtimes. Model use, repository searches, structural analysis and project checks can all contribute time or compute cost.

The dispatch guide prefers a balanced mid-tier review model when the host exposes a suitable override, subject to explicit user or project choices. Otherwise reviewers can inherit the parent model. The optional combined review reduces the number of reviewers for small changes, but no measured savings or quality comparison is provided.

rights

The repository-root MIT License names Every as the 2025 copyright holder. It permits use, copying, modification, distribution, sublicensing and sale, provided the copyright and permission notices remain with copies or substantial portions.

The software carries no warranty under that license. These permissions cover the supplied resource; they do not establish terms for a separate assistant service or model provider. License source: [https://raw.githubusercontent.com/EveryInc/compound-engineering-plugin/ee46dde75a40e297bd8eac4055a410a771d3ac1d/LICENSE].

freshness

The supplied snapshot was captured on 16 November 2026 and pins every file to commit ee46dde75a40e297bd8eac4055a410a771d3ac1d. The original source address follows the changing main branch [https://github.com/EveryInc/compound-engineering-plugin/tree/main/skills/ce-simplify-code].

A release version, the commit's authoring date and changes after this snapshot are unknown. The capture date does not establish compatibility with current host releases.

actions

For an initial use, choose a bounded file or branch diff and request a standalone report. Inspect proposed test and comment removals, confirm the available project checks, and apply only findings whose behavioral effect you understand.

Before pipeline integration, identify proof tests explicitly and supply project standards and any structural decisions that must remain intact. Review skipped findings and failed checks as well as applied edits. Evaluate operating cost and refactoring quality on your own project before relying on automatic application.

Evidence for this report

LICENSEnotice · checked 2026-11-16
skills/ce-simplify-code/SKILL.mdselected · checked 2026-11-16