Ported 3 categories from Spawner Skills (Apache 2.0): - AI Agents (21 skills): langfuse, langgraph, crewai, rag-engineer, etc. - Integrations (25 skills): stripe, firebase, vercel, supabase, etc. - Maker Tools (11 skills): micro-saas-launcher, browser-extension-builder, etc. All skills converted from 4-file YAML to SKILL.md format. Source: https://github.com/vibeforge1111/vibeship-spawner-skills
51 lines
1.4 KiB
Markdown
51 lines
1.4 KiB
Markdown
---
|
|
name: segment-cdp
|
|
description: "Expert patterns for Segment Customer Data Platform including Analytics.js, server-side tracking, tracking plans with Protocols, identity resolution, destinations configuration, and data governance best practices. Use when: segment, analytics.js, customer data platform, cdp, tracking plan."
|
|
source: vibeship-spawner-skills (Apache 2.0)
|
|
---
|
|
|
|
# Segment CDP
|
|
|
|
## Patterns
|
|
|
|
### Analytics.js Browser Integration
|
|
|
|
Client-side tracking with Analytics.js. Include track, identify, page,
|
|
and group calls. Anonymous ID persists until identify merges with user.
|
|
|
|
|
|
### Server-Side Tracking with Node.js
|
|
|
|
High-performance server-side tracking using @segment/analytics-node.
|
|
Non-blocking with internal batching. Essential for backend events,
|
|
webhooks, and sensitive data.
|
|
|
|
|
|
### Tracking Plan Design
|
|
|
|
Design event schemas using Object + Action naming convention.
|
|
Define required properties, types, and validation rules.
|
|
Connect to Protocols for enforcement.
|
|
|
|
|
|
## Anti-Patterns
|
|
|
|
### ❌ Dynamic Event Names
|
|
|
|
### ❌ Tracking Properties as Events
|
|
|
|
### ❌ Missing Identify Before Track
|
|
|
|
## ⚠️ Sharp Edges
|
|
|
|
| Issue | Severity | Solution |
|
|
|-------|----------|----------|
|
|
| Issue | medium | See docs |
|
|
| Issue | high | See docs |
|
|
| Issue | medium | See docs |
|
|
| Issue | high | See docs |
|
|
| Issue | low | See docs |
|
|
| Issue | medium | See docs |
|
|
| Issue | medium | See docs |
|
|
| Issue | high | See docs |
|