CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

rill-metrics-view

Explains how to create regular and derived metrics views in Rill using YAML, with examples for data sources, dimensions, measures, dashboards, and SQL dialects. It also covers security rules, caching, rollups, and recommended configuration practices. The reference section provides schema details for metrics view properties.

Quality

66%

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

Fix and improve this skill with Tessl

tessl review fix ./skills/rill-metrics-view/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Scored by GLM 5.3

Content

63%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.

This is a highly actionable, well-exampled reference for Rill metrics views whose main weaknesses are token efficiency and file structure: a ~360-line JSON schema is dumped inline instead of being split into a reference file, and guidance is occasionally duplicated. The concept sections are excellent and need only trimming, not rewriting.

Suggestions

Move the full JSON schema block into a references/ file (e.g. references/schema.md) and keep only a one-line pointer plus the most important properties inline - this alone would remove ~40% of the body and lift both conciseness and progressive_disclosure.

De-duplicate the timeseries guidance: state the 'strongly recommended primary timeseries' advice once (in Best practices or the Timeseries section), not twice.

Add a short 'Creating and verifying' workflow at the top (create metrics/<name>.yaml, run 'rill start', check for parse errors, confirm the explore dashboard renders) so the file-creation and validation loop from the schema description is explicit rather than buried.

Trim hedgy parentheticals like '(but try without first and see if that works)' to a single decisive instruction.

DimensionReasoningScore

Conciseness

The body inlines a ~360-line JSON schema dump that belongs in a separate reference file, repeats the timeseries recommendation twice (the 'strongly recommended' note appears in both the Timeseries section and Best practices), and includes hedgy asides like 'but try without first and see if that works'. The concept sections themselves are dense and Rill-specific rather than generic knowledge, which keeps this above anchor 1's 'severely verbose / explains concepts Claude already knows'; the schema dump is a major padded section rather than a minor one, so 2 fits better than 3.

2 / 5

Actionability

The content is copy-paste-ready throughout: YAML for dimensions (column, expression, uri, unnest), measures (format presets, exact_expression, valid_percent_of_total), security policies with templated user attributes, derived-view field selectors, a fully annotated complete example, and dialect-specific SQL for DuckDB/ClickHouse/Druid. Specific examples cover the common cases, matching the top anchor; not scored lower because no significant executable gap was found.

5 / 5

Workflow Clarity

The single task - authoring a metrics view YAML - is unambiguous and anchored by the full annotated example, and the derived-views section lists explicit parse-error rules with recovery guidance ('If the parent has an error, fix the parent first'). It falls short of 5 because there is no explicit create-validate-view sequence (e.g., run 'rill start', verify the explore dashboard rendered), and the one workflow hint that exists (create the file in metrics/, Rill ingests on 'rill start') is buried in the schema dump at the very end.

4 / 5

Progressive Disclosure

Section structure is good (Core Concepts, Full Example, Security, Advanced, Dialects), but content that clearly belongs in a separate file - the full JSON schema reference - is inlined, and no references/, scripts/, or assets/ bundle files exist at all. This matches anchor 3 ('content that should be separate is inline') rather than 4, whose example explicitly places 'bulk in separate file'.

3 / 5

Total

14

/

20

Passed

Description

53%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.

The description names a specific, distinctive domain but describes capability in generic terms and entirely lacks 'when to use' trigger guidance. It reads more like a table-of-contents label than an activation-oriented description. Adding a 'Use when...' clause with natural trigger phrases would substantially improve it.

Suggestions

Add an explicit trigger clause, e.g. 'Use when creating or editing metrics views (YAML files in the metrics/ directory) in a Rill project, or when the user mentions Rill dashboards, semantic layers, or metrics.'

Replace the format description 'Detailed instructions and examples for' with concrete actions: 'Define dimensions, measures, security policies, and explore dashboards for Rill metrics views.'

Include natural synonyms users would say, such as 'semantic layer', 'metrics layer', and 'Rill dashboard', to improve trigger matching.

DimensionReasoningScore

Specificity

'Detailed instructions and examples for developing metrics view resources in Rill' names the domain clearly and one action ('developing'), but 'detailed instructions and examples' describes format rather than listing several concrete capabilities. It matches the anchor 'Names domain and 1-2 concrete actions, but not comprehensive' and falls short of 4, which requires a list of several specific actions.

3 / 5

Completeness

The description clearly answers 'what' (instructions and examples for developing metrics views in Rill) but contains no 'Use when...' clause or equivalent explicit trigger guidance, which the judging guidelines cap at 3. It is not 4 because the 'when' is entirely absent rather than merely less explicit.

3 / 5

Trigger Term Quality

Relevant keywords like 'metrics view', 'Rill', and 'developing' are present, but common variations a user would naturally say - 'semantic layer', 'dashboard', 'Rill dashboard' - are missing. This matches 'Some relevant keywords but missing common variations or synonyms' rather than 4's 'Good keyword coverage'.

3 / 5

Distinctiveness Conflict Risk

'Metrics view resources in Rill' carves out a clear niche with minimal conflict risk against non-Rill skills. It is not 5 because sibling Rill skills (models, explores, dashboards) could overlap and no distinct trigger phrases are provided to disambiguate.

4 / 5

Total

13

/

20

Passed

Validation

93%

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

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

skill_md_line_count

SKILL.md is long (879 lines); consider splitting into references/ and linking

Warning

Total

15

/

16

Passed

Repository

rilldata/agent-skills

Path

skills/rill-metrics-view/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.