Segment CDP 客户数据平台集成
segment-cdp
Segment 客户数据平台的专家级实践模式,涵盖 Analytics.js、服务端埋点追踪、基于 Protocols 的追踪方案、身份解析、目标端(destinations)配置以及数据治理最佳实践。使用场景:segment、analytics.js、customer data platform、cdp、tracking plan。
- License 许可
- MIT
- 最近更新
- 2026-11-12
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- segment-cdp
- source
- vibeship-spawner-skills (Apache 2.0)
- 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.
02 资源文件 1
- 参考文档agents/openai.yaml178 B
03 SKILL.md 正文
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 |
04 同仓库更多 Skills
Playwright Web 应用测试
webapp-testing
使用 Playwright 与本地 Web 应用交互并进行测试的工具包。支持验证前端功能、调试 UI 行为、截取浏览器截图以及查看浏览器日志。
Claude 网页工件构建
web-artifacts-builder
一套工具,用于使用现代前端 Web 技术(React、Tailwind CSS、shadcn/ui)创建精细的、由多个组件组成的 claude.ai HTML 工件。适用于需要状态管理、路由或 shadcn/ui 组件的复杂工件——不适用于简单的单文件 HTML/JSX 工件。
作品主题样式设计
theme-factory
用于为作品应用主题样式的工具包。这些作品可以是幻灯片、文档、报告、HTML 落地页等。提供 10 个包含颜色/字体的预设主题,可应用于任何已创建的作品,也可即时生成新主题。
Slack 动图 GIF 制作
slack-gif-creator
用于创建针对 Slack 优化的动图 GIF 的知识和工具。提供约束条件、验证工具和动画概念。当用户请求制作 Slack 用的动图 GIF 时使用,例如“给我做一个 X 做 Y 的 Slack GIF”。
Claude 技能创建指南
skill-creator
创建有效技能的指南。当用户想要创建一个新技能(或更新现有技能),以通过专业知识、工作流或工具集成来扩展 Claude 的能力时,应使用此技能。
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).