cello-get-integration-guide
Generate a tailored, step-by-step guide for integrating Cello (referral/attribution tracking) into a specific application. Use this whenever a developer says…
от CognitionAI★ 42 звезды на GitHub
Установить cello-get-integration-guide в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Cello Integration Guide Generator
Produces a step-by-step Cello integration plan customized to the app you're actually integrating into — not a copy of the generic docs. The generic path (docs.cello.so/integration-overview) has 4 steps that apply to everyone, but steps 2 and 4 branch hard depending on the app's stack, and most of the actual work is picking the right branch.
Step 1: Analyze the app
Before writing any guide, figure out:
- Platform: Web app, mobile app (iOS/Android/React Native), or both?
- Frontend framework: Plain JS/HTML, React, Vue, Angular, Next.js, etc. (Cello's referral component is a script tag + JS API, so it works with all of these — but the mount pattern differs, e.g. SPA re-render timing matters for custom launchers.)
- Signup flow: Does the user sign up on a web form the app controls, via a form tool (HubSpot, Typeform), or via mobile?
- Payment/billing system: Stripe, Chargebee, or something else (custom billing, Paddle, etc.)? And critically: is the gateway customer object created at signup, or only later at purchase/checkout? This timing question — not just "which gateway" — is what actually determines the step 4 path (see Step 2 below), so don't skip it even if Stripe/Chargebee is confirmed.
- Auth/user identity: Where does a stable user ID (or email) live at signup time, that can be attached to Cello as the
ucc(unique customer code) reference? - Buying persona — user or organization?: Does the app have organizations/teams/workspaces, and does the purchase happen at the org level rather than the individual level (e.g. a workspace admin pays for the whole team)? This determines whether attribution needs to run on the user or the organization, which changes what ID gets passed at several points — don't skip this even for straightforward B2B SaaS apps, since it's easy to assume user-level by default when the actual buyer is the org.
- New user discount wanted?: Does the app want to offer referred users a discount at signup/checkout? This is optional and separate from the core 4 steps — ask if unclear rather than assuming yes or no.
How to gather this:
- If you have codebase access: check
package.json/requirements.txt/Gemfilefor frontend framework and payment SDKs (stripe,chargebee), grep for webhook handler routes, check for existing auth/session code. - If you don't have codebase access, or something's ambiguous (e.g. multiple payment integrations found, or none): ask the developer directly rather than guessing. Getting the payment gateway wrong wastes their whole step 4.
Step 2: Map findings to the 4 setup steps
Use cello_search_documentation to pull the exact, current content for each — don't rely on memory, since Cello's docs and snippets change. Map based on what Step 1 found:
| Setup step | Branch on |
|---|---|---|
| 1. Referral component | Web → JS quickstart. Mobile → iOS / Android / React Native SDK. |
| 2. Capture referral codes (ucc) on landing | Web signup → web signup flow guide. Mobile → mobile signup flow. Form tool → HubSpot/Typeform guide. |
| 3. Track signups | Same for everyone at this stage — POST /events or the tracking-signups guide — but the exact call site depends on where Step 1 found the signup happens (frontend vs backend). |
| 4. Track purchases | See three-way branch below. |
Step 4 has a real three-way branch — get this one right, it's the highest-cost step to redo:
- Stripe/Chargebee, gateway customer created at signup → full prebuilt webhook quickstart (Stripe/Chargebee Webhook Quickstart). Fastest path, mostly config not code, ~1-2 days guided.
- Stripe/Chargebee, gateway customer created at purchase (not signup) → use the Cello API directly for signup events, and only the Stripe/Chargebee webhook for purchase events. The gateway customer must carry
cello_ucc(andnew_user_idmatching theproductUserIdused to boot the widget) as metadata at creation time — if the customer is created at purchase, that metadata has to be set right there, not inherited from an earlier signup step. - Any other gateway → generic tracking-purchases guide via the Cello API, called manually from the app's own payment success handler.
Say which of the three applies, explicitly and early — developers often assume "we use Stripe" alone determines the path, when actually when the customer object is created is what matters.
User-level vs. organization-level attribution
If Step 1 found the buying persona is the organization (a workspace/team pays, not the individual), attribution must run at the org level — this touches the widget boot, the signup event, and the purchase event, not just step 4. Always call this out as its own consideration in the generated guide when it applies, since it's easy to wire only part of it and end up with inconsistent attribution.
- Widget boot: pass
orgIds(the list of organizations the logged-in user belongs to) in the boot/token pay
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл cello-get-integration-guide?
Generate a tailored, step-by-step guide for integrating Cello (referral/attribution tracking) into a specific application. Use this whenever a developer says they want to "integrate Cello," "add Cello to my app," "set up referral tracking," or "add attribution tracking," especially when they haven't integrated it yet or are starting from scratch. Also trigger if someone asks "how do I add Cello to [React/Next.js/Rails/etc]" or pastes their codebase/repo and asks for an integration plan. This analyzes the actual app (frontend framework, mobile vs. web, payment gateway, signup flow) before generating the guide — it does not just paste the generic docs. Do not use this for debugging an *existing* integration (use cello-integration-health-check for that instead).
Как установить скилл cello-get-integration-guide?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл cello-get-integration-guide запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
AnthropicGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
webapp-testing
AnthropicToolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
brand-guidelines
AnthropicApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
web-artifacts-builder
AnthropicSuite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…