Agent skill · software engineering · jeremylongshore

klaviyo-ci-integration

Configure CI/CD pipelines for Klaviyo integrations with GitHub Actions.

Why this skill is useful

Adds a complete CI/CD pipeline configuration for Klaviyo integrations, including executable scripts and specific API testing workflows.

What it needs

Requires gh, npm installed locally. Requires klaviyo account access. About 3k tokens when loaded. Last updated 2026-08-07. 2,604 stars on the source repository.

What this skill does

Klaviyo CI Integration Overview Set up a GitHub Actions CI/CD pipeline for Klaviyo integrations: mocked unit tests on every pull request, gated integration tests against the real Klaviyo API on main-branch pushes, SDK-version verification, and an API connectivity smoke test. The workflow follows the standard two-job split — a fast, key-free unit-tests job safe to require on every PR, and an integration-tests job gated so real-API calls never run on fork PRs where secrets are unavailable. Prerequisites GitHub repository with Actions enabled Klaviyo test API key (from a test/sandbox account) klaviyo-api SDK and Vitest configured in the repository Instructions Step 1: Configure GitHub secrets Store the Klaviyo test credentials as encrypted repository secrets: Step 2: Add the CI workflow Create .github/workflows/klaviyo-ci.yml with two jobs. The essential skeleton: The full workflow — including tsc --noEmit, npm list klaviyo-api version check, the connectivity smoke test, and the branch-protection config — is in the CI workflow reference. Step 3: Write the tests Author two suites the workflow drives: Unit tests mock the klaviyo-api SDK (vi.mock) and run with no key. Integration tests hit the real API behind a describe.skipIf guard keyed on KLAVIYOTEST + KLAVIYOPRIVATEKEY, so they skip cleanly when no key is present. Full, runnable examples for both suites — event-tracking unit test and a create-and-clean-up live profile test — are in the test examples reference. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills jeremylongshore/klaviyo-ci-integration--6be4b4

View the source on GitHub

Browse the @skills marketplace