promptdeck
Installation
SKILL.md
promptdeck
promptdeck is a Go CLI that renders Go text-template prompts from JSON variables, expands them into Cartesian experiment matrices, and ranks variants against a scores file. It has three real subcommands (render, matrix, optimize) plus an interactive Bubble Tea TUI. Prefer invoking the subcommands directly — they are the same commands the TUI shells out to internally.
Workflow
-
Make sure
promptdeckis available.- If installed (
brew install itamaker/tap/promptdeck), call it directly:promptdeck <subcommand> .... - If working from a source checkout of the tool's repository (github.com/itamaker/promptdeck-skill), build once with
go build -o promptdeck .and call./promptdeck, or run ad hoc withgo run . <subcommand> ....
- If installed (
-
Render one prompt from a template and a JSON vars file:
promptdeck render -template <template.tmpl> -vars <vars.json> [-out <file>]-varsaccepts either a single JSON object (one rendered prompt) or a JSON array of objects (each rendered, joined with a\n---\nseparator).- Without
-out, the rendered body prints to stdout. With-out, it is written to that file instead (silently overwriting it) and nothing prints to stdout.