validationlisted
Install: claude install-skill honeydew-ai/honeydew-ai-coding-agents-plugins
## 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