Skip to content
Back to skills

Lint Postgresql Migrations And Sql Changes Before Irreversible Schema Mistakes Land With Squawk

BSecurity

Catch locking, indexing, and schema-change hazards in PostgreSQL migration SQL before a review turns into downtime.

  • 36 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 8, 2026
ai-agentsgoshellsqldockergitsecuritydocumentation

Works with

  • cli

Security analysis

B84/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned June 8, 2026

npx -y skills add agentskillexchange/skills --skill lint-postgresql-migrations-and-sql-changes-before-irreversible-schema-mistakes-land-with-squawk --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Lint Postgresql Migrations And Sql Changes Before Irreversible Schema Mistakes Land With Squawk?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Lint Postgresql Migrations And Sql Changes Before Irreversible Schema Mistakes Land With Squawk
[![Security: B — Skills Directory](https://www.skillsdirectory.com/api/skills/agentskillexchange-lint-postgresql-migrations-and-sql-changes-before-/badge)](https://www.skillsdirectory.com/skills/agentskillexchange-lint-postgresql-migrations-and-sql-changes-before-)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "Lint PostgreSQL migrations and SQL changes before irreversible schema mistakes land with Squawk"
slug: "lint-postgresql-migrations-and-sql-changes-before-irreversible-schema-mistakes-land-with-squawk"
description: "Catch locking, indexing, and schema-change hazards in PostgreSQL migration SQL before a review turns into downtime."
github_stars: 1050
verification: "security_reviewed"
source: "https://github.com/sbdchd/squawk"
author: "sbdchd"
publisher_type: "individual"
category: "Code Quality & Review"
framework: "Multi-Framework"
tool_ecosystem:
  github_repo: "sbdchd/squawk"
  github_stars: 1050
---

# Lint PostgreSQL migrations and SQL changes before irreversible schema mistakes land with Squawk

Catch locking, indexing, and schema-change hazards in PostgreSQL migration SQL before a review turns into downtime.

## Prerequisites

Squawk CLI or container image, PostgreSQL migration SQL files, and optional CI or pre-commit integration.

## Installation

Use the upstream install or setup path that matches your environment:
- npm install -g squawk-cli
- pip install squawk-cli
- docker run --rm -v $(pwd):/data ghcr.io/sbdchd/squawk:latest *.sql
- cargo install

Requirements and caveats from upstream:
- ### Or via Docker
- You can also run Squawk using Docker. The official image is available on GitHub Container Registry.
- warning[prefer-text-field]: Changing the size of a varchar field requires an ACCESS EXCLUSIVE lock, that will prevent all reads and writes to the table.

Basic usage or getting-started notes:
- [Quick Start](https://squawkhq.com/docs/) | [Playground](https://play.squawkhq.com) | [Rules Documentation](https://squawkhq.com/docs/rules) | [GitHub Action](https://github.com/sbdchd/squawk-action) | [DIY GitHub Int...
- shell
- # or via PYPI

- Source: https://github.com/sbdchd/squawk
- Extracted from upstream docs: https://raw.githubusercontent.com/sbdchd/squawk/HEAD/README.md

## Documentation

- https://squawkhq.com

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/lint-postgresql-migrations-and-sql-changes-before-irreversible-schema-mistakes-land-with-squawk/)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.