bankrbot avatar

Bankr Dev Client Patterns

This is a client library pattern for working with the Bankr API, giving you reusable TypeScript code you can drop into projects instead of writing the same API integration from scratch each time. The core module handles authentication via API keys, job status tracking (pending, processing, completed, failed, cancelled), and endpoint configuration through environment variables. It's the kind of boilerplate you'd otherwise copy between repositories or rewrite slightly differently every time you spin up a new Bankr integration. If you're building multiple tools or services that talk to Bankr, this gives you a consistent starting point. The repo has 78 stars, so it's seeing some real use in the wild.

GitHub stars
80
last updated
Aug 21, 2026

Install

$ npx -y skills add bankrbot/claude-plugins --skill 'Bankr Dev - Client Patterns' --agent claude-code

Installs into .claude/skills of the current project.

Files

Bankr Client Patterns

Reusable client code and common files for Bankr API projects.

bankr-client.ts

The core API client module for all Bankr projects:

import "dotenv/config";

const API_URL = process.env.BANKR_API_URL || "https://api.bankr.bot";
const API_KEY = process.env.BANKR_API_KEY;

// ============================================
// Types
// ============================================

export type JobStatus = "pending" | "processing" | "completed" | "failed" | "cancelled";

export interface JobStatusResponse {
  success: boolean;
  jobId: string;
  status: JobStatus;
  prompt: string;
  response?: string;
  transactions?: Transaction[];
  richData?: RichData[];
  statusUpdates?: StatusUpdate[];
  error?: string;
  createdAt: string;
  startedAt?: string;
  completedAt?: string;
  cancelledAt?: string;
  processingTime?: number;
  cancellable?: boolean;
}

export interface StatusUpdate {
  message: string;
  timestamp: string;
}

Sponsors

Details

Repository
github.com/bankrbot/claude-plugins
Category
Backend & APIs
First seen
Jun 3, 2026

More from bankrbot/claude-plugins

All 36
1bankrbot avatarBankr Dev - Project Templatesbankrbot/claude-pluginsThis skill should be used when the user asks to "scaffold a Bankr project", "create new Bankr bot", "build a Bankr web service", "create Bankr dashboard", "buil0skills.sh installs
2butterbase-ai avataraibutterbase-ai/butterbase-skillsWraps every Butterbase app's built-in LLM gateway into a single MCP tool: chat completions, embeddings, model listing, config...0skills.sh installs
3butterbase-ai avatarbuild-appbutterbase-ai/butterbase-skillsThis is the full linear workflow for spinning up a Butterbase backend: provision an app, design and apply a Postgres schema, lock it...0skills.sh installs
4butterbase-ai avatarbutterbase-skillsbutterbase-ai/butterbase-skillsClaude Code plugin for Butterbase — 30+ guided skills and auto-configured MCP for the AI-native backend-as-a-service.0skills.sh installs
5butterbase-ai avatarcontributingbutterbase-ai/butterbase-skillsThis is the contributor's handbook for the Butterbase monorepo, which spans CLI tools, SDKs, MCP servers, and API services.0skills.sh installs
6butterbase-ai avatarjourney-frontendbutterbase-ai/butterbase-skillsUse as the frontend build stage of the Butterbase journey. Implements the Frontend section of 02-plan.md by delegating to deploy-frontend. Scaffolds (if needed)0skills.sh installs