prompter
A CLI tool for composing reusable prompt snippets from a library using TOML profiles
Getting started
Toolchain, task execution, and hook tools are managed by mise.
The Rust toolchain is declared in mise.toml; rustup is an implementation
detail and rust-toolchain.toml is intentionally absent.
With direnv installed, entering the directory prepares the environment. Otherwise:
Tasks
The generated Rust gate includes formatting, TOML formatting, shell linting,
spelling, clippy, nextest, docs, unused-dependency detection, advisory audit,
license/source policy, packaging, and at least 95% line coverage. The coverage
floor is 95% rather than the generated 100% because a handful of paths cannot be
exercised by a genuine in-process test: the real-TTY colored-output and progress
-spinner branches, the binary's process::exit/unreachable! routing arms, and
a set of defensive I/O-error closures and platform-impossible branches (a
canonicalize that only fails after a successful read, per-entry directory-scan
error handlers, and non-UTF-8/invalid family-directory-name guards). Every
offline command and the library's error paths are covered directly, holding
coverage near 96%. See REPO_INVARIANTS.md RS-007.