A Chrome Extension designed to help users craft detailed, high-quality prompts through a sequential refinement process.
- Interactive Questioning: Asks sequential clarifying questions to narrow down requirements.
- Skip/Edit: Users can skip questions or allow the AI to infer details.
- Modern UI: Clean, glassmorphism-inspired interface with smooth animations.
- Copy to Clipboard: One-click copy for the final refined prompt.
- Manifest V3: Secure and modern extension architecture.
- Vanilla JavaScript: Lightweight, no-framework logic for the popup.
- CSS3: Custom variables, flexbox/grid layout, and animations (no heavy libraries).
- HTML5: Semantic structure.
- Node.js: Runtime environment.
- Express.js: Lightweight web server for API endpoints.
- Groq SDK Integration: Real-time AI calls using Llama 3 models via Groq for high-speed prompt refinement.
/
├── extension/ # Chrome Extension Source
│ ├── manifest.json # Config
│ ├── popup.html # UI Layout
│ ├── styles.css # Styling
│ ├── popup.js # Logic & State Management
│ └── icons/ # App Icons
│
└── server/ # Backend API
├── server.js # Express Server Entry
├── mockAgent.js # Logic handling Groq API calls
└── package.json # Dependencies
-
Configure Environment:
- Create a
.envfile in theserverdirectory. - Add your Groq API key:
GROQ_API_KEY=your_groq_api_key_here
- Create a
-
Start the Backend:
cd server npm install node server.jsThe server will run on
http://localhost:3000. -
Load the Extension:
- Open Chrome and navigate to
chrome://extensions/. - Enable Developer mode (toggle in the top right).
- Click Load unpacked.
- Select the
extensionfolder in this project.
- Open Chrome and navigate to
- Click the Refiner icon in your browser toolbar.
- Enter your initial vague prompt concept.
- Answer the guided questions to refine your idea (or skip).
- Copy the generated high-quality prompt for use in ChatGPT, Claude, or Gemini.
- Go to API Keys
- create or login to your Groq account
- Click on Create API Key
- Copy the API key