Add Events Agent with Figma MCP integration#35
Open
Daniel Beer (DanielB945) wants to merge 1 commit intomainfrom
Open
Add Events Agent with Figma MCP integration#35Daniel Beer (DanielB945) wants to merge 1 commit intomainfrom
Daniel Beer (DanielB945) wants to merge 1 commit intomainfrom
Conversation
Created comprehensive events agent with two main workflows: ## Map Events Agent - **map-events/**: General event mapping from multiple sources - **map-events/map-events-skill/**: Figma MCP integration for V3 analytics - SKILL.md (491 lines): Complete Figma→Events workflow with MCP - IMPLEMENTATION_RULES.md: V3 event types, ID linking, required fields - TEMPLATE.md: V3 spec document template - Routes to specialized workflow when Figma URL provided - Creates event registry YAML or V3 specification documents - Annotates Figma files with event documentation via MCP ## Validate Events Agent - **validate-events/**: Production event validation for LTX Studio - Registry vs production comparison - Data quality checks, volume sanity, recency validation - **validate-events/validate-analytics-schemas/**: V3 schema validation - Integration environment BigQuery testing - FE↔BE correlation checks - Spec-driven validation against Event Spec Documents ## Features ✅ Figma MCP integration - Read designs and write annotations ✅ V3 analytics schema support - Full spec generation ✅ Event registry YAML generation ✅ Multi-source event discovery (Figma, code, registry, production) ✅ FE→BE event linking documentation ✅ Production data validation with quality checks ✅ Integration environment schema testing ## Files Changed - agents/events-agent/SKILL.md (router) - agents/events-agent/map-events/SKILL.md (362 lines) - agents/events-agent/map-events/map-events-skill/ (3 files, 1192 lines) - agents/events-agent/validate-events/SKILL.md (463 lines) - agents/events-agent/validate-events/validate-analytics-schemas/SKILL.md (901 lines) - CLAUDE.md (routing update) - README.md (documentation) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Created comprehensive Events Agent with two main workflows for discovering, mapping, and validating analytics events.
Structure
Map Events Agent
General Workflow (map-events/SKILL.md)
Figma MCP Integration (map-events/map-events-skill/)
Two modes:
V3 Schema Specification - Full event spec documents
resources/docs/analytics-global-web-v3/Figma Annotation - Quick event mapping
Key Features:
ListMcpResourcesTool, read files, post comments)Support Files:
Validate Events Agent
Production Validation (validate-events/SKILL.md)
Validates LTX Studio production events:
Output: Validation report with ✓ OK /⚠️ Warning / ❌ Critical
V3 Schema Validation (validate-events/validate-analytics-schemas/)
Validates V3 analytics in integration environment:
Usage Examples
Map Events from Figma (V3 Spec)
Quick Mapping with Figma Annotation
Validate Production Events
Files Changed
New Files (10)
agents/events-agent/SKILL.md- Main routeragents/events-agent/map-events/SKILL.md- Event mapping workflowagents/events-agent/map-events/map-events-skill/SKILL.md- Figma MCP integrationagents/events-agent/map-events/map-events-skill/IMPLEMENTATION_RULES.md- V3 rulesagents/events-agent/map-events/map-events-skill/TEMPLATE.md- V3 spec templateagents/events-agent/validate-events/SKILL.md- Production validationagents/events-agent/validate-events/validate-analytics-schemas/SKILL.md- V3 validationUpdated Files (2)
CLAUDE.md- Added events-agent routingREADME.md- Added Events Agent documentationTotal: 3,371 insertions
Key Features
✅ Figma MCP Integration - Read designs, write annotations, link to node IDs
✅ V3 Analytics Schema - Full spec generation with FE↔BE linking
✅ Event Registry YAML - LTX Studio production event documentation
✅ Multi-source Discovery - Figma, code, registry, PRDs, production
✅ Production Validation - Data quality, volume, recency checks
✅ Integration Testing - V3 schema validation in integration environment
✅ Spec-driven Validation - Test against Event Spec Documents
🤖 Generated with Claude Code