promptdeck is a Go CLI for lightweight and reproducible prompt templating.
It helps teams turn small JSON files into prompt variants and controlled experiment batches without relying on spreadsheets or heavyweight prompt platforms.
brew install itamaker/tap/promptdeckYou can also download binaries from GitHub Releases.
Current release archives:
- macOS (Apple Silicon/arm64):
promptdeck_0.1.1_darwin_arm64.tar.gz - macOS (Intel/x86_64):
promptdeck_0.1.1_darwin_amd64.tar.gz - Linux (arm64):
promptdeck_0.1.1_linux_arm64.tar.gz - Linux (x86_64):
promptdeck_0.1.1_linux_amd64.tar.gz
Each archive contains a single executable: promptdeck.
Run:
promptdeck matrix -template examples/review.tmpl -matrix examples/matrix.json- Go
1.22+
Render one prompt:
go run . render -template examples/review.tmpl -vars examples/vars.jsonRender a matrix:
go run . matrix -template examples/review.tmpl -matrix examples/matrix.jsonmake buildgo build -o dist/promptdeck .- Loads Go text templates from local files.
- Renders one prompt from a JSON variable object or many prompts from a JSON array.
- Expands matrix inputs into Cartesian prompt combinations.
- Prints output to stdout or writes prompt batches to files.
- Use
-out-dirwhen you want prompt variants as individual files. - Maintainer release steps live in
PUBLISHING.md.
![]() |
|---|
| Zhaoyang Jia |

