Spot it. Save it. Free, local-first Chrome extension for images, videos and prompts. Explore 2,000+ curated cases and connect your library to AI Agents via MCP. 提示词导演
Development
Requires Node.js 22.13 or later. Run commands from the repository root.
npm ci
npm ci --prefix connector --ignore-scripts
npm run verify:source
npm run package
Load extension/ in Chrome or Edge for source development, or extract the generated dist/PromptDirector-<version>.zip and load that directory for packaged testing. Keep the existing fixed extension identity when switching source locations; do not uninstall the extension or delete browser data.
Repository layout
extension/: loadable extension source, bundled dependencies, assets and translations.test/: automated tests and synthetic fixtures.tools/: build and verification commands.docs/: product and contribution documentation.store/: listing text, privacy policy and distribution materials.
Published ZIPs keep a top-level manifest.json. Source organization does not change the installation layout or the existing local upgrade path.
Keep personal Agent instructions in the Git-ignored AGENTS.override.md. Codex reads that file in place of AGENTS.md, so have it read the public AGENTS.md before adding local guidance. Run npm run check:public before committing; it checks publishable text files, including hidden workflows and new files. It does not audit Git history or the visible contents of images.
Checks and packaging
npm run verify runs source checks, historical data compatibility, packaged Chromium journeys and an upgrade rehearsal using a previous release. npm run check:compat checks the supported data formats. npm run package:release builds the Store upload variant. These commands do not publish a release or upload to the Store.
npm run check:i18n checks English catalog coverage for shared-dialog text, translation calls and local translation helpers. It is part of verify:source and the unit tests. Keep user-authored titles, prompts, tags and field values unchanged; use t(...) only for interface copy. Run the directed browser localization tests when changing dynamic dialogs or controls.
See data compatibility, capture support and known limitations for product behavior.