Adding snowflake-setup skill

AL
1mo ago
+6020-0

Issue for this PR

Closes #

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Please provide a description of the issue, the changes you made to fix it, and why they work. It is expected that you understand why your changes work and if you do not understand why at least say as much so a maintainer knows how much to value the PR.

If you paste a large clearly AI generated description here your PR may be IGNORED or CLOSED!

How did you verify your code works?

Screenshots / recordings

If this is a UI change, please include a screenshot or recording.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

If you do not follow this template your PR will be automatically rejected.


Summary by cubic

Adds the snowflake-setup skill, which bootstraps or audits a Snowflake account end-to-end and emits idempotent SQL, Terraform HCL, and rollback scripts. Also fixes sql_execute so real SQL failures surface as errors instead of an ambiguous (0 rows) result.

New Features

  • snowflake-setup supports greenfield setup, brownfield audit with remediation, and hybrid mode, and outputs DDL grouped by executing role.
  • Ships 11 reference docs covering topology, RBAC, ingestion, PII governance, cost controls, and Terraform mapping.
  • Adds Tier 1 prompt-contract tests (91) and Tier 2/3 model-in-the-loop evals (13 tests), plus live-verified greenfield and rollback SQL fixtures with account-confirmation guards.

Bug Fixes

  • sql_execute now returns an explicit error result when the underlying driver reports one, so syntax and semantic failures are no longer indistinguishable from successful zero-row queries, with 4 regression tests covering the behavior.

Summary by CodeRabbit

  • New Features

    • Added a Snowflake setup and audit workflow supporting SQL and Terraform output.
    • Added guidance for topology, ingestion, RBAC, governance, cost controls, disaster recovery, sharing, and advanced features.
    • Added safe, reviewable rollback scripts with account-confirmation safeguards.
  • Bug Fixes

    • SQL execution failures now display clear error messages instead of appearing as successful empty results.
  • Tests

    • Added contract, regression, end-to-end evaluation, and Snowflake setup fixtures covering generated configurations and rollback behavior.