feat(skills): add simplify bundled skill#158
Merged
emal-avala merged 4 commits intomainfrom Apr 22, 2026
Merged
Conversation
A review-then-simplify pass targeted at the current diff: flag dead branches, unused imports, premature abstractions, speculative error handling, defensive copies, and comments that restate the code. For each finding, cite file:line, explain why it's dead weight, and propose the concrete removal. Constraints baked into the prompt: stay inside the diff, don't invent new abstractions, don't touch anything load-bearing that isn't obvious from reading — call it out instead.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
3 tasks
# Conflicts: # crates/lib/src/skills/mod.rs
# Conflicts: # crates/lib/src/skills/mod.rs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds `/simplify` — runs a review-then-simplify pass on the current diff. Flags things the repo's house style calls dead weight:
For each, reports file:line + concrete fix. Stays inside the diff; doesn't invent abstractions; calls out anything load-bearing-but-non-obvious instead of touching it.
Why
Complements `/review` (which hunts for bugs/security issues) — this one hunts for code that shouldn't exist. Runs the same lens the house style doc prescribes ("Three similar lines is better than a premature abstraction", "Default to writing no comments", "Don't add error handling for scenarios that can't happen") so you don't have to rewrite the lens in every invocation.
Test plan