Project Management
Use pod init and pod install to manage prompts at the project level — like npm for prompts.
Initialize a project
bash
pod initThis creates a promptodex.json in your project directory and adds .promptodex/ to your .gitignore.
promptodex.json
This file tracks which prompts your project uses and their pinned versions:
json
{
"prompts": {
"summarize": "2",
"translate": "1"
}
}Commit this file to version control so your team uses the same prompt versions.
Install prompts
bash
pod install summarize # install latest
pod install summarize@2 # install specific version
pod install # install all from promptodex.jsonInstalled prompts are cached locally in .promptodex/cache/:
.promptodex/cache/summarize/2.json
.promptodex/cache/translate/1.jsonUninstall prompts
bash
pod uninstall summarizeRemoves the prompt from promptodex.json and cleans up cached files.
Global vs. project cache
| Global cache | Project cache | |
|---|---|---|
| Location | ~/.promptodex/cache/ | .promptodex/cache/ |
| Created by | pod <slug> (direct run) | pod install |
| Shared | Across all projects | Per project |
| Version locked | No | Yes, via promptodex.json |
Team workflow
- Run
pod initin your project - Install the prompts you need:
pod install summarize - Commit
promptodex.jsonto git - Team members run
pod installto get the same versions - Update prompts with
pod install summarize@3when ready