技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
bigquery-historical-data-aggregator【数据与研究】Aggregates and analyzes historical data from multiple BigQuery tables with similar schemas. Queries multiple tables using UNION ALL, calculates aggregate metrics (averages, sums, counts), handles table discovery via INFORMATION_SCHEMA, and processes large datasets efficiently with batch queries.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
INFORMATION_SCHEMA.TABLES to identify all available tables within the target dataset. This ensures the skill adapts to the actual table names present.UNION ALL to combine data from all identified tables. Calculate the required aggregate metric (e.g., AVG(score)) grouped by the relevant key (e.g., student_id, name).LIMIT and OFFSET or filtering by key ranges) to retrieve the complete result set without truncation.drop_percentage > 0.25).bad_student.csv).drop_percentage > 0.45), execute immediate actions such as writing critical log entries to a designated logging service.INFORMATION_SCHEMA to build the UNION ALL query dynamically. Do not hardcode table names.WHERE clauses on sequential keys or LIMIT/OFFSET.(historical_value - latest_value) / historical_value.scripts/aggregate_query_template.sql: A parameterized SQL template for the core aggregation logic.references/schema_example.md: An example schema to illustrate the expected table structure.