lookml-refinements
Instructions
1. Includes Mechanism
include makes Open LookML objects (views, explores, dashboards) available in the current file.
-
Wildcards (
*): Matches any string./views/*.view: All views in the absolute/viewsdirectory.*.view: All views in the current directory./**/*.view: (Recursive) All views in the current directory and any subdirectory.//project-name/views/*.view: Remote project import (Requires project manifest).
-
Best Practice: Be specific to avoid namespace collisions and performance bloat.
- BAD:
include: "/**/*.view"(Imports everything, everywhere. Slow and risky). - GOOD:
include: "/views/users.view"(Explicit). - GOOD:
include: "/views/finance/*.view"(Scoped to a domain).
- BAD:
2. Refinements (Layering)
More from lkrdev/lookml_skills
lookml-view
Use this skill to create or modify LookML Views. Covers basic view definitions, sql_table_name, file organization, and patterns.
25lookml-model
Use this skill when you need to create or modify a LookML Model file (.model.lkml). This includes defining connections, includes, and configuring model-level settings.
24lookml-explore
Use this skill when you need to create or modify a LookML Explore. This includes defining the Explore, joins, access grants, and basic configuration.
23lookml-fields
Overview of LookML field types (Dimension, Measure, Filter, Parameter) and the role of the `sql` parameter in each. Use this skill to choose the right field type for your data modeling needs.
22lookml-sets
Guide to using LookML sets for grouping fields, controlling visibility, and managing drill paths.
21lookml-liquid
Use this skill to use Liquid variables in LookML for dynamic SQL, HTML, and Links, including advanced patterns for query optimization.
21