Transform your AI prompts with best practices and smart enhancements.
-
π Smart Prompt Enhancement
- Content medium selection (Text/Image)
- Type-specific enhancements
- Real-time processing and feedback
- Comprehensive improvement suggestions
- Temperature recommendations
- Chain-of-thought prompting
- Version control support
-
π¨ Beautiful Interface
- Intuitive medium and type selection
- Dark/Light mode with system preference detection
- Responsive design for all devices
- Clean, modern UI with smooth animations
- Enhanced visual feedback
- Improved accessibility
- Tooltips for better guidance
-
πΎ Prompt Management
- Save your favorite prompts
- View and manage prompt history
- Quick load of previous prompts
- Categorized prompt organization
- Version tracking
- Export/Import capabilities
-
π Easy Sharing
- Share enhanced prompts across platforms
- Multiple sharing options:
- Social media (LinkedIn, Instagram)
- Messaging apps (WhatsApp, Telegram)
- Email and direct links
- QR code generation
- Visit Prompt Engine
- Select your content medium (Text/Image)
- Choose the appropriate prompt type
- Enter your prompt in the input area
- Click "Enhance Prompt" to see the improved version
- Use the share, copy, or save buttons to manage your prompt
The app allows you to import and export prompts for backup or sharing:
- Export: Click the "Export" button to download your saved prompts as a JSON file
- Import: Click "Import Prompts" to upload a previously exported file
Download our example-prompts.json file to see the format and try importing sample prompts. You can also use this as a template to create your own collection.
Before deploying to GitHub Pages, you need to generate the PWA icons:
- Create a high-resolution square image (at least 512x512 pixels) to use as your app icon
- Name this file
icon-source.png
and place it in the project root
If you have ImageMagick installed (available on most systems):
# Make the script executable
chmod +x create-icons.sh
# Run the script
./create-icons.sh
If you prefer using Node.js:
npm install sharp
node generate-icons.js
Alternatively, you can:
- Use an online tool like PWA Asset Generator
- Manually create the icons and place them in
images/icons/
directory with the correct filenames
-
Update the GitHub Pages URL in these files:
robots.txt
sitemap.xml
Replacetmhs-digital.github.io/prompt-engine
with your GitHub username or organization.
-
Push your changes to GitHub:
git add .
git commit -m "Deploy Prompt Engine with PWA support"
git push origin main
-
Enable GitHub Pages in your repository settings:
- Go to Settings > Pages
- Select the main branch as the source
- Click Save
-
Your app will be available at
https://your-username.github.io/prompt-engine/
- General: General purpose text generation
- Completion: Continue or complete existing text
- Chat: Conversational interactions
- Code: Generate or modify code
- Generation: Create new images
- Editing: Modify existing images
- Variation: Create variations of images
- Objective
- Tone
- Format
- Constraints
- Examples
- Creativity
- Continuity
- Memory
- Documentation
- Tests
- Subject
- Style
- Composition
- Lighting
- Color
- Mood
- Detail
- Perspective
- Modification
- Strength
- Preservation
- Blend
-
Clone the repository:
git clone https://github.com/your-username/prompt-engine.git
-
Open the project folder:
cd prompt-engine
-
Start a local server (e.g., using Python):
python -m http.server 8000
-
Visit
http://localhost:8000
in your browser
prompt-engine/
βββ css/
β βββ styles.css
βββ js/
β βββ features/
β β βββ darkMode.js
β β βββ savedPrompts.js
β β βββ shareFeatures.js
β β βββ uiFeatures.js
β β βββ promptTypes.js
β β βββ enhancementRules.js
β β βββ promptValidator.js
β βββ bestPractices.js
β βββ promptEnhancer.js
β βββ main.js
βββ index.html
βββ footer.html
- Pure JavaScript (ES6+)
- No external dependencies
- Local storage for data persistence
- Modular design for easy maintenance
- Responsive CSS with Flexbox/Grid
- Progressive enhancement approach
- Semantic HTML structure
- Accessibility features
- Cross-browser compatibility
- Modular file structure
- Clear separation of concerns
- Consistent naming conventions
- Comprehensive error handling
- JSDoc documentation
- Minimal DOM manipulation
- Efficient event handling
- Optimized animations
- Lazy loading where appropriate
- ARIA labels and roles
- Keyboard navigation
- Screen reader support
- Color contrast compliance
- Intuitive navigation
- Clear feedback
- Responsive design
- Progressive enhancement
- Tooltips and guidance
- Fork the repository
- Create your feature branch:
git checkout -b feature/amazing-feature
- Commit your changes:
git commit -m 'Add amazing feature'
- Push to the branch:
git push origin feature/amazing-feature
- Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Thanks to all contributors who have helped shape this project
- Inspired by best practices in prompt engineering
- Built with modern web technologies
- Created by TMHS Digital