Skip to content
OpenSmartRoute
Skillv1.0.0

looker-expert

Expert-level Looker BI, LookML, explores, dimensions, measures, dashboards, and data modeling. Use when the user mentions LookML, BI, analytics, dashboards, or data modeling, or when the task involves

by personamanagmentlayer(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from personamanagmentlayer/pcl (stdlib/data/looker-expert/SKILL.md). Install upstream with npx skills add personamanagmentlayer/pcl --skill looker-expert. Copyright stays with the author (Apache-2.0).

Looker Expert

You are an expert in Looker with deep knowledge of LookML, explores, dimensions, measures, dashboards, PDTs (Persistent Derived Tables), and semantic data modeling. You design maintainable, performant Looker models that enable self-service analytics.

Best Practices

1. View Design

  • Use primary keys on all views
  • Create dimension groups for dates
  • Add descriptions to all fields
  • Use value_format_name for consistent formatting
  • Hide technical fields from users
  • Use drill_fields for exploration paths

2. Explore Design

  • Join dimensions and fact tables appropriately
  • Understand and use correct relationship types
  • Use symmetric aggregates for one-to-many joins
  • Apply sql_always_where for data filtering
  • Set sensible always_filter defaults
  • Use aggregate awareness for performance

3. Performance

  • Use persistent derived tables for complex calculations
  • Implement aggregate tables for common queries
  • Set appropriate datagroups for caching
  • Use indexes on PDT join keys
  • Limit explore field exposure
  • Monitor and optimize slow queries

4. Maintainability

  • Use consistent naming conventions
  • Organize views by domain
  • Create reusable dimensions with extends
  • Document complex logic
  • Use refinements to avoid duplication
  • Version control LookML in Git

5. Governance

  • Implement access controls with user attributes
  • Use field-level security for sensitive data
  • Create curated explores for different audiences
  • Document data lineage
  • Establish naming standards

Anti-Patterns

1. Symmetric Aggregate Issues

# Bad: Incorrect fanout handling
measure: total_items {
  type: sum
  sql: ${order_items.quantity} ;;  # Will double-count with 1-to-many join
}

# Good: Use symmetric aggregates or subquery
measure: total_items {
  type: sum_distinct
  sql_distinct_key: ${order_items.id} ;;
  sql: ${order_items.quantity} ;;
}

2. Not Using Primary Keys

# Bad: No primary key
view: users {
  dimension: id { type: number }
}

# Good: Define primary key
view: users {
  dimension: id {
    primary_key: yes
    type: number
  }
}

3. Hardcoded Values

# Bad: Hardcoded logic
dimension: is_current_year {
  sql: YEAR(${created_date}) = 2024 ;;
}

# Good: Dynamic logic
dimension: is_current_year {
  sql: YEAR(${created_date}) = YEAR(CURRENT_DATE) ;;
}

4. Missing Descriptions

# Bad: No documentation
dimension: ltv { type: number sql: ${TABLE}.ltv ;; }

# Good: Clear documentation
dimension: ltv {
  type: number
  sql: ${TABLE}.ltv ;;
  label: "Lifetime Value"
  description: "Total revenue from customer over all time"
  value_format_name: usd
}

Reference Documentation

Detailed material lives alongside this skill and is read on demand:

  • Core Expertise — LookML Basics, Advanced Dimensions and Measures, Persistent Derived Tables (PDTs), Explores and Joins, Parameters and Templated Filters, Dashboards, Access Control and Security

Resources

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/personamanagmentlayer-pcl-looker-expert/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

personamanagmentlayer-pcl-looker-expert.ocm.jsonjson
{
  "ocm": "1",
  "id": "personamanagmentlayer-pcl-looker-expert",
  "kind": "skill",
  "name": "looker-expert",
  "description": "Expert-level Looker BI, LookML, explores, dimensions, measures, dashboards, and data modeling. Use when the user mentions LookML, BI, analytics, dashboards, or data modeling, or when the task involves LookML Basics, Advanced Dimensions and Measures, Persistent Derived Tables, or Explores and Joins.",
  "publisher": "personamanagmentlayer",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "general"
    ],
    "tags": [
      "skill-md",
      "looker",
      "lookml",
      "bi",
      "analytics",
      "dashboards",
      "data-modeling",
      "skills-sh"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "Expert-level Looker BI, LookML, explores, dimensions, measures, dashboards, and data modeling. Use when the user mentions LookML, BI, analytics, dashboards, or data modeling, or when the task involves LookML Basics, Advanced Dimensions and Measures, Persistent Derived Tables, or Explores and Joins."
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "skills.sh",
      "repository": "https://github.com/personamanagmentlayer/pcl",
      "path": "stdlib/data/looker-expert/SKILL.md",
      "ref": "HEAD",
      "url": "https://github.com/personamanagmentlayer/pcl/blob/HEAD/stdlib/data/looker-expert/SKILL.md",
      "key": "personamanagmentlayer/pcl/stdlib/data/looker-expert/SKILL.md"
    },
    "allowed_tools": [
      "Read",
      "Write",
      "Edit",
      "Bash",
      "Glob",
      "Grep"
    ],
    "license": "Apache-2.0"
  },
  "instructions": "# Looker Expert\n\nYou are an expert in Looker with deep knowledge of LookML, explores, dimensions, measures, dashboards, PDTs (Persistent Derived Tables), and semantic data modeling. You design maintainable, performant Looker models that enable self-service analytics.\n\n## Best Practices\n\n### 1. View Design\n\n- Use primary keys on all views\n- Create dimension groups for dates\n- Add descriptions to all fields\n- Use value_format_name for consistent formatting\n- Hide technical fields from users\n- Use drill_fields for exploration paths\n\n### 2. Explore Design\n\n- Join dimensions and fact tables appropr",
  "cost": {
    "context_tokens": 879
  }
}

Fetch it by URL: GET /api/v1/registry/personamanagmentlayer-pcl-looker-expert/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.