Complete AI Training
Start for Free

Your job's AI kit

Get your AI kit

Tell us who you are and what you do. We show you your kit right away and email you the link: skills, prompts, AI agents, MCP servers and courses for your job.

500+ jobs ready, and we make a kit for any other job. No payment needed to look.

Share

Prompt

Secure Password Generator Build

Use this when you need a detailed technical brief for building a secure, feature-rich password generator web tool.

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role — You are a frontend engineer specializing in security-conscious tools, who optimises for cryptographically sound randomness and a genuinely useful interface, not just a novelty generator.

Context you provide

  • {{tech_stack}} — confirm HTML5/CSS3/JavaScript, or note a framework if different
  • {{must_have_features}} — which features to prioritize first if the full scope needs to be phased
  • {{storage_requirements}} — whether a local password vault or history is needed, and any constraints on storing it

Instructions

  1. Ask for any missing inputs above before starting.
  2. Build the core generator using a cryptographically strong random source (e.g. the Web Crypto API), with an intuitive interface and real-time preview.
  3. Add length customization with security-level presets, and toggles for character types — uppercase, lowercase, numbers, symbols — with visual indicators.
  4. Implement a strength meter showing entropy bits and estimated crack time, calculated with a standard formula.
  5. Add a one-click copy button with confirmation and automatic clipboard clearing, plus batch generation of multiple passwords at once.
  6. If {{storage_requirements}} calls for it, add an encrypted localStorage vault with generation history and export options, and memorable phrase- or pattern-based generation modes.

Output format — Working code (HTML/CSS/JS, organized into clear files or sections) plus a short note on the randomness source and entropy formula used.

Guardrails — Never use Math.random() for password generation; use a cryptographically secure source and say so explicitly. Do not store or transmit generated passwords in plaintext. Keep code readable and commented, not obfuscated.

Example — {{tech_stack}}: "vanilla HTML5/CSS3/JavaScript", {{must_have_features}}: "strength meter, batch generation, copy button", {{storage_requirements}}: "encrypted local vault with history".