Skip to content

A modern, AI-powered prompt optimization tool that helps you craft better prompts for various AI models. Features both free rule-based generation and AI-powered enhancement with support for multiple models and output formats.

Notifications You must be signed in to change notification settings

Justme017/Prompt-Wizard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

53 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Prompt Wizard Banner

πŸͺ„ Prompt Wizard

AI-Powered Prompt Enhancement for ChatGPT, Claude, Gemini & More

Web App Extension License

Version React TypeScript Chrome Extension Stars

Transform simple prompts into powerful AI instructions. Available as a Browser Extension and Web App.

Extension β€’ Web App β€’ Features β€’ API Support β€’ Contributing


🎯 What is Prompt Wizard?

Prompt Wizard enhances your AI prompts with structured formatting, context, and requirements - making your AI interactions more effective and productive. Like Grammarly, but for AI prompts!

Two Ways to Use:

  1. πŸ”Œ Browser Extension - Enhance prompts directly on ChatGPT, Claude, Gemini (Recommended)
  2. 🌐 Web Application - Standalone tool for prompt generation and management

πŸ”Œ Browser Extension

✨ Features

  • Auto-Detect: Floating enhancement button appears on AI chat platforms
  • Multiple Triggers:
    • ✨ Click the floating button
    • πŸ–±οΈ Right-click β†’ "Enhance Prompt"
    • ⌨️ Keyboard shortcut: Ctrl+Shift+E (Windows/Linux) or Cmd+Shift+E (Mac)
  • Works Everywhere: ChatGPT, Claude.ai, Google Gemini, Microsoft Copilot, and ALL websites
  • Instant Enhancement: Rule-based mode works offline, no API needed
  • AI-Powered (Optional): Supports OpenRouter & Google Gemini APIs
  • No Login Required: Works immediately after installation
  • Privacy-First: All processing happens locally, no data collection

πŸ“¦ Installation

Option 1: Download from Releases (Easiest)

  1. Download the Extension

    • Go to Releases Page
    • Download prompt-wizard-extension-v3.2.0.zip
    • Extract the ZIP file to a folder on your computer
  2. Install in Your Browser

    For Chrome / Brave / Edge / Opera:

    1. Open chrome://extensions (or brave://extensions, edge://extensions)
    2. Enable "Developer mode" (toggle in top-right corner)
    3. Click "Load unpacked" button
    4. Select the extracted 'extension' folder
    5. Done! The extension icon should appear in your toolbar πŸŽ‰
    

    For Firefox:

    1. Open about:debugging#/runtime/this-firefox
    2. Click "Load Temporary Add-on"
    3. Navigate to the extension folder and select manifest.json
    4. Note: Temporary add-ons are removed when Firefox closes
    

Option 2: Build from Source

# Clone the repository
git clone https://github.com/Justme017/Prompt-Wizard.git
cd Prompt-Wizard

# The extension is already built in the 'extension' folder
# Just load it as an unpacked extension (see Option 1, Step 2)

πŸš€ How to Use the Extension

  1. Visit any AI chat platform (ChatGPT, Claude, Gemini, etc.)
  2. Type your prompt in the text box
  3. Enhancement Options:
    • Wait for the ✨ floating button to appear β†’ Click it
    • Or select your text β†’ Right-click β†’ "Enhance Prompt"
    • Or select your text β†’ Press Ctrl+Shift+E
  4. Review the enhanced prompt in the modal
  5. Copy or Apply the enhancement to your input

βš™οΈ Extension Settings

Click the extension icon in your toolbar to:

  • Toggle auto-detection on/off
  • Select AI provider (None, OpenRouter, Gemini)
  • Add API keys for AI-powered enhancement
  • Choose your preferred AI model
  • View usage statistics

πŸ”‘ API Setup (Optional)

For AI-powered enhancement:

OpenRouter:

  1. Get free API key: openrouter.ai/keys
  2. Open extension settings
  3. Select "OpenRouter" provider
  4. Paste your key (format: sk-or-...)
  5. Choose model (Gemma 3 12B is free!)

Google Gemini:

  1. Get free API key: aistudio.google.com/app/apikey
  2. Open extension settings
  3. Select "Gemini" provider
  4. Paste your key (format: AIza...)
  5. Choose model (1.5 Flash is fast & free!)

🌐 Web App

Live Demo: https://prompt-wizard-seven.vercel.app

✨ Features

  • Hybrid Generation Modes: Rule-based (free) or AI-powered
  • Multiple AI Models: GPT-4o, Claude 3.5 Sonnet, Gemini Pro, and more
  • Smart Intent Analysis: Automatically detects prompt type
  • Output Formats: Plain Text, JSON, Markdown, Code
  • Dark Mode: Beautiful light/dark theme support
  • Prompt History: Save and manage your enhanced prompts
  • Templates: Pre-built prompts for common tasks
  • Export/Import: Backup your prompt library
  • Token Counting: Real-time token usage estimates
  • Responsive Design: Works on all devices

πŸ’» Local Development

# Clone the repository
git clone https://github.com/Justme017/Prompt-Wizard.git
cd Prompt-Wizard

# Install dependencies
npm install

# Start development server
npm run dev

# Open http://localhost:5173

πŸ—οΈ Build for Production

npm run build

πŸš€ Deploy Your Own

Deploy with Vercel

Or manually:

npm run build
npx vercel --prod

🎨 Features

🎯 Smart Intent Detection

Automatically analyzes your prompt to determine the best enhancement:

Intent Description Examples
🎨 Creative Writing Stories, articles, content "Write a sci-fi story about AI"
πŸ’» Coding Scripts, algorithms, debugging "Create a Python web scraper"
πŸ“Š Analytical Research, evaluation "Analyze market trends in AI"
πŸ“ˆ Data Science Visualization, analysis "Create a sales dashboard"
βœ‰οΈ Communication Emails, messages "Write a professional email"
πŸ‘¨β€πŸ« Educational Tutorials, explanations "Explain quantum computing"
πŸ” Research Investigation, findings "Research renewable energy"
🌐 General Everything else "Plan a trip to Japan"

βš™οΈ Output Formats

  • πŸ“ Plain Text: Simple, readable format
  • πŸ”— JSON: Structured data format
  • πŸ“„ Markdown: Formatted documentation
  • πŸ’» Code: Programming-specific format

🎁 Quick-Start Skills (Web App)

Pre-configured prompts for instant use:

  • 🎨 Image Generation (DALL-E, Midjourney)
  • 🎡 Audio Generation
  • 🎬 Video Generation
  • βœ‰οΈ Email Writing
  • πŸ” Research Assistant
  • πŸ‘Ά ELI5 Explanations
  • πŸ“Š Data Analysis
  • πŸ’» Code Review
  • 🌐 Translation
  • ✍️ Creative Writing
  • πŸ“š Tutoring
  • πŸ“ Summarization

πŸ”Œ API Support

Supported Providers

Provider Models Free Tier Get Key
OpenRouter 200+ models including GPT-4, Claude, Llama βœ… Yes (Gemma, Mixtral) openrouter.ai/keys
Google Gemini Gemini 1.5 Flash, Pro, 2.0 βœ… Yes (15 RPM) aistudio.google.com

Using APIs

Extension:

  1. Click extension icon
  2. Select AI Provider
  3. Enter API key
  4. Choose model
  5. Start enhancing!

Web App:

  1. Toggle "Use AI-Powered Mode"
  2. Enter API key
  3. Select model
  4. Generate enhanced prompts

πŸ› οΈ Tech Stack

Browser Extension

  • Manifest V3: Modern Chrome extension architecture
  • Vanilla JavaScript: Lightweight, no framework overhead
  • Chrome Storage API: Settings persistence
  • Context Menus: Right-click integration
  • Keyboard Commands: Shortcut support

Web Application

  • Frontend: React 18 with TypeScript
  • Build Tool: Vite 5
  • Styling: Tailwind CSS 3
  • Icons: Lucide React
  • Deployment: Vercel
  • State Management: React Hooks

πŸ“ Project Structure

Prompt-Wizard/
β”œβ”€β”€ extension/              # πŸ”Œ Browser Extension
β”‚   β”œβ”€β”€ manifest.json      # Extension configuration
β”‚   β”œβ”€β”€ background.js      # Service worker
β”‚   β”œβ”€β”€ content.js         # Main enhancement logic
β”‚   β”œβ”€β”€ content.css        # Extension styles
β”‚   β”œβ”€β”€ popup.html         # Settings UI
β”‚   β”œβ”€β”€ popup.js           # Settings logic
β”‚   └── icons/             # Extension icons
β”‚
β”œβ”€β”€ src/                   # 🌐 Web Application
β”‚   β”œβ”€β”€ components/        # React components
β”‚   β”‚   β”œβ”€β”€ PromptWizardV2.tsx
β”‚   β”‚   β”œβ”€β”€ PromptEnhancer.tsx
β”‚   β”‚   └── ui/           # UI components
β”‚   β”œβ”€β”€ pages/            # Page components
β”‚   β”œβ”€β”€ hooks/            # Custom hooks
β”‚   └── lib/              # Utilities
β”‚
β”œβ”€β”€ public/               # Static assets
└── docs/                 # Documentation

πŸ“ˆ Roadmap

  • Chrome Web Store publication
  • Firefox Add-ons publication
  • GPT Store integration
  • Claude Code integration
  • More AI provider support
  • Prompt templates marketplace
  • Collaborative prompt editing
  • Advanced analytics dashboard

🀝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

How to Contribute

  1. 🍴 Fork the repository
  2. 🌿 Create a feature branch (git checkout -b feature/AmazingFeature)
  3. ✍️ Commit your changes (git commit -m 'Add some AmazingFeature')
  4. πŸ“€ Push to the branch (git push origin feature/AmazingFeature)
  5. πŸŽ‰ Open a Pull Request

Development Guidelines

  • Follow the existing code style
  • Write clear commit messages
  • Update documentation as needed
  • Test your changes thoroughly
  • For extension changes, test on multiple browsers

πŸ“„ License

This project is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License.

License: CC BY-SA 4.0

You are free to:

  • βœ… Share β€” copy and redistribute the material
  • βœ… Adapt β€” remix, transform, and build upon the material

Under the following terms:

  • πŸ“ Attribution β€” Give appropriate credit
  • πŸ”„ ShareAlike β€” Distribute under the same license

πŸ™ Acknowledgments

Special thanks to:

  • 🎨 Tailwind CSS - Utility-first CSS framework
  • ⚑ Vite - Next generation frontend tooling
  • βš›οΈ React - JavaScript library for building user interfaces
  • πŸš€ Vercel - Deployment and hosting
  • 🎭 Lucide - Beautiful icons
  • πŸ€– OpenRouter - Unified API for AI models
  • 🧠 Google AI - Gemini API access

πŸ‘¨β€πŸ’» Author

Made with love

Shubham Mehta

GitHub


πŸ“Š Stats

GitHub repo size GitHub language count GitHub top language GitHub last commit


⭐ If you find this project useful, please consider giving it a star! ⭐

Made with ❀️ by Shubham Mehta

About

A modern, AI-powered prompt optimization tool that helps you craft better prompts for various AI models. Features both free rule-based generation and AI-powered enhancement with support for multiple models and output formats.

Topics

Resources

Stars

Watchers

Forks