{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "dbt-labs-dbt-charts--validate-board-yaml-before-merge",
 "repo": "dbt-labs/dbt-charts",
 "repo_url": "https://github.com/dbt-labs/dbt-charts",
 "repo_slug": "dbt-labs-dbt-charts",
 "title": "Check dashboard YAML for errors before merging",
 "page_title": "How to check dashboard YAML for errors before merging with DBT Charts",
 "summary": "Run strict validation on board files in a pull request, with no warehouse needed.",
 "who": "An analytics engineer reviewing dashboard changes, or a team lead who wants board files checked the same way as code.",
 "problem": "Dashboard changes written by people or agents are hard to audit by eye, and errors surface late.",
 "outcome": "A clear pass or fail on every board under charts/, with warnings treated as failures when strict mode is on.",
 "steps": [
  "Run `uv tool install dbt-charts` on the machine that runs your checks.",
  "Run `dct validate charts/guide.yml` on one board to confirm the setup works.",
  "Run `dct validate --strict` to check every board under charts/ and fail on warnings. (inferred, check the README)",
  "Add the same command to your review or CI step so each change is checked before merge."
 ],
 "agent_prompt": "In the dbt-charts repo, run `dct validate --strict` on the boards changed in <placeholder> and list every error and warning with its file path. Verify that the command exits cleanly once the issues are fixed.",
 "agents": [
  "any"
 ],
 "difficulty": "Beginner",
 "time": "15 minutes",
 "basis": "readme",
 "caveat": "The README describes validation as checking board YAML only, so it does not confirm that the SQL returns correct data from your warehouse.",
 "category": "Data and analytics",
 "tags": [
  "Data and analytics"
 ],
 "lang": "python",
 "requirements": [
  "Python 3.11 to 3.13",
  "uv (or pip) to install the dbt-charts package",
  "A warehouse adapter extra such as dbt-charts[snowflake] or dbt-charts[bigquery] if you want to run queries against your own warehouse",
  "Warehouse credentials for your own data, or the Playground demo data at play.dbtcharts.com"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/dbt-labs-dbt-charts/validate-board-yaml-before-merge/",
 "md": "https://dedupedai.com/use-cases/dbt-labs-dbt-charts/validate-board-yaml-before-merge/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/dbt-labs-dbt-charts--validate-board-yaml-before-merge.json",
 "api_version": "v1"
}
