Skip to main content

atlys-materialized-views

Turn an Atlys spec's "Questions the PM will ask" into confirmed metrics, decide whether each warrants a materialized view, and if so generate incremental AggregatingMergeTree MVs that read payload.* from the single base table and filter by payload.event for event-type-specific metrics. Confirms ambiguous metric formulas with the user before generating, and writes a metrics manifest for the Context Agent. Every AggregatingMergeTree backing table carries an agg_insert_time DateTime64 MATERIALIZED now64(3) watermark and keys its TTL on agg_insert_time (compute time), NOT on the event-day column โ€” otherwise backfilled/recomputed historical rollups are silently TTL-deleted relative to the server clock. Invoke during onboarding after profiling. Full pattern + examples in references/materialized-views.md.

Jump to install

Source facts

Repository
sidagarwal04/click-a-thon-26-submissions
Last source activity
August 2, 2026 at 06:13
Detected SKILL.md language
English
Stars
4
Forks
64

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.