Toolverse
All skills

customerio-local-dev-loop

by jeremylongshore

Configure Customer.io local development workflow.\nUse when setting up local testing, development environment,\nor offline development for Customer.io integrations.\nTrigger with phrases like \

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Category
Testing

About this skill

Configure Customer.io local development workflow.\nUse when setting up local testing, development environment,\nor offline development for Customer.io integrations.\nTrigger with phrases like \

How to use

  1. Zainstaluj skill w swoim projekcie Claude Code lub Codex. Upewnij się, że masz zainstalowany pakiet customerio-node oraz dotenv do zarządzania zmiennymi środowiskowymi.

  2. Utwórz plik .env.development w głównym katalogu projektu i dodaj zmienne dla środowiska deweloperskiego: CUSTOMERIO_SITE_ID, CUSTOMERIO_TRACK_API_KEY, CUSTOMERIO_APP_API_KEY, CUSTOMERIO_REGION (us lub eu), CUSTOMERIO_DRY_RUN=false oraz CUSTOMERIO_EVENT_PREFIX=dev_. Wartości site_id i kluczy API pobierz z oddzielnego workspace'u Customer.io przeznaczonego do testowania.

  3. Stwórz analogiczny plik .env.test dla testów jednostkowych, gdzie CUSTOMERIO_DRY_RUN=true (aby żadne żądania nie trafiały do API) i CUSTOMERIO_EVENT_PREFIX=test_. Pozostałe zmienne mogą zawierać wartości placeholder.

  4. Wygeneruj plik lib/customerio-dev.ts (lub równoważny) zawierający funkcję loadConfig(), która odczytuje zmienne środowiskowe i zwraca obiekt konfiguracyjny. Funkcja powinna obsługiwać oba regiony (US i EU) oraz tryb dry-run.

  5. W swoim kodzie aplikacji importuj klienta Customer.io z pliku konfiguracyjnego zamiast tworzyć go na sztywno. Dzięki temu automatycznie będzie używać właściwych ustawień w zależności od aktualnego środowiska.

  6. Uruchom testy lub lokalny serwer deweloperski — wszystkie zdarzenia będą prefixowane (np. dev_ lub test_) i nie będą mieszać się z danymi produkcyjnymi.

Related skills

powershell-windows

by davila7

PowerShell Windows patterns. Critical pitfalls, operator syntax, error handling.

Testing
1074

test-cases

by cexll

This skill should be used when generating comprehensive test cases from PRD documents or user requirements. Triggers when users request test case generation, QA planning, test scenario creation, or need structured test documentation. Produces detailed test cases covering

Testing
2862

lean4-theorem-proving

by cameronfreer

Use when developing Lean 4 proofs, facing type class synthesis errors, managing sorries/axioms, or searching mathlib - provides build-first workflow, instance management patterns (haveI/letI), and domain-specific tactics

Testing
9108

python-testing-patterns

by wshobson

Implement comprehensive testing strategies with pytest, fixtures, mocking, and test-driven development. Use when writing Python tests, setting up test suites, or implementing testing best practices.

Testing
46146

playwright-browser-automation

by lackeyjb

Complete browser automation with Playwright. Auto-detects dev servers, writes clean test scripts to /tmp. Test pages, fill forms, take screenshots, check responsive design, validate UX, test login flows, check links, automate any browser task. Use when user wants to test

Testing
13130

webapp-testing

by anthropics

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

Testing
130255