add-analytics

Installation
SKILL.md

Wire observability into any web project. This skill adds event tracking, error monitoring, and a status endpoint — the three things every indie builder says they'll add later but never does.

Phase 1: Detect the Stack

Read the project and figure out what to install.

1.1 Framework

  • next.config.* → Next.js (check App Router vs Pages Router)
  • vite.config.* → Vite / React SPA
  • astro.config.* → Astro
  • nuxt.config.* → Nuxt
  • Python backend (main.py, app.py, manage.py) → FastAPI / Django / Flask

1.2 Existing Analytics

Check if any analytics/monitoring is already installed:

  • posthog-js or posthog-node → PostHog already present
  • @sentry/nextjs or @sentry/react or sentry-sdk → Sentry already present
  • @vercel/analytics → Vercel Analytics present
  • @google-analytics or gtag → GA present
Related skills

More from tushaarmehtaa/tushar-skills

Installs
5
GitHub Stars
4
First Seen
Mar 8, 2026