integration-nextjs-app-router — community integration-nextjs-app-router, lumen-yoga, community, ide skills

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. PostHog integration for Next.js App Router applications

MaxStrootmann MaxStrootmann
[0]
[0]
Updated: 2/28/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 7/11

This page remains useful for teams, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution
Review Score
7/11
Quality Score
34
Canonical Locale
en
Detected Body Locale
en

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

Warum diese Fähigkeit verwenden

Ermächtigt Agenten, das Benutzerverhalten zu verfolgen und datengetriebene Entscheidungen zu treffen, indem sie PostHog-Analytics verwenden, die in Next.js App Router über einen schrittweisen Workflow integriert werden, der Einrichtung, Bearbeitung und Überprüfung umfasst und Markdown-Dateien für die Dokumentation verwendet.

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-Anwendungen verfolgen
Produktentscheidungen mit Daten aus PostHog-Analytics treffen

! 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

Why this page is reference-only

  • - Current locale does not satisfy the locale-governance contract.
  • - The underlying skill quality score is below the review floor.

Source Boundary

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

After The Review

Decide The Next Action Before You Keep Reading Repository Material

Killer-Skills should not stop at opening repository instructions. It should help you decide whether to install this skill, when to cross-check against trusted collections, and when to move into workflow rollout.

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 & Installation Steps

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

? Frequently Asked Questions

What is integration-nextjs-app-router?

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

How do I install integration-nextjs-app-router?

Run the command: npx killer-skills add MaxStrootmann/lumen-yoga/integration-nextjs-app-router. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for integration-nextjs-app-router?

Key use cases include: PostHog-Analytics in Next.js App Router-Anwendungen integrieren, Benutzerinteraktionen und -verhalten in Next.js-Anwendungen verfolgen, Produktentscheidungen mit Daten aus PostHog-Analytics treffen.

Which IDEs are compatible with integration-nextjs-app-router?

This skill is compatible with 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. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for 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.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add MaxStrootmann/lumen-yoga/integration-nextjs-app-router. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use integration-nextjs-app-router immediately in the current project.

! Reference-Only Mode

This page remains useful for installation and reference, but Killer-Skills no longer treats it as a primary indexable landing page. Read the review above before relying on the upstream repository instructions.

Upstream Repository Material

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

Upstream Source

integration-nextjs-app-router

Install integration-nextjs-app-router, an AI agent skill for AI agent workflows and automation. Review the use cases, limitations, and setup path before...

SKILL.md
Readonly
Upstream Repository Material
The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.
Supporting Evidence

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

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

333.8k
0
Künstliche Intelligenz

widget-generator

Logo of f
f

Erzeugen Sie anpassbare Widget-Plugins für das Prompts.Chat-Feed-System

149.6k
0
Künstliche Intelligenz

flags

Logo of vercel
vercel

Das React-Framework

138.4k
0
Browser

pr-review

Logo of pytorch
pytorch

Tensor und dynamische neuronale Netze in Python mit starker GPU-Beschleunigung

98.6k
0
Entwickler