The prompt
Build a Chrome extension that adds a "Summarize" button under every YouTube video player. When clicked, it should fetch the video transcript, send it to OpenAI GPT-4, and display a 3-bullet summary in a popup. Use Manifest V3. Bring-your-own OpenAI API key, stored in chrome.storage.
Bolt generated a project in about 40 seconds. The output included a React app, a settings page, a service worker file, and a manifest.json.
Three things were immediately wrong: the manifest.json had no host_permissions for openai.com (the API call would have been blocked by CSP), the content script that detected YouTube pages was placed in the wrong directory (Chrome couldn't find it on load), and the API key was being read from process.env (which doesn't exist in Chrome extensions — extensions read from chrome.storage instead).
After 4 follow-up prompts asking Bolt to fix specific issues, the extension loaded into Chrome but the "Summarize" button never appeared on YouTube — the content script's injection pattern didn't match YouTube's URL format. Two more prompts to fix the match patterns.
Final result: a working extension after ~7 prompt-and-fix iterations, roughly 25 minutes total. The output works, but the workflow felt like debugging AI code rather than building from a prompt. For someone who knows what to look for in extension code, this is manageable. For a non-developer, it would be deeply confusing — each error requires understanding Chrome's execution model to even diagnose.