integration-nextjs-app-router — for Claude Code integration-nextjs-app-router, web-app, community, for Claude Code, ide skills, basic-integration-1.0-begin.md, basic-integration-1.1-edit.md, basic-integration-1.2-revise.md, basic-integration-1.3-conclude.md, EXAMPLE.md

v1.8.1

Über diesen Skill

Perfekt für Frontend-Agents, die eine nahtlose PostHog-Analytics-Integration in Next.js App Router-Anwendungen benötigen. Lokalisierte Zusammenfassung: PostHog integration for Next.js App Router applications # PostHog integration for Next.js App Router This skill helps you add PostHog analytics to Next.js App Router applications. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

Funktionen

PostHog integration for Next.js App Router
This skill helps you add PostHog analytics to Next.js App Router applications.
Follow these steps in order to complete the integration:
basic-integration-1.0-begin.md - PostHog Setup - Begin ← Start here
basic-integration-1.1-edit.md - PostHog Setup - Edit

# Kernthemen

Scooli-app Scooli-app
[1]
[0]
Aktualisiert: 3/10/2026

Skill Overview

Start with fit, limitations, and setup before diving into the repository.

Perfekt für Frontend-Agents, die eine nahtlose PostHog-Analytics-Integration in Next.js App Router-Anwendungen benötigen. Lokalisierte Zusammenfassung: PostHog integration for Next.js App Router applications # PostHog integration for Next.js App Router This skill helps you add PostHog analytics to Next.js App Router applications. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

Warum diese Fähigkeit verwenden

Ermächtigt Agenten, das Benutzerverhalten zu verfolgen und datengetriebene Entscheidungen zu treffen, indem PostHog-Analytics verwendet wird, und bietet einen Workflow für die Integration mit Next.js App Router, indem Markdown-Dateien für die Einrichtung und Konfiguration genutzt werden.

Am besten geeignet für

Perfekt für Frontend-Agents, die eine nahtlose PostHog-Analytics-Integration in Next.js App Router-Anwendungen benötigen.

Handlungsfähige Anwendungsfälle for integration-nextjs-app-router

PostHog-Analytics in Next.js App Router-Anwendungen integrieren
Benutzerinteraktionen und -verhalten in Next.js App Router verfolgen
Produktentscheidungen mit datengetriebenen Erkenntnissen aus PostHog-Analytics informieren

! Sicherheit & Einschränkungen

  • Benötigt PostHog-Setup und -Konfiguration
  • Spezifisch für Next.js App Router-Anwendungen
  • Folgt einem vordefinierten Workflow für die Integration

About The Source

The section below is adapted from the upstream repository. Use it as supporting material alongside the fit, use-case, and installation summary on this page.

Labs-Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

FAQ und Installationsschritte

These questions and steps mirror the structured data on this page for better search understanding.

? Häufige Fragen

Was ist integration-nextjs-app-router?

Perfekt für Frontend-Agents, die eine nahtlose PostHog-Analytics-Integration in Next.js App Router-Anwendungen benötigen. Lokalisierte Zusammenfassung: PostHog integration for Next.js App Router applications # PostHog integration for Next.js App Router This skill helps you add PostHog analytics to Next.js App Router applications. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

Wie installiere ich integration-nextjs-app-router?

Führen Sie den Befehl aus: npx killer-skills add Scooli-app/web-app/integration-nextjs-app-router. Er funktioniert mit Cursor, Windsurf, VS Code, Claude Code und mehr als 19 weiteren IDEs.

Wofür kann ich integration-nextjs-app-router verwenden?

Wichtige Einsatzbereiche sind: PostHog-Analytics in Next.js App Router-Anwendungen integrieren, Benutzerinteraktionen und -verhalten in Next.js App Router verfolgen, Produktentscheidungen mit datengetriebenen Erkenntnissen aus PostHog-Analytics informieren.

Welche IDEs sind mit integration-nextjs-app-router kompatibel?

Dieser Skill ist mit Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer kompatibel. Nutzen Sie die Killer-Skills CLI für eine einheitliche Installation.

Gibt es Einschränkungen bei integration-nextjs-app-router?

Benötigt PostHog-Setup und -Konfiguration. Spezifisch für Next.js App Router-Anwendungen. Folgt einem vordefinierten Workflow für die Integration.

So installieren Sie den Skill

  1. 1. Terminal öffnen

    Öffnen Sie Ihr Terminal oder die Kommandozeile im Projektverzeichnis.

  2. 2. Installationsbefehl ausführen

    Führen Sie aus: npx killer-skills add Scooli-app/web-app/integration-nextjs-app-router. Die CLI erkennt Ihre IDE oder Ihren Agenten automatisch und richtet den Skill ein.

  3. 3. Skill verwenden

    Der Skill ist jetzt aktiv. Ihr KI-Agent kann integration-nextjs-app-router sofort im aktuellen Projekt verwenden.

! Source Notes

This page is still useful for installation and source reference. Before using it, compare the fit, limitations, and upstream repository notes above.

Upstream Repository Material

The section below is adapted from the upstream repository. Use it as supporting material alongside the fit, use-case, and installation summary on this page.

Upstream Source

integration-nextjs-app-router

Install integration-nextjs-app-router, an AI agent skill for AI agent workflows and automation. Explore features, use cases, limitations, and setup guidance.

SKILL.md
Readonly
Upstream Repository Material
The section below is adapted from the upstream repository. Use it as supporting material alongside the fit, use-case, and installation summary on this page.
Upstream Source

PostHog integration for Next.js App Router

This skill helps you add PostHog analytics to Next.js App Router applications.

Workflow

Follow these steps in order to complete the integration:

  1. basic-integration-1.0-begin.md - PostHog Setup - Begin ← Start here
  2. basic-integration-1.1-edit.md - PostHog Setup - Edit
  3. basic-integration-1.2-revise.md - PostHog Setup - Revise
  4. basic-integration-1.3-conclude.md - PostHog Setup - Conclusion

Reference files

  • EXAMPLE.md - Next.js App Router example project code
  • next-js.md - Next.js - docs
  • identify-users.md - Identify users - docs
  • basic-integration-1.0-begin.md - PostHog setup - begin
  • basic-integration-1.1-edit.md - PostHog setup - edit
  • basic-integration-1.2-revise.md - PostHog setup - revise
  • basic-integration-1.3-conclude.md - PostHog setup - conclusion

The example project shows the target implementation pattern. Consult the documentation for API details.

Key principles

  • Environment variables: Always use environment variables for PostHog keys. Never hardcode them.
  • Minimal changes: Add PostHog code alongside existing integrations. Don't replace or restructure existing code.
  • Match the example: Your implementation should follow the example project's patterns as closely as possible.

Framework guidelines

  • For Next.js 15.3+, initialize PostHog in instrumentation-client.ts for the simplest setup
  • For feature flags, use useFeatureFlagEnabled() or useFeatureFlagPayload() hooks - they handle loading states and external sync automatically
  • Add analytics capture in event handlers where user actions occur, NOT in useEffect reacting to state changes
  • Do NOT use useEffect for data transformation - calculate derived values during render instead
  • Do NOT use useEffect to respond to user events - put that logic in the event handler itself
  • Do NOT use useEffect to chain state updates - calculate all related updates together in the event handler
  • Do NOT use useEffect to notify parent components - call the parent callback alongside setState in the event handler
  • To reset component state when a prop changes, pass the prop as the component's key instead of using useEffect
  • useEffect is ONLY for synchronizing with external systems (non-React widgets, browser APIs, network subscriptions)

Identifying users

Identify users during login and signup events. Refer to the example code and documentation for the correct identify pattern for this framework. If both frontend and backend code exist, pass the client-side session and distinct ID using X-POSTHOG-DISTINCT-ID and X-POSTHOG-SESSION-ID headers to maintain correlation.

Error tracking

Add PostHog error tracking to relevant files, particularly around critical user flows and API boundaries.

Verwandte Fähigkeiten

Looking for an alternative to integration-nextjs-app-router or another community skill for your workflow? Explore these related open-source skills.

Alle anzeigen

openclaw-release-maintainer

Logo of openclaw
openclaw

Lokalisierte Zusammenfassung: 🦞 # OpenClaw Release Maintainer Use this skill for release and publish-time workflow. It covers ai, assistant, crustacean workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

333.8k
0
Künstliche Intelligenz

widget-generator

Logo of f
f

Lokalisierte Zusammenfassung: Generate customizable widget plugins for the prompts.chat feed system # Widget Generator Skill This skill guides creation of widget plugins for prompts.chat. It covers ai, artificial-intelligence, awesome-list workflows. This AI agent skill supports Claude Code

149.6k
0
Künstliche Intelligenz

flags

Logo of vercel
vercel

Lokalisierte Zusammenfassung: The React Framework # Feature Flags Use this skill when adding or changing framework feature flags in Next.js internals. It covers blog, browser, compiler workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

138.4k
0
Browser

pr-review

Logo of pytorch
pytorch

Lokalisierte Zusammenfassung: Usage Modes No Argument If the user invokes /pr-review with no arguments, do not perform a review. It covers autograd, deep-learning, gpu workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

98.6k
0
Entwickler