Thanks for helping improve prompt-snapshot. Focus is on a small, sharp tool — please keep the surface minimal.
pnpm install
pnpm run build
pnpm run test
pnpm run typecheck- Implement it in
src/assertions.tsas a factory returningAssertion. - Name it in
camelCase; keep the result'snamefield the same. - Return
ok: boolean+ a short human message. Optionally includedetailfor verbose mode. - Add unit tests in
tests/assertions.test.ts. - Document in
README.mdandAGENTS.md.
- Add
src/providers/<name>.tsexportingcreate<Name>Provider(): Provider. - Read the API key from
model.apiKey ?? process.env.<KEY>. - Wire it into
buildProviderinsrc/providers/index.ts. - Add an entry to
ProviderIdinsrc/types.ts. - Add an integration test gated on the key being set.
- No new runtime deps without a reason.
- Stderr for logs, stdout for data.
- Every command must support
--jsonand update thehelp-agentscatalog. - Keep the CLI non-interactive.
runner: skip cases when --only is passed
assertions: add oneOf
snapshot: collapse trailing newlines in normalize()
Short present-tense summaries scoped to a subsystem.