tracekit-nextjs-sdk

Installation
SKILL.md

TraceKit Next.js SDK Setup

Auth Bootstrap

Do not tell the user to go sign up, log in separately, or manually create an API key before setup. First check for existing TraceKit auth. If ~/.tracekitconfig does not contain the production profile or TRACEKIT_API_KEY is missing, apply the tracekit-auth skill first. Use ./scripts/run-tracekit-auth.sh status to check, then guide the user through the TraceKit email verification flow with register and verify. That flow signs the user into an existing account for that email or creates the account automatically, then saves the returned credentials for the rest of the setup.

When To Use

Use this skill when the user asks to:

  • Add TraceKit to a Next.js application
  • Add observability, error tracking, or APM to a Next.js project
  • Instrument a Next.js app with distributed tracing
  • Set up error monitoring in a Next.js app (App Router or Pages Router)
  • Configure server-side and client-side error capture in Next.js
  • Debug production Next.js applications with live breakpoints

If the user has a vanilla JavaScript/TypeScript project without Next.js, use the tracekit-browser-sdk skill instead. If the user has a plain React SPA (no Next.js), use the tracekit-react-sdk skill instead.

Non-Negotiable Rules

Related skills

More from tracekit-dev/tracekit-for-ai

Installs
8
GitHub Stars
1
First Seen
Mar 5, 2026