klaviyo-local-dev-loop

Featured

Configure Klaviyo local development with hot reload, mocking, and testing. Use when setting up a development environment, configuring test workflows, or establishing a fast iteration cycle with the Klaviyo API. Trigger with phrases like "klaviyo dev setup", "klaviyo local development", "klaviyo dev environment", "develop with klaviyo", "klaviyo testing".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Klaviyo Local Dev Loop ## Overview Set up a fast, reproducible local development workflow for Klaviyo integrations with hot reload, SDK mocking, and integration tests. ## Prerequisites - Completed `klaviyo-install-auth` setup - Node.js 18+ with npm/pnpm - `klaviyo-api` package installed ## Instructions ### Step 1: Project Structure ``` my-klaviyo-project/ ├── src/ │ ├── klaviyo/ │ │ ├── client.ts # ApiKeySession + API class singletons │ │ ├── profiles.ts # Profile operations │ │ ├── events.ts # Event tracking │ │ └── lists.ts # List management │ └── index.ts ├── tests/ │ ├── unit/ │ │ └── profiles.test.ts # Mocked SDK tests │ └── integration/ │ └── klaviyo.test.ts # Live API tests (CI only) ├── .env.local # Local secrets (git-ignored) ├── .env.example # Template for team ├── .env.test # Test environment (sandbox key) └── package.json ``` ### Step 2: Environment Configuration ```bash # .env.example (commit this) KLAVIYO_PRIVATE_KEY=pk_your_test_key_here KLAVIYO_PUBLIC_KEY=YourPublicKey NODE_ENV=development # .env.local (git-ignored, actual secrets) KLAVIYO_PRIVATE_KEY=pk_******************************** ``` ```json // package.json scripts { "scripts": { "dev": "tsx watch src/index.ts", "test": "vitest", "test:watch": "vitest --watch", "test:integration": "KLAVIYO_TEST=1 vitest --config vitest.integration.config.ts", "typech...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

clickup-local-dev-loop

Set up local development for ClickUp API integrations with testing, mocking, and hot reload. Trigger: "clickup dev setup", "clickup local development", "clickup dev environment", "develop with clickup", "clickup testing setup", "mock clickup API".

2,266 Updated today
jeremylongshore
AI & Automation Featured

shopify-local-dev-loop

Configure Shopify local development with Shopify CLI, hot reload, and ngrok tunneling. Use when setting up a development environment, configuring test workflows, or establishing a fast iteration cycle with Shopify. Trigger with phrases like "shopify dev setup", "shopify local development", "shopify dev environment", "develop with shopify", "shopify CLI dev".

2,266 Updated today
jeremylongshore
AI & Automation Featured

elevenlabs-local-dev-loop

Configure local ElevenLabs development with mocking, hot reload, and audio testing. Use when setting up a dev environment for TTS/voice projects, configuring test workflows, or building a fast iteration cycle with ElevenLabs audio. Trigger: "elevenlabs dev setup", "elevenlabs local development", "elevenlabs dev environment", "develop with elevenlabs", "test elevenlabs locally".

2,266 Updated today
jeremylongshore
AI & Automation Solid

grammarly-local-dev-loop

Configure Grammarly local development with hot reload and testing. Use when setting up a development environment, configuring test workflows, or establishing a fast iteration cycle with Grammarly. Trigger with phrases like "grammarly dev setup", "grammarly local development", "grammarly dev environment", "develop with grammarly".

2,266 Updated today
jeremylongshore
AI & Automation Featured

clerk-local-dev-loop

Set up local development workflow with Clerk. Use when configuring development environment, testing auth locally, or setting up hot reload with Clerk. Trigger with phrases like "clerk local dev", "clerk development", "test clerk locally", "clerk dev environment".

2,266 Updated today
jeremylongshore