Snowflake create password policy

From Gyrus-Dev/frosty · View interactive version

Snowflake create password policy is an AI agent skill from the GitHub repository Gyrus-Dev/frosty. Consult Snowflake CREATE PASSWORD POLICY parameter reference before generating any CREATE PASSWORD POLICY DDL.

How to use this skill

Skill file

Before writing a CREATE PASSWORD POLICY statement:

  1. Read references/parameters.md to review all available parameters and their defaults.
  2. For each parameter, decide whether the user's request implies a non-default value.
  3. Include only the parameters that differ from the default or that the user explicitly requested.
  4. Never use CREATE OR REPLACE — always use CREATE PASSWORD POLICY IF NOT EXISTS.
  5. Ensure PASSWORD_MIN_LENGTH is always less than or equal to PASSWORD_MAX_LENGTH; flag any contradiction to the user before generating DDL.
  6. When the user asks for a "strict" policy, suggest increasing PASSWORD_MIN_SPECIAL_CHARS, PASSWORD_MIN_UPPER_CASE_CHARS, PASSWORD_MIN_NUMERIC_CHARS, and reducing PASSWORD_MAX_AGE_DAYS and PASSWORD_MAX_RETRIES.
  7. PASSWORD_HISTORY prevents recent-password reuse; remind users this does not apply retroactively to existing passwords.
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.