Intercom Local Dev Loop

•
2.0k
•

Configures a robust local development environment for Intercom integrations with mocking, testing, and webhook tunneling.

This skill accelerates the development of Intercom integrations by establishing a complete local dev loop within Claude Code. It provides templates for singleton client setups, Vitest mocks for API calls, and automated environment configurations to ensure test isolation. By implementing mock strategies for contacts, conversations, and messages, and guiding users through webhook testing using ngrok, this skill enables developers to iterate rapidly on customer messaging features without risk to production data.

Características Principales

012,028 GitHub stars
02Environment-aware singleton client for safe dev/prod separation
03Mock client factory for unit testing Intercom API calls
04Integration test patterns for real API verification
05Automated project structure setup for Intercom integrations
06Webhook tunneling configuration with ngrok for local testing

Casos de Uso

01Setting up a new project to integrate Intercom customer messaging
02Testing Intercom webhooks locally without deploying to a staging server
03Writing comprehensive unit tests for Intercom contact and conversation logic