@gyrus-dev/snowflake-create-view
AConsult Snowflake CREATE VIEW parameter reference before generating any CREATE VIEW DDL.
Install
agr install @gyrus-dev/snowflake-create-view --target claudeWrites 1 file into .claude/skills/, pinned to git-f0744bb2.
- .claude/skills/snowflake-create-view/SKILL.md
Document
name: snowflake-create-view description: Consult Snowflake CREATE VIEW parameter reference before generating any CREATE VIEW DDL.
Before writing a CREATE VIEW 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 — do not bloat the DDL with unnecessary clauses.
- Never use
CREATE OR REPLACE— always useCREATE VIEW IF NOT EXISTS. - Add the SECURE keyword only when the user explicitly needs to restrict access to the view definition (e.g. hiding business logic from non-privileged users).
- Use TEMPORARY/TEMP/VOLATILE only when the view is needed for session-scoped intermediate work; it will be dropped automatically at session end.
- Use RECURSIVE only when the SELECT statement needs to reference the view itself (self-referencing query); provide an explicit column list when RECURSIVE is used.
- Enable CHANGE_TRACKING = TRUE only when the user needs to create a stream on this view or track row-level changes.
- Views share the namespace with tables — a view and a table cannot have the same name within a schema.
- The SELECT statement is limited to 95 KB; all columns derived from expressions must be given explicit aliases.
Trustgrade A
- passBody integrity
Whether the stored document is plausibly the kind of file the artifact declares, rather than something fetched by mistake.
- passType matchnot applicable to this artifact type
Whether the artifact is really the kind of thing its metadata claims it is.
- passFreshness
How long since the source repository was last pushed to.
- passPrompt injection
Scans the artifact's own text for instructions aimed at your agent rather than at you.
- passLicense
Whether the source repository declares an SPDX license permissive enough to redistribute.
How the grade is calculated
Each check contributes 0 points when it passes, 1 when it warns, and 2 when it fails. The total maps to a letter:
- Aevery check passed
- Bone warning
- Ctwo warnings
- Dprompt injection or body integrity failed, or three warnings
- Fone of those failed, and something else is wrong
These are automated hygiene checks, not a security audit, and not a dependency or vulnerability scan. A grade of A means nothing was flagged — not that the artifact is safe.
Versions
git-f0744bb2222b2026-07-31