refactoring-sql
OfficialRefactor SQL into clean, testable CTEs.
Authoraccelerate-data
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Refactors procedural SQL into a clean import/logical/final CTE sequence, enabling deterministic downstream modeling and safe proof-backed migrations.
Core Features & Use Cases
- Restructures stored procedures, views, or materialized views into a layered CTE pipeline
- Preserves ground-truth extracted SQL for semantic validation and auditing
- Supports a formal refactor workflow: readiness checks, semantic review, and optional comparison
Quick Start
Provide the source SQL for a stored procedure, view, or materialized view to generate extracted and refactored SQL artifacts.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: refactoring-sql Download link: https://github.com/accelerate-data/migration-utility/archive/main.zip#refactoring-sql Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.