Reusable Apex
It handles what should have been handled for us long ago. Reduce duplication with CalloutBuilder.
ExampleResponse.DialogToken token = (ExampleResponse.DialogToken)
new CalloutBuilder('callout:MyNC')
.withEndpoint('/dialog-tokens')
.withMethod('POST')
.withSuccessType(ExampleResponse.DialogToken.class)
.withErrorType(ExampleResponse.Error.class)
.getTypedResponseBody();HTTP mock template. ViciousMockBase lets you define mock families using instance initializer blocks; ViciousMockery is a drop-in mock for any status code.
ViciousMockery.cast(200);Thin wrapper around the most-used ConnectApi methods prepared for use.
A Claude Code skill for CalloutBuilder is included at .claude/skills/apex-callout-builder/SKILL.md. Copy it to your project's .claude/skills/ directory and Claude will automatically generate, review, and explain CalloutBuilder code — including response DTOs, error handling, test mocks, file uploads, and async callouts.