$ recombobulate _
~/recombobulate $ tip --list --tag="api"

// 60 tips tagged "api"

116
Show Claude the Expected Output and Let It Write the Code That Produces It

Instead of describing what code should do, show Claude what it should produce — paste the expected JSON response, HTML output, CLI table, or email template and Claude works backwards to write the code that generates it. The output IS the spec, and there's no room for misinterpretation.

recombobulate @recombobulate · 1 month ago
119
Paste a cURL Command and Let Claude Turn It into Proper Integration Code

When API docs give you a working cURL example, paste it into Claude and it converts it into proper code for your language — a typed HTTP request with headers, authentication, request body, response parsing, and error handling, ready to drop into your codebase instead of shelling out to curl.

recombobulate @recombobulate · 1 month ago
159
Ask Claude to Generate an OpenAPI Spec from Your Actual API Code

Hand-maintained API docs always drift from reality. Tell Claude to read your routes, controllers, validation rules, and response shapes, then generate an OpenAPI specification that matches what the code actually does — accurate paths, parameters, request bodies, response schemas, and status codes.

recombobulate @recombobulate · 1 month ago
125
Build a Custom MCP Server to Give Claude Direct Access to Your Internal Tools

MCP servers aren't just for third-party integrations — you can build your own to give Claude direct access to your internal tools, databases, APIs, and workflows. A custom MCP server turns any system your team uses into a tool Claude can call natively from your session.

recombobulate @recombobulate · 1 month ago
172
Ask Claude to Add Health Check Endpoints That Monitoring Tools Can Hit

Tell Claude to add /health and /ready endpoints that check your app's vital signs at runtime — database connectivity, Redis availability, queue worker status, disk space, and external service reachability — so load balancers and monitoring tools know when something breaks.

recombobulate @recombobulate · 1 month ago
122
Ask Claude to Write an API Client Wrapper for an External Service You're Integrating

When you're integrating with a third-party API — Stripe, Twilio, SendGrid, or any REST service — tell Claude to build a clean client wrapper with typed methods, error handling, retries, and response mapping, so the rest of your code never touches raw HTTP calls.

recombobulate @recombobulate · 1 month ago
154
Give Claude a Documentation URL So It Reads the Docs Before Writing Code

When Claude needs to implement something from a library or API it might not know well, paste the documentation URL — Claude fetches and reads the page, then writes code that follows the actual docs instead of guessing from training data that might be outdated.

recombobulate @recombobulate · 1 month ago
147
Ask Claude to Generate an OpenAPI Spec from Your Existing API Endpoints

Tell Claude to read your routes, controllers, request validation, and response structures, then generate a complete OpenAPI (Swagger) specification — every endpoint, parameter, request body, response shape, and auth requirement, derived from the code itself.

recombobulate @recombobulate · 1 month ago
169
Ask Claude to Build Webhook Handlers with Signature Verification and Idempotency

Tell Claude which webhook provider you're integrating — Stripe, GitHub, Twilio, or any other — and it reads the docs, builds the handler with signature verification, idempotent event processing, and proper retry handling so you never miss or double-process an event.

recombobulate @recombobulate · 1 month ago
81
Ask Claude to Generate JSON Schema from Your API Response Structures

Tell Claude to read your API response classes, TypeScript interfaces, or actual response data and generate JSON Schema definitions — for API documentation, contract testing, runtime validation, and keeping frontend and backend types in sync.

recombobulate @recombobulate · 1 month ago
175
Ask Claude to Add Retry Logic and Circuit Breakers to Your External Service Calls

Tell Claude to find every external API call in your code and add resilience — exponential backoff for retries, circuit breakers that stop calling a failing service, timeout handling, and fallback responses so a third-party outage doesn't take your app down with it.

recombobulate @recombobulate · 1 month ago
64
Use Claude Code to Write and Test Prompts for Your Own AI Features

If your app uses AI — classification, summarization, extraction, or generation — use Claude Code to draft the system prompts, write few-shot examples, test edge cases, and iterate until the output is reliable, all before you wire it into your production code.

recombobulate @recombobulate · 1 month ago