Set up an efficient local development workflow for Customer.io integrations with proper testing and isolation.
For detailed implementation code and configurations, load the reference guide:
Read(${CLAUDE_SKILL_DIR}/references/implementation-guide.md)
| Error | Cause | Solution |
|---|---|---|
| Wrong environment | Env vars not loaded | Use dotenv or env-specific files |
| Dev events in prod | Environment check failed | Verify NODE_ENV is set correctly |
| Mock not working | Import order issue | Mock before importing client |
After setting up local dev, proceed to customerio-sdk-patterns for production-ready patterns.
Basic usage: Apply customerio local dev loop to a standard project setup with default configuration options.
Advanced scenario: Customize customerio local dev loop for production environments with multiple constraints and team-specific requirements.