Prompt scaffold templates.
Templates are markdown documents with YAML front matter. Template front matter provides default prompt metadata, while the body provides the authoring scaffold. Dynamic prompt attributes are merged in by Prompt Runner when a new prompt is created.
Summary
Types
Functions
@spec default_name() :: String.t()
@spec load( String.t() | nil, keyword() ) :: {:ok, loaded_template()} | {:error, term()}
@spec render(map(), loaded_template()) :: {map(), String.t()}
@spec templates_dir() :: String.t()