CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

hive

This guide covers TD time functions, Hive features such as MAPJOIN, lateral view with explode, JSON extraction, and dynamic partitioning. It also compares Hive with Trino and lists common query errors and suggested fixes.

Quality

86%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Scored by GLM 5.3

Content

83%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

An efficient, highly actionable reference that is lean and copy-paste ready throughout. Its one real weakness is the absence of validation/verification steps around the destructive insert-overwrite dynamic-partitioning workflow, which caps workflow clarity despite otherwise excellent organization.

Suggestions

Add validation checkpoints to the Dynamic Partitioning workflow, e.g. verify the generated partition count and spot-check row counts per partition before and after the insert overwrite.

Add error-recovery guidance for the listed common errors (e.g. what to do when 'Too many dynamic partitions' fires mid-job) so the batch workflow has a feedback loop rather than just a one-line fix table.

Consider moving the per-function reference (TD time functions) into a references/ file with a one-line pointer, keeping SKILL.md as a leaner overview.

DimensionReasoningScore

Conciseness

The body is almost entirely executable SQL snippets and two compact tables with no padding or explanation of concepts Claude already knows; every section adds TD/Hive-specific knowledge, matching the 'lean and efficient' anchor.

5 / 5

Actionability

Every feature is shown as copy-paste-ready, complete SQL — including the required set statements for dynamic partitioning — covering the common cases the skill targets.

5 / 5

Workflow Clarity

Sections are well organized, but the Dynamic Partitioning workflow is a destructive batch operation ('insert overwrite table') with no validation or verification steps; the rubric caps workflow clarity at 3 for batch operations lacking validation, which overrides the simple-skill exception.

3 / 5

Progressive Disclosure

No bundle files exist and the single-file body is clearly sectioned with headers and tables, but at ~108 lines it exceeds the under-50-line threshold for the simple-skill exception, so the full function reference living inline is a minor organization gap rather than ideal split.

4 / 5

Total

17

/

20

Passed

Description

83%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description with an explicit and concrete 'Use when' trigger clause, distinct niche positioning, and named feature keywords. Its main weaknesses are the generic 'TD-specific functions' phrase and missing a few natural synonyms (HiveQL, Treasure Data, OOM).

DimensionReasoningScore

Specificity

Names the domain and several concrete features ('lateral view, explode, MAPJOIN hint'), but 'TD-specific functions' is generic and never names the actual functions (td_time_range, td_interval), leaving minor gaps in coverage.

4 / 5

Completeness

Explicitly answers both what ('TD Hive SQL with TD-specific functions and Hive-only features (lateral view, explode, MAPJOIN hint)') and when ('Use when Trino memory errors occur or for Hive-specific syntax') with concrete trigger phrases, matching the top anchor rather than the 'when could be more explicit' anchor below it.

5 / 5

Trigger Term Quality

Good natural keyword coverage ('Trino memory errors', 'Hive-specific syntax', 'lateral view', 'explode', 'MAPJOIN'), but misses common synonyms users would say such as 'HiveQL', 'Treasure Data', or 'out of memory'.

4 / 5

Distinctiveness Conflict Risk

Clear Hive-vs-Trino niche with distinct triggers, but the 'Use when Trino memory errors occur' trigger invokes Trino by name, creating minor overlap risk with a sibling Trino skill.

4 / 5

Total

17

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

treasure-data/td-skills

Path

sql-skills/hive/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.