---
title: "Plan and preview warehouse SQL model changes before rollout with SQLMesh"
description: "Compare SQL model changes, preview backfills and downstream impact, and stage safer warehouse rollouts before execution."
verification: "listed"
source: "https://github.com/SQLMesh/sqlmesh"
author: "SQLMesh"
publisher_type: "organization"
category:
  - "Data Extraction & Transformation"
framework:
  - "Multi-Framework"
tool_ecosystem:
  github_repo: "SQLMesh/sqlmesh"
  github_stars: 3034
---

# Plan and preview warehouse SQL model changes before rollout with SQLMesh

Compare SQL model changes, preview backfills and downstream impact, and stage safer warehouse rollouts before execution.

## Prerequisites

Python 3.9+, pip, SQLMesh, warehouse connection

## Installation

Choose whichever fits your setup:

1. Copy this skill folder into your local skills directory.
2. Clone the repo and symlink or copy the skill into your agent workspace.
3. Add the repo as a git submodule if you manage shared skills centrally.
4. Install it through your internal provisioning or packaging workflow.
5. Download the folder directly from GitHub and place it in your skills collection.

Install command or upstream instructions:

```
Install with `pip install sqlmesh`, connect your warehouse in the SQLMesh project config, then use commands like `sqlmesh plan` and `sqlmesh diff` before applying changes.
```

## Documentation

- https://sqlmesh.readthedocs.io/

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/plan-and-preview-warehouse-sql-model-changes-before-rollout-with-sqlmesh/)
