Agent skill

posthog-ci-integration

Configure PostHog CI/CD with GitHub Actions: unit tests with mocked PostHog, integration tests against a dev project, and deployment annotations. "CI posthog", "posthog pipeline". '

intentsolutions.io2,596★ · 1 repos on radarProfile →
claude-codecan modify filesMIT
Install
npx skills add jeremylongshore/claude-code-plugins-plus-skills --skill posthog-ci-integration --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 7 KB
Bundled scripts: none
Version: 1.12.0
Declared author: Jeremy Longshore <jeremy@intentsolutions.io>
Allowed tools: ReadWriteEditBash(gh:*)
Requires: Designed for Claude Code, also compatible with Codex and OpenClaw
Path: plugins/saas-packs/posthog-pack/skills/posthog-ci-integration/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 2,630
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# PostHog CI Integration ## Overview Set up CI/CD pipelines for PostHog integrations. Covers mocked unit tests (no API key needed), integration tests against a PostHog dev project, and deployment annotations that mark releases in your PostHog timeline. ## Prerequisites - GitHub repository with Actions enabled - PostHog dev project API key for integration tests - PostHog personal API key for deployment annotations - npm/pnpm project with vitest or jest ## Instructions ### Step 1: Configure GitHub Secrets ```bash set -euo pipefail # Project key for integration tests (phc_... from dev project) gh secret set POSTHOG_TEST_KEY --body "phc_dev_project_key" # Personal key for deployment annotations (phx_...) gh secret set POSTHOG_PERSONAL_API_KEY --body "phx_your_personal_key" # Project ID for annotations gh secret set POSTHOG_PROJECT_ID --body "12345" ``` ### Step 2: GitHub Actions Workflow ```yaml # .github/workflows/posthog-tests.yml name: PostHog Tests on: push: branches: [main] pull_request: branches: [main] jobs: unit-tests: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: '20' cache: 'npm' - run: npm ci - run: npm test -- --

What's inside
Steps it walks through
  1. Overview
  2. Prerequisites
  3. Instructions
  4. Step 1: Configure GitHub Secrets
  5. Step 2: GitHub Actions Workflow
  6. Step 3: Unit Tests with Mocked PostHog
  7. Step 4: Integration Tests (Real PostHog Project)
  8. Step 5: Package Scripts
  9. Error Handling
  10. Output
  11. Resources
  12. Next Steps
Commands it runs
set -euo pipefail
Project key for integration tests (phc_... from dev project)
gh secret set POSTHOG_TEST_KEY --body "phc_dev_project_key"
Personal key for deployment annotations (phx_...)
gh secret set POSTHOG_PERSONAL_API_KEY --body "phx_your_personal_key"
Project ID for annotations
gh secret set POSTHOG_PROJECT_ID --body "12345"
More from claude-code-plugins-plus-skills
All skills →
About this skill
What does the posthog-ci-integration skill do?

Configure PostHog CI/CD with GitHub Actions: unit tests with mocked PostHog, integration tests against a dev project, and deployment annotations. "CI posthog", "posthog pipeline". '

How do I install it?

Run `npx skills add jeremylongshore/claude-code-plugins-plus-skills --skill posthog-ci-integration --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From jeremylongshore/claude-code-plugins-plus-skills, a repository with 2,630 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going