
Posthog Analytics
Solid setup for PostHog integration with opinionated patterns for event tracking and feature flags. Covers Next.js, React, Python, and Node with actual code for user identification, pageview tracking, and the provider setup you need. The event naming convention (object_action, snake_case, past tense) is prescriptive in a good way, and the breakdown of core events by category (auth, onboarding, feature usage) gives you a template instead of making you figure it out from scratch. Emphasizes tracking what informs decisions rather than everything, which is the right philosophy but harder to follow than it sounds.
- skills.sh installs
- 736
- GitHub stars
- 702
- last updated
- Jul 14, 2026
Install
$ npx -y skills add alinaqi/claude-bootstrap --skill posthog-analytics --agent claude-codeInstalls into .claude/skills of the current project.
Files
PostHog Analytics Skill
For implementing product analytics with PostHog - event tracking, user identification, feature flags, and project-specific dashboards.
Sources: PostHog Docs | Product Analytics | Feature Flags
Philosophy
Measure what matters, not everything.
Analytics should answer specific questions:
- Are users getting value? (activation, retention)
- Where do users struggle? (funnels, drop-offs)
- What features drive engagement? (feature usage)
- Is the product growing? (acquisition, referrals)
Don't track everything. Track what informs decisions.
Installation
Next.js (App Router)
npm install posthog-js
// lib/posthog.ts
import posthog from 'posthog-js';
Sponsors
Details
- Repository
- github.com/alinaqi/claude-bootstrap
- Categories
- Data Science & ML, Marketing & SEO
- First seen
- May 16, 2026
More from alinaqi/claude-bootstrap
All 54- Flutter685
- Supabase Nextjs651
- Supabase587
- Android Java583
- React Native517
- Aws Dynamodb419
- User Journeys406
- Code Deduplication335
- Nodejs Backend316
- Security315
- Aeo Optimization306
- Agentic Development304
- Ui Web285
- Woocommerce284
- Klaviyo267
- Ui Testing260
- React Web234
- Site Architecture233
- Commit Hygiene229
- Web Content226
- Team Coordination221
- Codex Review214
- Typescript212
- Reddit Api209