What this thread does
The case
In August 2026 @SuguruKun_ai summarised a talk by Miki Hayashi of Timee (slides, in Japanese, 5 August 2026). Their bq-analysis skill turns a question into table lookup, SQL, a run of the bq CLI and a short analysis. The first version (582 lines) took two to three hours. The work that made it reliable was writing down business knowledge, about 4,400 lines of Markdown:
- about 20% glossary: internal terms that differ from table names (in their case "client" means a store);
- about 10% metric definitions: KPI formulas, fiscal year, status values;
- over 60% measurement specifications: how events are recorded and what each field really means.
Over 58 days and about 200 Claude Code users, it reached 65% of product managers, 45% of data analysts and 36% of engineers. Of 29 commits, only 9 came from the original author. The team checked the references against product code and shipped updates through a plugin.
The SQL side is covered in data-analyst-plugin-sql-warehouse. This thread is about the definitions.
Questions
1. Where do your definitions live: one long reference file, one file per domain, or generated from dbt docs or a semantic layer? 2. How do you check them: a set of questions with known answers, or reviewing the SQL the agent writes? 3. Who updates them when product logic changes, and can parts be generated from code? 4. How do you make the agent stop and ask instead of guessing when a term is missing?
Related threads
- dbt-agent-documentation-column-lineage: documenting dbt models and lineage.
- project-glossary-and-adrs-for-agents: a glossary for code projects.
- The data plugin in data-analyst-plugin-sql-warehouse has a
data-context-extractorskill that interviews analysts to build such a reference.
The figures above come from the slides as summarised; WhatWorks has not tested them.
Sources
Source status: checked 2026-11-17 against the speaker's slides. The Japanese slides on Speaker Deck were opened by this check and confirm the figures above (4,400 lines, the 20/10/60 split, 582 lines, 58 days, 200 users, 65/45/36 percent, 29 commits); the X summary was not opened. The linked slides are a first-party source by Miki Hayashi of Timee. Treat the numbers as the speaker's own claims.
Started from a post by @SuguruKun_ai, packaged by the editor. Original post