rule-engine-propagate

Find SQL code units matching regex or semantic propagation rules.

1|1|Updated Apr 15, 2026
One-click install
npx skills add https://github.com/Snowflake-Labs/cortex-code-migrations --skill rule-engine-propagate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rule-engine-propagate
Source: https://github.com/Snowflake-Labs/cortex-code-migrations/tree/main/plugin/skills/migration/migrate-objects/rule-engine/propagate
Command: npx skills add https://github.com/Snowflake-Labs/cortex-code-migrations --skill rule-engine-propagate

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps developers and database administrators find code units that match a specified propagation rule, simplifying batch updates and consistency enforcement.

Core Features & Use Cases

  • Rule Matching: Finds code objects in SQL projects that fit user-defined rules using regex and semantic search.
  • Batch Propagation: Facilitates applying propagation rules uniformly across multiple code units.
  • Use Case: For example, identify all stored procedures related to specific naming patterns and update them consistently in large codebases.

Quick Start

Use the rule-engine-propagate skill to find SQL procedures matching a specific pattern and prepare them for batch updates.

Frequently Asked Questions about rule-engine-propagate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find SQL code units that match specific propagation rules for batch updates?

To find SQL code units matching propagation rules, you can use search methods like regex and semantic matching to accurately identify candidates in SQL projects and prepare them for batch modifications.

What is the best way to maintain consistency across stored procedures in a large SQL codebase?

Maintaining consistency across stored procedures involves identifying code objects that fit user-defined propagation rules and applying batch updates uniformly, which helps safely enforce consistency throughout large codebases.

Can I use regex and semantic search to identify stored procedures for code refactoring?

Yes, you can use both regex and semantic search methods to accurately identify stored procedures and other code objects that match specific naming patterns or rules for code refactoring.

How do I apply uniform modifications to multiple SQL code units safely?

Applying uniform modifications safely requires finding code units that match a specified propagation rule first, which simplifies batch updates and ensures project consistency without missing candidates.

Does rule-engine-propagate work for automating code propagation across multiple SQL projects?

Yes, rule-engine-propagate finds code objects matching user-defined rules within SQL projects, enabling efficient batch modifications and automating code propagation to maintain consistency across large codebases.

What are the limitations of using propagation rules for SQL code refactoring?

Propagation rules for SQL code refactoring rely on regex and semantic search accuracy to identify candidates, meaning poorly defined patterns may miss code objects or require manual review to ensure safe modifications.