/looker-skills:lookml-reviewerfrom looker-skills
Reviews LookML files, branches, or pull requests for code quality, LAMS style compliance, maintainability, and Conversational Analytics semantic readiness using looker-cli.
Ships in looker-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
This skill performs a rigorous code audit on LookML files, checking them against a bundled set of best practice references and style guidelines using the Looker CLI (looker-cli).
When invoked, execute the following steps precisely:
Pre-flight Guardrails & Verification:
Before requesting details or fetching code, verify that looker-cli is installed and authenticated (ensure ~/.local/bin is in PATH and never scan / with find):
export PATH="$HOME/.local/bin:$PATH" && command -v looker-cli
If the command fails or is not found: Halt immediately and instruct the user:
"
looker-cliis not installed or not in your PATH. Please refer to the installation instructions in the Looker CLI documentation: https://github.com/looker-open-source/looker-cli"
looker-cli user me
If unauthenticated or connection fails: Halt immediately and instruct the user:
"You are not authenticated to a Looker instance. Please configure and authenticate
looker-cliusing one of the following methods:Method 1: Interactive OAuth (Recommended)
- In Looker, ensure the Looker CLI connector is enabled: Navigate to Admin > Platform > BI Connectors > under Developer Tools, toggle Looker CLI to ON.
- Configure your profile and log in:
looker-cli profile add default --host <your-looker-host> --port 443 looker-cli profile use default looker-cli session login --oauthMethod 2: API Keys (Client ID & Client Secret) If OAuth is not enabled or for headless/service accounts:
looker-cli profile add default --host <your-looker-host> --port 443 --client-id <CLIENT_ID> --client-secret <CLIENT_SECRET> looker-cli profile use defaultOnce configured, please rerun your review request."
Understand Scope & Validate Branch:
https://<instance>.looker.com or https://<instance-id>.<region>.looker.app), the Looker Project Name (e.g., fashionly), the target branch, and whether the user wants to review the entire project or a single specific LookML file (e.g., views/order_items.view.lkml).looker-cli session update dev
looker-cli project branch <project_id> --all
master / main Equivalence: If the user requested master but only main exists (or vice versa), automatically map to the existing one (main or master) and inform the user.master/main equivalent) does not exist in the branch list, halt immediately, list the available branches to the user, and ask for clarification.Retrieve LookML Files via looker-cli:
looker-cli project checkout <project_id> <branch_name>
looker-cli project file ls <project_id>
looker-cli project file cat <project_id> <file_path>
(If the file is not found, halt, list matching project files, and ask for clarification).*.model.lkml, *.explore.lkml, *.view.lkml, manifest.lkml, and config files):
looker-cli project file cat <project_id> <file_path>
Analyze Codebase / Target File:
references/ matching the user's review scope:
Lines 17-110), lookml-dos-and-donts.md (Lines 20-55), and playbook_lookml_quality.md (Lines 7-111)Lines 15-108)Lines 25-71)Lines 21-140)${TABLE} vs hardcoded SQL table references, primary keys, foreign keys, naming conventions, descriptions, count measure filters, and conversational analytics readiness).*.view includes in .model.lkml, model-explore relationships, explicit join relationship: definitions, primary keys, symmetric aggregate SUM(DISTINCT) fanout prevention, datagroups, naming conventions, conversational analytics readiness, and optional 0–4 Transcriber scoring).Compile Report: Draft a highly verbose and comprehensive review report based on your analysis. The report must contain the following sections:
views/order_items.view.lkml:L16-L19). Use the Looker instance URL to construct a direct link to the file in the Looker IDE: <instance_url>/projects/<project_id>/files/<file_path>.Print Report: Formulate the report and print it directly in the chat or console as your primary response (do not save it to a file unless explicitly requested by the user).
README.md (opens in a new tab)index.md (opens in a new tab)references/conversational-analytics-best-practices.md (opens in a new tab)references/lams-style-guide.md (opens in a new tab)references/lookml-dos-and-donts.md (opens in a new tab)references/playbook_lookml_quality.md (opens in a new tab)references/playbook_transcriber_scoring.md (opens in a new tab)references/sustainable-maintainable-lookml.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Generated from the plugin's indexed repository (looker-open-source/looker-skills) — no native marketplace selected
npx claudepluginhub p/looker-open-source-looker-skills27 skills in this plugin
/authenticating-looker-cliLooker Developer Onboarding: Step 3. Authenticates the Looker CLI using OAuth. Only execute this after Step 2 (CLI Verification using `installing-looker-cli`)./connecting-looker-to-bigqueryLooker Developer Onboarding: Step 4. Creates a database connection in Looker to Google BigQuery. Only execute this after Step 3 (CLI Authentication using `authenticating-looker-cli`)./creating-looker-dashboardLooker Developer Onboarding: Step 7 (Final Step). Creates a LookML dashboard in the project, imports it as a user-defined dashboard (UDD) in Looker, and iteratively refines it based on user feedback by syncing changes. Only execute this after Step 6 (Model Setup using `creating-lookml-model`)./creating-lookml-modelLooker Developer Onboarding: Step 6. Creates LookML views and models based on the user's goals, maps model connections, validates LookML, and runs verification queries. Only execute this after Step 5 (Project Setup using `setting-up-looker-project`)./exploring-data-for-lookerLooker Developer Onboarding: Step 1. Guides the agent to explore BigQuery data and define the onboarding goal. This is the first active step, to be executed immediately after reading the parent orchestrator `looker-developer-onboarding`./installing-looker-cliLooker Developer Onboarding: Step 2. Verifies that the Looker CLI is available in the PATH, or installs it from GitHub Releases if missing. Only execute this after Step 1 (Data Discovery using `exploring-data-for-looker`).Other plugins' skills for the same job