integration-nextjs-app-router — community integration-nextjs-app-router, peerpull, community, ide skills, Claude Code, Cursor, Windsurf

v1.8.1

À propos de ce Skill

Parfait pour les agents Frontend nécessitant une intégration analytique PostHog sans accroc dans les applications Next.js App Router. PostHog integration for Next.js App Router applications

nicholasmartin nicholasmartin
[0]
[0]
Updated: 3/8/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 7/11

This page remains useful for operators, 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

Parfait pour les agents Frontend nécessitant une intégration analytique PostHog sans accroc dans les applications Next.js App Router. PostHog integration for Next.js App Router applications

Pourquoi utiliser cette compétence

Permet aux agents de suivre le comportement des utilisateurs et d'optimiser les applications Next.js en utilisant les analyses PostHog, en fournissant un workflow pour la configuration et l'intégration avec Next.js App Router, en exploitant les capacités de suivi d'événements et d'analyse de PostHog.

Meilleur pour

Parfait pour les agents Frontend nécessitant une intégration analytique PostHog sans accroc dans les applications Next.js App Router.

Cas d'utilisation exploitables for integration-nextjs-app-router

Intégrer les analyses PostHog dans les applications Next.js App Router
Suivre le comportement des utilisateurs et optimiser les performances de l'application
Configurer des flux de travail d'analyse PostHog pour Next.js App Router

! Sécurité et Limitations

  • Nécessite une configuration et une configuration de PostHog
  • Spécifique aux applications Next.js App Router
  • Suivre un flux de travail prédéfini pour l'intégration

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 supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.

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?

Parfait pour les agents Frontend nécessitant une intégration analytique PostHog sans accroc dans les applications Next.js App Router. PostHog integration for Next.js App Router applications

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

Run the command: npx killer-skills add nicholasmartin/peerpull. 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: Intégrer les analyses PostHog dans les applications Next.js App Router, Suivre le comportement des utilisateurs et optimiser les performances de l'application, Configurer des flux de travail d'analyse PostHog pour Next.js App Router.

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?

Nécessite une configuration et une configuration de PostHog. Spécifique aux applications Next.js App Router. Suivre un flux de travail prédéfini pour l'intégration.

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 nicholasmartin/peerpull. 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.

Imported Repository Instructions

The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.

Supporting Evidence

integration-nextjs-app-router

Install integration-nextjs-app-router, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command...

SKILL.md
Readonly
Imported Repository Instructions
The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.
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.

Compétences associées

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

Voir tout

openclaw-release-maintainer

Logo of openclaw
openclaw

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

widget-generator

Logo of f
f

Générez des plugins de widgets personnalisables pour le système de flux prompts.chat

flags

Logo of vercel
vercel

Le Cadre de Réaction

138.4k
0
Navigateur

pr-review

Logo of pytorch
pytorch

Tenseurs et réseaux neuronaux dynamiques en Python avec une forte accélération GPU

98.6k
0
Développeur