The Ultimate AI Prompt Engineering Tool - Transform any raw prompt into a powerful, optimized prompt using advanced AI techniques.
RePRo is a free, open-source Chrome Extension that acts as "Grammarly for AI Prompts" — paste any prompt and get an optimized version that works better with ChatGPT, Claude, Gemini, Midjourney, DALL-E, Sora, and more.
| Feature | Description |
|---|---|
| 🧠 Context-Aware Enhancement | Auto-detects prompt type (text, code, image, video) and applies specialized optimization |
| 🎯 One-Click Optimization | Paste any prompt → Click "Enhance" → Get a 3-5x more effective prompt |
| 📋 Copy to Clipboard | One-click copy for immediate use |
| 🔄 Compare View | Side-by-side original vs enhanced comparison |
| 🌙 Beautiful Dark UI | Sleek neon glow design with smooth animations |
| 🔐 Secure API Keys | Your keys never leave your browser |
| 🆓 Free Models | Works with free OpenRouter models |
RePRo automatically detects and optimizes prompts for:
- Adds style, lighting, composition, and quality modifiers
- Structure:
[Subject], [Action], [Environment], [Style], [Lighting], [Quality]
- Adds motion, camera movement, scene transitions
- Structure:
[Scene], [Camera], [Motion], [Transition], [Duration], [Quality]
- Uses XML/JSON structured requirements
- Includes input/output examples and error handling
- JSON schema for expected output
- Clear aggregation and transformation rules
- Chain-of-Thought reasoning
- Role prompting for expertise
RePRo applies industry-standard prompt engineering techniques:
- ⛓️ Chain-of-Thought (CoT) - Step-by-step reasoning
- 🎭 Role Prompting - Expert persona assignment
- 📝 Few-Shot - Example-based formatting
- 🌳 Tree of Thoughts (ToT) - Multiple solution paths
- 📋 Structured Templates - Reusable formats
- 🏷️ XML Prompting - Tagged structured sections
- 📦 JSON Prompting - Schema-based output
-
Clone the repository
git clone https://github.com/pavank-code/RePRo.git cd RePRo -
Install dependencies
npm install
-
Build the extension
npm run build
-
Load in Chrome
- Open
chrome://extensions - Enable "Developer mode"
- Click "Load unpacked"
- Select the
distfolder
- Open
-
Configure API Key
- Click the extension icon
- Click ⚙️ Settings
- Choose Gemini or OpenRouter
- Enter your API key
| Provider | Link | Notes |
|---|---|---|
| OpenRouter | openrouter.ai/keys | Free models available ⭐ |
| Gemini | aistudio.google.com/apikey | Free tier with limits |
- Frontend: React 18 + TypeScript
- Build: Vite
- Extension: Chrome Manifest V3
- APIs: Gemini, OpenRouter (supports 20+ models)
- Styling: Custom CSS with neon effects
RePRo/
├── src/
│ ├── popup/ # Main popup UI
│ ├── components/ # React components
│ ├── services/ # API integrations
│ ├── utils/ # Enhancement logic
│ └── styles/ # CSS styles
├── dist/ # Built extension
├── manifest.json # Chrome extension config
└── package.json
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
If you find RePRo useful, please ⭐ star the repository!
- GitHub: github.com/pavank-code/RePRo
- Issues: Report bugs or request features
- Author: @pavank-code
RePRo - Refined Prompt Enhancer | AI Prompt Engineering Tool
prompt enhancer • prompt optimizer • AI prompt tool • ChatGPT prompt • Midjourney prompt • DALL-E prompt • prompt engineering • AI writing assistant

