Documentation
Everything you need to enhance your AI
Enhance is an AI prompt middleware that rewrites your vague coding prompts into structured, project-aware instructions before sending them to Claude Code, OpenCode, or Codex CLI.
Quick start
Terminal
# Install globally
npm install -g @0xdevabir/enhance
# Install /enhance slash command into your AI tools
enhance setup
# Use inside Claude Code / OpenCode / Codex CLI
/enhance build a login page
How it works
Project scanning
Reads package.json, tsconfig, folder structure to detect your full stack.
Intent analysis
Understands action (create/fix/refactor), entity (page/API/component), and feature domain.
Prompt rewriting
Injects framework rules, security best practices, and existing code patterns.
Approval loop
Shows you the enhanced prompt. Refine with 'no', execute with 'yes'.