snowflake-create-data-metric-function
SkillDatabases & dataConsult Snowflake CREATE DATA METRIC FUNCTION parameter reference before generating any CREATE DATA METRIC FUNCTION DDL.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the snowflake-create-data-metric-function skill
What this skill tells your AI
The instructions your AI receives, as published by gyrus-dev/frosty in skills/snowflake-create-data-metric-function/SKILL.md and read by ahel’s review.
Before writing a CREATE DATA METRIC FUNCTION statement:
- Read
references/parameters.mdto review all available parameters and their defaults. - For each parameter, decide whether the user's request implies a non-default value.
- Include only the parameters that differ from the default or that the user explicitly requested.
- Never use
CREATE OR REPLACE— always useCREATE DATA METRIC FUNCTION IF NOT EXISTSwhere supported. - The function body must be a deterministic SQL expression that returns a scalar NUMBER; avoid nondeterministic functions such as CURRENT_TIME or RANDOM.
- The table argument signature must list every column that the expression references; all listed columns must belong to the same table.
- Mark the function
SECUREwhen the expression logic or column names would reveal sensitive business rules to non-owner roles. - Use
$$delimiters for the AS clause when the expression body contains single-quote characters.
Signals
- GitHub stars
- 77
- Forks
- 9
- Last commit
- Apr 2026
Advanced
- Catalog kind
- skill
- Gateway key
snowflake-create-data-metric-function- Source
- github.com/gyrus-dev/frosty