omp packages

pi-simplify0.2.3

A Pi extension that reviews recently changed code for clarity, consistency, and maintainability.

GitHub Actions Published 3 months ago MIT ~45.9K downloads/mo

Works on omp

1 of 1 report says this package works on omp.

1 works0 broken

Did it work for you?

Result

One report per person. A new report replaces your old one.

Reports 1

  • worksv0.2.3 · 3 hours ago

    Automated load test on omp 18.12.3: `omp plugin install` succeeds and the package loads with no errors. It adds commands /simplify. Runtime behavior was not exercised.

Readme

pi-simplify

A Pi extension that reviews recently changed code for clarity, consistency, and maintainability improvements.

Installation

pi install npm:pi-simplify

Usage

Review all uncommitted changes

/simplify

Review only staged changes

/simplify --staged

Review specific files

/simplify src/foo.ts src/bar.ts

Diff against a specific branch

/simplify --ref=main

What it does

When invoked, /simplify detects changed files and line ranges (via git diff) and instructs the agent to review only those changed lines with these principles:

  • Preserve functionality: never change what the code does
  • Apply project standards: follow conventions from CLAUDE.md / AGENTS.md
  • Enhance clarity: reduce complexity, eliminate redundancy, improve naming
  • Maintain balance: avoid over-simplification

The agent may read surrounding code for context, but edits stay within the changed line ranges. Newly added files are reviewed in full. It applies improvements one file at a time, runs tests to verify nothing breaks, and summarises the changes.

License

MIT