rule-engine-search

Official

Identify applicable migration rules for Snowflake SQL files efficiently.

AuthorSnowflake-Labs
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill enables users to find relevant migration rules for SQL files by combining regex pattern matching with semantic search within Snowflake, streamlining database migration workflows.

Core Features & Use Cases

  • Rule Matching: Uses regex patterns to identify specific code patterns in SQL files, allowing deterministic detection of known issues or transformations.
  • Semantic Search: Performs Cortex-powered semantic searches based on code descriptions and structural fingerprints to discover more complex or pattern-based rules.
  • Use Case: A database administrator wants to quickly identify all SQL scripts that contain deprecated syntax or require specific transformations before migration.

Quick Start

Describe the SQL file content and patterns, then run search_rules with the file path and description to get applicable rules.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: rule-engine-search
Download link: https://github.com/Snowflake-Labs/cortex-code-migrations/archive/main.zip#rule-engine-search

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.