sql-writer

Write and validate Databricks SQL queries for game analytics.

Updated Aug 27, 2026
Ready to run
npx skills add https://github.com/treenod-IDQ/treenod-market --skill sql-writer
💬 Prompt for ChatGPT / Claude Chat▼
Please help me install this Agent Skill.
Skill: sql-writer
Source: https://github.com/treenod-IDQ/treenod-market/tree/main/plugins/util/skills/sql-writer
Command: npx skills add https://github.com/treenod-IDQ/treenod-market --skill sql-writer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires google-auth, google-api-python-client, databricks-sdk, and includes scripts (resource) and references (resource) components.

What problem does it solve?

It automates the creation and verification of Databricks SQL queries for game analytics, reducing manual debugging and iteration time.

Core Features & Use Cases

  • Supports query drafting, schema exploration, syntax validation, and sample data retrieval across multiple game catalogs (litemeta, linkpang, pkpkg, matchflavor, matchwitch, traincf).
  • Enables end-to-end workflow from understanding data catalogs to validating and running safe, partition-filtered queries.
  • Use Case: a data analyst needs to quickly write a query to measure retention and funnel metrics from several games without leaving a unified toolset.

Quick Start

Run a quick syntax check on a sample query using the provided validate and sample scripts to ensure safety and structure before execution.

Frequently Asked Questions about sql-writer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write and validate Databricks SQL queries for game analytics?▼

To write and validate Databricks SQL queries for game analytics, you can use an automated toolset that drafts queries, explores schemas across game catalogs, and runs syntax validation using explain-based checks to ensure safety and structure before execution.

What's the best way to analyze retention and funnel metrics across multiple game catalogs?▼

Analyzing retention and funnel metrics across multiple game catalogs is best handled by querying event data through a unified toolset that supports schema exploration and sample data retrieval for catalogs like litemeta, linkpang, pkpkg, matchflavor, matchwitch, and traincf.

Does this game analytics query validation approach enforce read-only execution?▼

Yes, this game analytics query validation approach enforces read-only execution to ensure safety, applying mandatory partition filters and explain-based validation before running any Databricks SQL queries against your game event data.

Can I explore table schemas and retrieve sample data before running Databricks SQL queries?▼

Yes, you can explore table schemas and retrieve sample data before running Databricks SQL queries, leveraging the included log_spec, schema, and sample tooling to understand data catalogs and validate query structure safely.

Why do my Databricks SQL queries require mandatory partition filters for game event data?▼

Databricks SQL queries require mandatory partition filters for game event data to ensure safe query execution, prevent full table scans, and validate syntax efficiently through explain-based checks before actual read-only retrieval.