Overview: Ensure the SQL has passed sql.validate and contains required filters (e.g., is_deleted = 0, tenant_id = :current_tenant). The skill enforces read-only execution on replicas and applies timeout, row-limit, and approval checks based on estimated scan cost and row count.
Overview: Ensure the metric name is known or specified before querying. The tool does not execute SQL queries and only returns definitions, versions, and filters if the metric is published and available.
Overview: Before generating the report, ensure that all data sources, metrics, and charts are validated and pinned to specific versions. The report must include a summary section with key findings, a dataset and semantics chapter, multi-dimensional charts with interpretations, attribution conclusions, recommendations, and a citations appendix with traceable references.
Overview: Before starting the analysis, ensure a dataset is already defined with a `dataset_id`, metric versions pinned, and default filters and time grain specified. Each step must reference the same `metric_refs` and maintain the same time grain. If a step's SQL does not align with the dataset's default filters or metric versions, rewrite the question up to two times to correct the alignment.
Overview: Before starting, ensure the semantic layer is ready with published tables and join paths. If no whitelist is returned, the dataset is based on table summaries, and the conclusion confidence level should be reduced.
Overview: Confirm the data source is connected and accessible. Define the dashboard goal, audience, key metrics, date range, and time grain. Ensure metric definitions are clear and confirmed before generating visualizations.
Overview: Before starting the analysis, ensure that the metric version is consistent across the comparison periods and that the data is complete and not affected by calendar effects or rule changes. The first deliverable is a conclusion card with a structured breakdown of causes, supported by charts and SQL steps for traceability.
Overview: Ensure the target database is bound and the time window is converted to absolute time (e.g., "last night" → specific start and end timestamps). All destructive actions are marked as "unexecuted · pending approval."
Overview: The skill requires that the target database be bound and that analysis be conducted in batches (≤20 tables) to avoid overwhelming metadata queries. Data collection should prefer read-only replicas, and production primary databases should be sampled with rate limiting and noted in the report. The skill only provides proposals and does not execute changes automatically.
Overview: Ensure `target_db` is bound and `time_window` is set to at least 24 hours to cover query patterns. Clarify the table scope, and note that index change proposals are subject to review and must not be executed automatically in production environments.
Overview: Ensure the SCRAPECREATORS_API_KEY environment variable is set before running the skill. Define the topic, aliases, competitor names, and date window explicitly to guide the research scope.