prompt-enhancer
Turns a short coding-agent prompt into a complete, repo-grounded spec before you send it. It's the ✨ Enhance from
omp-companion, packaged as an oh-my-pi extension, a
Claude Code plugin, a Google Antigravity IDE extension and an
Antigravity CLI (agy) plugin; omp and Claude Code also work inside Tern. Each host runs
the enhancer with its own CLI: omp with omp -p, Claude Code with claude -p, and Antigravity with agy -p (or
claude / omp via PROMPT_ENHANCER_ENGINE).
Modes
The three modes are a ladder, each holding everything of the one below it: fast ⊂ full ⊂ max. Nothing fast would name is
missing from full, and max is never narrower than full; the larger feature set comes on top.
| Mode | omp | Claude Code | Antigravity IDE | Antigravity CLI (agy) | The enhanced prompt | Lookups |
|---|
| fast | Alt+Shift+E, /enhance-fast | ::ef, /enhance-fast | Alt+Shift+E, Prompt Enhancer: Enhance (fast) | ::ef, /enhance-fast | Lean: the request, at most 5 notes the change cannot work without, every place it must reach (another client, screen, list or registry), assumptions, the checks | 6 |
| full | Alt+E, /enhance-full | ::e, /enhance-full | Alt+E, Prompt Enhancer: Enhance | ::e, /enhance-full | Complete spec: fast's content plus Surfaces (every place from the Reach inventory), Inferred requirements (data shapes, integration, lifecycle, failure paths, sibling flows, layout numbers), 3 to 8 Added features, the checks | 9 |
| max | Alt+Shift+M, /enhance-max | ::em, /enhance-max | Alt+Shift+M, Prompt Enhancer: Enhance (max) | ::em, /enhance-max | Best-in-class: full's content plus the draft read as a product brief and expanded into the feature set the best products of its kind have, placements included, and an Implementation plan | 12 |
Checks and settings
Every mode ends its "Done when" (fast: "Verification") with the same checks: the agent runs the repo's existing
typecheck, lint, unit-test or build commands, named exactly. Two settings, shared by all modes and both off by default,
change the rest:
| Setting | Off (default) | On |
|---|
tests | No new tests, regression tests included, unless your draft asks for them; the agent only fixes existing tests the change breaks. | The agent adds tests for the new behaviour, and a regression test for a bug fix, where the repo already has a test setup; without one the check is its build, and it sets up no test framework. |
smoke | No smoke runs unless your draft asks for one: a clean build is enough. No browser or Playwright runs, dev servers, emulators, devices, desktop automation or watchers, overriding the agent's own default to smoke-test. | After the checks the agent may run the app once (a dev server, a browser or Playwright, an emulator) to confirm the result renders and holds the layout numbers, and stops everything it started. |
Set them with the environment variables PROMPT_ENHANCER_TESTS and PROMPT_ENHANCER_SMOKE (1, true, yes or on;
anything else is off) in the environment omp, Claude Code or agy runs in, or with promptEnhancer.tests and
promptEnhancer.smoke in Antigravity IDE's settings (an environment variable that is set wins). A draft that asks for tests
or a smoke run gets them either way.
Reach
Full and max share the Reach rules (core/reach.md): a complete change works everywhere the repository makes it
reachable, not only in the file the draft names. For a feature, something new, a redesign, or a report that something is
missing or broken in one place, the enhancer