跳到正文
TakoAPI
返回技能列表

outlit-sdk

由 leo-paz 提供

Web & Frontend Development
441下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Integrate Outlit SDK for customer context for agents.

描述

该技能的功能

Integrates the Outlit customer journey tracking SDK into web and server applications. Detects the existing framework, package manager, auth provider, and analytics setup, then walks through installation, identity linking, consent handling, and billing events. Covers React, Next.js, Vue, Nuxt, Svelte, Angular, Astro, Express, Fastify, Tauri, and Electron.

Detects the framework, package manager, auth provider, and analytics setup from the codebase before asking anything, so the user only answers questions that can't be inferred automatically.

何时使用

  • Adding Outlit tracking to an existing Next.js app
  • Migrating from PostHog or Amplitude to Outlit
  • Setting up Stripe billing lifecycle events in a webhook handler
  • Linking authenticated Clerk or Auth0 users to anonymous visitor sessions
  • Debugging missing events when no network requests appear in DevTools

示例工作流

输入

User asks: add Outlit to my Next.js app

智能体
  1. 1

    Scans package.json to confirm Next.js and detect the package manager

  2. 2

    Installs @outlit/browser using the detected package manager

  3. 3

    Asks the user for their Outlit public key from the dashboard Settings page

  4. 4

    Adds NEXT_PUBLIC_OUTLIT_KEY to environment variables and wraps the app with OutlitProvider

  5. 5

    Instructs the user to open the app and check the Outlit onboarding screen for the Connected badge

输出

Outlit is installed and sending events; user sees Connected status in the Outlit dashboard

前置要求

  • Outlit account
  • Outlit public key from dashboard -> Settings -> Website Tracking

安装

clawhub install leo-paz/outlit-sdk

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接