integration-nextjs-app-router — community integration-nextjs-app-router, peerpull, community, ide skills

v1.8.1

Sobre este Skill

Perfeito para Agentes Frontend que necessitam de integração analítica do PostHog sem problemas em aplicações do 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

Perfeito para Agentes Frontend que necessitam de integração analítica do PostHog sem problemas em aplicações do Next.js App Router. PostHog integration for Next.js App Router applications

Por que usar essa habilidade

Habilita os agentes a rastrear o comportamento do usuário e otimizar os aplicativos Next.js usando a análise do PostHog, fornecendo um fluxo de trabalho para configuração e integração com o Next.js App Router, aproveitando as capacidades de rastreamento de eventos e análise do PostHog.

Melhor para

Perfeito para Agentes Frontend que necessitam de integração analítica do PostHog sem problemas em aplicações do Next.js App Router.

Casos de Uso Práticos for integration-nextjs-app-router

Integrar análise do PostHog em aplicações do Next.js App Router
Rastrear o comportamento do usuário e otimizar o desempenho do aplicativo
Configurar fluxos de trabalho de análise do PostHog para aplicações do Next.js App Router

! Segurança e Limitações

  • Exige configuração e setup do PostHog
  • Específico para aplicações do Next.js App Router
  • Sigue um fluxo de trabalho pré-definido para integração

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?

Perfeito para Agentes Frontend que necessitam de integração analítica do PostHog sem problemas em aplicações do 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/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: Integrar análise do PostHog em aplicações do Next.js App Router, Rastrear o comportamento do usuário e otimizar o desempenho do aplicativo, Configurar fluxos de trabalho de análise do PostHog para aplicações do 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?

Exige configuração e setup do PostHog. Específico para aplicações do Next.js App Router. Sigue um fluxo de trabalho pré-definido para integração.

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

Habilidades Relacionadas

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

Ver tudo

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

Gerar plugins de widgets personalizáveis para o sistema de feed do prompts.chat

flags

Logo of vercel
vercel

O Framework React

138.4k
0
Navegador

pr-review

Logo of pytorch
pytorch

Tensors and Dynamic neural networks in Python with strong GPU acceleration

98.6k
0
Desenvolvedor