Prompt Pocket
Privacy-first Chrome extension to save, organize, and instantly reuse AI prompts across tools.
The Challenge
AI users end up rewriting or hunting through old chats for the same prompts over and over, across every site and tool they use. Generic notes apps don't understand prompt structure — no reusable variables, no per-prompt organization — and syncing a prompt library through someone else's server means trusting them with everything you've ever asked an AI.
Engineering Delivery
Built Prompt Pocket, a Manifest V3 Chrome extension using a side panel instead of a popup, so the library stays open alongside whatever page you're working in. Prompts support {{variable}} placeholders filled in per use, with categories, tags, favorites, and usage-based sorting, and insert directly into the focused input, textarea, or contenteditable field of the active tab in two clicks. Everything lives in chrome.storage.local — no accounts, no analytics, no server. What started as a working-but-fragile extension was hardened through a systematic audit: the content script injects on-demand via chrome.scripting.executeScript scoped to activeTab (no host_permissions, no <all_urls>), every storage read is validated against a Zod schema with a versioned migration path, writes always re-read storage first to stay race-safe across multiple open side panels, and the UI stays accessible by default (native <dialog>, associated labels, aria-labels on icon-only buttons).