Skip to content
Back to skills

Snowflake Create Database Role

ASecurity

Consult Snowflake CREATE DATABASE ROLE parameter reference before generating any CREATE DATABASE ROLE DDL.

  • 77 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added June 11, 2026
documentationdatabase

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned June 11, 2026

npx -y skills add Gyrus-Dev/frosty --skill snowflake-create-database-role --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Snowflake Create Database Role?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Snowflake Create Database Role
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/gyrus-dev-snowflake-create-database-role/badge)](https://www.skillsdirectory.com/skills/gyrus-dev-snowflake-create-database-role)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: snowflake-create-database-role
description: Consult Snowflake CREATE DATABASE ROLE parameter reference before generating any CREATE DATABASE ROLE DDL.
---

Before writing a CREATE DATABASE ROLE 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 DATABASE ROLE IF NOT EXISTS`.
5. Always qualify the role name with the target database (e.g., `<db_name>.<role_name>`) unless the current session database is already confirmed. Always add a COMMENT describing the role's purpose. Note that upon creation Snowflake automatically grants the USAGE privilege on the containing database to the new database role, so an explicit GRANT for that is not needed.

Files in this skill

  • SKILL.md948 B
  • references/parameters.md2.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.