validation

Solid

Use after creating or modifying ANY Honeydew object (metric, attribute, entity, domain). Provides type-specific validation logic to ensure objects work correctly and return sensible results.

AI & Automation 39 stars 1 forks Updated 2 days ago Apache-2.0

Install

View on GitHub

Quality Score: 82/100

Stars 20%
53
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

## Overview **This skill is MANDATORY after creating or modifying any Honeydew object.** Validation ensures: - The object compiles and executes without errors - Results are returned (not NULL or empty) - Values make business sense - Related objects are consistent with each other --- ## Validation by Object Type ### Metrics **Step 1: Execute the metric** Call `get_data_from_fields` with: - `metrics`: `["<entity>.<metric_name>"]` If the tool call fails (API error, permission denied, timeout), report the error to the user before proceeding. Do not confuse a tool error with suspicious data. **Step 2: Sanity checks** | Check | What to Look For | Action if Failed | | --------------- | ------------------------------------- | ----------------------------------------------------- | | Returns data | Not NULL, not empty | Check SQL syntax, entity references | | Magnitude | Reasonable for business context | Verify calculation logic | | Sign | Positive for revenue/counts (usually) | Check for inverted logic | | Related metrics | Parts sum to whole | Query related metrics together and verify consistency | | Ratios | Between 0-100% (usually) | Check numerator and denominator metrics independently | **Step 3: Cross-validation** If the new metric is a fi...

Details

Author
honeydew-ai
Repository
honeydew-ai/honeydew-ai-coding-agents-plugins
Created
5 months ago
Last Updated
2 days ago
Language
Shell
License
Apache-2.0

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category