Toolverse
All skills

posthog-local-dev-loop

by jeremylongshore

Configure PostHog local development with hot reload and testing.\nUse when setting up a development environment, configuring test workflows,\nor establishing a fast iteration cycle with PostHog.\nTrigger with phrases like \

Installation

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

Installation

Quick info

Category
Testing
Views
1

About this skill

Configure PostHog local development with hot reload and testing.\nUse when setting up a development environment, configuring test workflows,\nor establishing a fast iteration cycle with PostHog.\nTrigger with phrases like \

How to use

  1. Upewnij się, że masz zainstalowany Node.js 20+ oraz npm lub pnpm. Skill wymaga wcześniejszego ukończenia konfiguracji posthog-install-auth — jeśli jej nie masz, najpierw ją uruchom.

  2. Przygotuj osobny projekt PostHog dla development (oddzielny od produkcji). Skopiuj klucz API z tego projektu — będzie potrzebny w zmiennych środowiskowych.

  3. Wyzwól skill frazą taką jak "posthog dev setup", "posthog local development", "mock posthog" lub "test posthog". Skill utworzy strukturę katalogów (src/analytics, tests) oraz pliki konfiguracyjne.

  4. Skill wygeneruje plik .env.local z szablonami zmiennych (NEXT_PUBLIC_POSTHOG_KEY, POSTHOG_HOST). Uzupełnij te wartości danymi z Twojego dev projektu PostHog.

  5. W pliku src/analytics/posthog.ts skill skonfiguruje klienta PostHog z trybem debugowania — zdarzenia będą logowane do konsoli bez wysyłania do serwera. Możesz to zmienić, ustawiając enabled: false w opcjach, gdy chcesz testować z rzeczywistym dev projektem.

  6. Skill przygotuje testy w tests/analytics.test.ts z mockowanym PostHog — uruchom je poleceniem npm test lub pnpm test. Teraz możesz pisać testy event tracking bez wpływu na dane w PostHog.

Related skills

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

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

vitest

by antfu

Vitest fast unit testing framework powered by Vite with Jest-compatible API. Use when writing tests, mocking, configuring coverage, or working with test filtering and fixtures.

Testing
1236

ppt-creator

by daymade

Create professional slide decks from topics or documents. Generates structured content with data-driven charts, speaker notes, and complete PPTX files. Applies persuasive storytelling principles (Pyramid Principle, assertion-evidence). Supports multiple formats (Marp,

Testing
2739

crypto-research

by stevengonsalvez

Comprehensive cryptocurrency market research and analysis using specialized AI agents. Analyzes market data, price trends, news sentiment, technical indicators, macro correlations, and investment opportunities. Use when researching cryptocurrencies, analyzing crypto markets,

Testing
14118

pair-trade-screener

by tradermonty

Statistical arbitrage tool for identifying and analyzing pair trading opportunities. Detects cointegrated stock pairs within sectors, analyzes spread behavior, calculates z-scores, and provides entry/exit recommendations for market-neutral strategies. Use when user requests pair

Testing
994