rudder-ai-events-instr…
Adds RudderStack AI events code from an approved ai-events.md plan: installs @rudderstack/ai, rudderstack-ai or ai-sdk-go, wraps…
Designs event taxonomies and instrumentation strategies from business requirements. Use when designing event taxonomy from scratch or restructuring existing instrumentation strategy
Claude Code
$ npx -y skills add rudderlabs/rudder-agent-skills --skill rudder-instrumentation-planning --agent claude-code
Codex
$ npx skills add rudderlabs/rudder-agent-skills --skill rudder-instrumentation-planning -a codex -y
Cursor
$ npx skills add rudderlabs/rudder-agent-skills --skill rudder-instrumentation-planning -a cursor -y
Gemini CLI
$ npx skills add rudderlabs/rudder-agent-skills --skill rudder-instrumentation-planning -a gemini-cli -y
GitHub Copilot
$ npx skills add rudderlabs/rudder-agent-skills --skill rudder-instrumentation-planning -a github-copilot -y
OpenCode
$ npx skills add rudderlabs/rudder-agent-skills --skill rudder-instrumentation-planning -a opencode -y
Windsurf
$ npx skills add rudderlabs/rudder-agent-skills --skill rudder-instrumentation-planning -a windsurf -y
name: rudder-instrumentation-planning description: Designs event taxonomies and instrumentation strategies from business requirements. Use when designing event taxonomy from scratch or restructuring existing instrumentation strategy allowed-tools: "Bash(rudder-cli *), Read, Write, Edit"
This skill guides you through designing an **instrumentation strategy** - the systematic approach to deciding what events and properties to track in your application.
LLM chat, AI agents and MCP servers have a standard event set; for those surfaces use `rudder-ai-events-setup` instead of designing custom events.
Poor instrumentation leads to:
Good instrumentation provides:
Different starting points require different approaches:
| Your Situation | Recommended Skill | |----------------|-------------------| | Building new feature, events not yet defined | `rudder-design-first-instrumentation` | | Existing product needs instrumentation | `rudder-code-first-instrumentation` | | Restructuring existing tracking | `rudder-code-first-instrumentation` | | General planning guidance | Continue with this skill |
**Design-First:** Start from product requirements → define events → define properties → implement code. Best for new features where events are part of product definition.
**Code-First:** Start from existing code types → derive tracking plan → align with data governance. Best for existing products with domain types already defined.
This skill covers the general planning process. For workflow-specific guidance, see the specialized skills above.
┌─────────────────────────────────────────────────────────────────────┐
│ INSTRUMENTATION PLANNING │
└─────────────────────────────────────────────────────────────────────┘
│
▼
┌─────────────────┐
│ 1. DISCOVERY │ ← What questions do we need to answer?
└────────┬────────┘
▼
┌─────────────────┐
│ 2. TAXONOMY │ ← What events and properties will answer them?
└────────┬────────┘
▼
┌─────────────────┐
│ 3. BUILD │ ← Create the YAML definitions
└────────┬────────┘
▼
┌─────────────────┐
│ 4. ASSEMBLE │ ← Group into tracking plans
└────────┬────────┘
▼
┌─────────────────┐
│ 5. INTEGRATE │ ← Generate code, implement in apps
└─────────────────┘**Business Questions:**
**Product Questions:**
**Technical Questions:**
## Business Goals - [ ] Primary KPIs: _______________ - [ ] Key funnels: _______________ - [ ] Attribution needs: _______________ ## User Journeys to Track 1. _______________ 2. _______________ 3. _______________ ## Platforms - [ ] Web - [ ] iOS - [ ] Android - [ ] Server ## Existing Tracking - Current events: ___ events - Issues with current: _______________
Group events by business domain:
| Category | Purpose | Examples | |----------|---------|----------| | `user-lifecycle` | Account actions | Signed Up, Logged In, Profile Updated | | `ecommerce` | Purchase funnel | Product Viewed, Added to Cart, Order Completed | | `engagement` | Feature usage | Feature Used, Content Viewed, Search Performed | | `errors` | Failure tracking | Error Occurred, Checkout Failed |
**Example: E-Commerce Funnel**
User Journey Events ─────────── ────── Browse products → Product Viewed Add to cart → Product Added to Cart Start checkout → Checkout Started Complete purchase → Order Completed
**Example: SaaS Onboarding**
User Journey Events ─────────── ────── Create account → Signed Up Verify email → Email Verified Complete profile → Profile Completed Use first feature → Feature Used (first_time: true) Invite teammate → Team Member Invited
For each event, list required context:
**Product Viewed**
**Order Completed**
Look for properties used across multiple events:
Shared across all events: - session_id - user_id (if logged in) - timestamp (automatic) Shared across e-commerce events: - product object (id, name, price, category) Shared across Order Completed: - address object
A Claude Code plugin marketplace and Agent Skills collection that teaches your AI coding agent how to drive every programmatic RudderStack surface — CLI, MCP server, Terraform, Profiles, and AI events — with the right preflight checks, commands, and recovery
Adds RudderStack AI events code from an approved ai-events.md plan: installs @rudderstack/ai, rudderstack-ai or ai-sdk-go, wraps…
Onboards an app to RudderStack AI events, including moving existing RudderStack LLM, chat or agent events to them: discovers…
Verifies RudderStack AI events locally and checks a move from existing RudderStack events: validates captures against the v0.3…
Installs and authenticates rudder-cli. Use when installing rudder-cli, setting up rudder cli, rudder-cli command not found, or…
Validates, previews, and applies RudderStack resource changes via YAML specs. Use when iterating on RudderStack resources with…
Imports existing RudderStack workspace resources into YAML files for git-based management. Use when importing existing…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.