segment
SKILL.md
Segment Skill
This skill helps you understand, debug, and navigate segment-related code across the Datalayer platform. Segments allow users to define custom filters and rule groups to partition analytics data (sessions, users, people, companies, web conversions, CRM objects) into dedicated BigQuery tables for reporting and analysis.
Invocation
When the user asks about segments, use this knowledge base to:
- Identify which files, lambdas, and query builders are relevant
- Explain the end-to-end segment creation, rebuild, and reporting flow
- Help debug segment-related issues by pointing to the right logs, tables, caches, and code
- Explain the rule group structure, condition types, and query generation
Repositories
| Repository | Path | Role |
|---|---|---|
| datalayerapp-v2 | D:\Projects\Datalayer\datalayerapp-v2 |
Main Express.js app (API, models, query builders, client UI) |
| datalayerapp-v2-function-code | D:\Projects\Datalayer\datalayerapp-v2-function-code |
AWS Lambda functions for BigQuery job processing |