Track prompt chains, responses, and related git diffs for each commit.
npm install gitpromptchain
# or for CLI use
npm install -g gitpromptchainMenu actions: start, add, save, view, viewc, exit. Chains are stored under .gitpromptchain/ with a commit index for lookup.
Set an OpenAI key to request LLM-generated tips after viewing metrics:
$env:OPENAI_API_KEY = "sk-..."
$env:GITPROMPTCHAIN_LLM_MODEL = "gpt-4o-mini" # optional
npm startIf no key is set or a request fails, the CLI shows built-in tips instead.
The Chat-based extension lives in vscode-extension/. See its README for installation, usage, and debugging.
npm test # unit tests
npm run test:workflow
npm run demo- View saved chains with metrics tables