{"id":"851644e3-deb9-4ddb-ae36-67e7c4f9438d","shortId":"hqvKEc","kind":"skill","title":"Lint PostgreSQL migrations and SQL changes before irreversible schema mistakes land with Squawk","tagline":"Catch locking, indexing, and schema-change hazards in PostgreSQL migration SQL before a review turns into downtime.","description":"# Lint PostgreSQL migrations and SQL changes before irreversible schema mistakes land with Squawk\n\nCatch locking, indexing, and schema-change hazards in PostgreSQL migration SQL before a review turns into downtime.\n\n## Prerequisites\n\nSquawk CLI or container image, PostgreSQL migration SQL files, and optional CI or pre-commit integration.\n\n## Installation\n\nUse the upstream install or setup path that matches your environment:\n- npm install -g squawk-cli\n- pip install squawk-cli\n- docker run --rm -v $(pwd):/data ghcr.io/sbdchd/squawk:latest *.sql\n- cargo install\n\nRequirements and caveats from upstream:\n- ### Or via Docker\n- You can also run Squawk using Docker. The official image is available on GitHub Container Registry.\n- 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.\n\nBasic usage or getting-started notes:\n- [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...\n- shell\n- # or via PYPI\n\n- Source: https://github.com/sbdchd/squawk\n- Extracted from upstream docs: https://raw.githubusercontent.com/sbdchd/squawk/HEAD/README.md\n\n## Documentation\n\n- https://squawkhq.com\n\n## Source\n\n- [Agent Skill Exchange](https://agentskillexchange.com/skills/lint-postgresql-migrations-and-sql-changes-before-irreversible-schema-mistakes-land-with-squawk/)","tags":["lint","postgresql","migrations","and","sql","changes","before","irreversible","schema","mistakes","land","with"],"capabilities":["skill","source-agentskillexchange","skill-lint-postgresql-migrations-and-sql-changes-before-irreversible-schema-mistakes-land-with-squawk","topic-agent-skills","topic-ai-agents","topic-ai-tools","topic-awesome-list","topic-claude-code","topic-codex","topic-cursor","topic-llm","topic-mcp","topic-npx-skills","topic-openclaw","topic-skills-catalog"],"categories":["skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/agentskillexchange/skills/lint-postgresql-migrations-and-sql-changes-before-irreversible-schema-mistakes-land-with-squawk","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add agentskillexchange/skills","source_repo":"https://github.com/agentskillexchange/skills","install_from":"skills.sh"}},"qualityScore":"0.454","qualityRationale":"deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 8 github stars · SKILL.md body (1,523 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-18T19:11:10.476Z","embedding":null,"createdAt":"2026-05-18T13:17:32.808Z","updatedAt":"2026-05-18T19:11:10.476Z","lastSeenAt":"2026-05-18T19:11:10.476Z","tsv":"'/data':109 '/docs/)':178 '/docs/rules)':185 '/sbdchd/squawk':201 '/sbdchd/squawk-action)':190 '/sbdchd/squawk/head/readme.md':208 '/sbdchd/squawk:latest':112 '/skills/lint-postgresql-migrations-and-sql-changes-before-irreversible-schema-mistakes-land-with-squawk/)':217 'access':154 'action':187 'agent':212 'agentskillexchange.com':216 'agentskillexchange.com/skills/lint-postgresql-migrations-and-sql-changes-before-irreversible-schema-mistakes-land-with-squawk/)':215 'also':126 'avail':135 'basic':167 'cargo':114 'catch':14,45 'caveat':118 'chang':6,20,37,51,145 'ci':75 'cli':65,98,103 'commit':79 'contain':67,138 'diy':191 'doc':205 'docker':104,123,130 'document':182,209 'downtim':31,62 'environ':92 'exchang':214 'exclus':155 'extract':202 'field':144,151 'file':72 'g':95 'get':171 'getting-start':170 'ghcr.io':111 'ghcr.io/sbdchd/squawk:latest':110 'github':137,186,192 'github.com':189,200 'github.com/sbdchd/squawk':199 'github.com/sbdchd/squawk-action)':188 'hazard':21,52 'imag':68,133 'index':16,47 'instal':81,85,94,100,115 'int':193 'integr':80 'irrevers':8,39 'land':11,42 'lint':1,32 'lock':15,46,156 'match':90 'migrat':3,24,34,55,70 'mistak':10,41 'note':173 'npm':93 'offici':132 'option':74 'path':88 'pip':99 'play.squawkhq.com':180 'playground':179 'postgresql':2,23,33,54,69 'pre':78 'pre-commit':77 'prefer':142 'prefer-text-field':141 'prerequisit':63 'prevent':159 'pwd':108 'pypi':197 'quick':174 'raw.githubusercontent.com':207 'raw.githubusercontent.com/sbdchd/squawk/head/readme.md':206 'read':161 'registri':139 'requir':116,152 'review':28,59 'rm':106 'rule':181 'run':105,127 'schema':9,19,40,50 'schema-chang':18,49 'setup':87 'shell':194 'size':147 'skill':213 'skill-lint-postgresql-migrations-and-sql-changes-before-irreversible-schema-mistakes-land-with-squawk' 'sourc':198,211 'source-agentskillexchange' 'sql':5,25,36,56,71,113 'squawk':13,44,64,97,102,128 'squawk-c':96,101 'squawkhq.com':177,184,210 'squawkhq.com/docs/)':176 'squawkhq.com/docs/rules)':183 'start':172,175 'tabl':166 'text':143 'topic-agent-skills' 'topic-ai-agents' 'topic-ai-tools' 'topic-awesome-list' 'topic-claude-code' 'topic-codex' 'topic-cursor' 'topic-llm' 'topic-mcp' 'topic-npx-skills' 'topic-openclaw' 'topic-skills-catalog' 'turn':29,60 'upstream':84,120,204 'usag':168 'use':82,129 'v':107 'varchar':150 'via':122,196 'warn':140 'write':163","prices":[{"id":"5c9cced3-5178-4a12-835e-51ba51a2b9ac","listingId":"851644e3-deb9-4ddb-ae36-67e7c4f9438d","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"agentskillexchange","category":"skills","install_from":"skills.sh"},"createdAt":"2026-05-18T13:17:32.808Z"}],"sources":[{"listingId":"851644e3-deb9-4ddb-ae36-67e7c4f9438d","source":"github","sourceId":"agentskillexchange/skills/lint-postgresql-migrations-and-sql-changes-before-irreversible-schema-mistakes-land-with-squawk","sourceUrl":"https://github.com/agentskillexchange/skills/tree/main/skills/lint-postgresql-migrations-and-sql-changes-before-irreversible-schema-mistakes-land-with-squawk","isPrimary":false,"firstSeenAt":"2026-05-18T13:17:32.808Z","lastSeenAt":"2026-05-18T19:11:10.476Z"}],"details":{"listingId":"851644e3-deb9-4ddb-ae36-67e7c4f9438d","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"agentskillexchange","slug":"lint-postgresql-migrations-and-sql-changes-before-irreversible-schema-mistakes-land-with-squawk","github":{"repo":"agentskillexchange/skills","stars":8,"topics":["agent-skills","ai-agents","ai-tools","awesome-list","claude-code","codex","cursor","llm","mcp","npx-skills","openclaw","skills-catalog"],"license":"mit","html_url":"https://github.com/agentskillexchange/skills","pushed_at":"2026-05-18T19:02:17Z","description":"The open catalog of AI agent skills — 2,000+ security-scanned skills for Claude Code, Cursor, Codex, and more.","skill_md_sha":"e29db8872530672b8f74e8aaaf1607cf5744e957","skill_md_path":"skills/lint-postgresql-migrations-and-sql-changes-before-irreversible-schema-mistakes-land-with-squawk/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/agentskillexchange/skills/tree/main/skills/lint-postgresql-migrations-and-sql-changes-before-irreversible-schema-mistakes-land-with-squawk"},"layout":"multi","source":"github","category":"skills","frontmatter":{"name":"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."},"skills_sh_url":"https://skills.sh/agentskillexchange/skills/lint-postgresql-migrations-and-sql-changes-before-irreversible-schema-mistakes-land-with-squawk"},"updatedAt":"2026-05-18T19:11:10.476Z"}}