squawkpostgresqlsqllint

Static review tool to identify risks related to locks, indexes, and schema changes in PostgreSQL migration SQL during review stages (not during downtime).

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "squawkpostgresqlsqllint" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-ba991230b5ca6f9948cd19c529a9dadd084366f3e52e72a394d96e0a9d853b4b. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/lint-postgresql-migrations-and-sql-changes-before-irreversible-schema-mistakes-land-with-squawk before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Static review tool to identify risks related to locks, indexes, and schema changes in PostgreSQL migration SQL during review stages (not during downtime).

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Software, accounts and paid services
Catch locking, indexing, and schema-change hazards in PostgreSQL migration SQL before a review turns into downtime.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "在不可逆的模式错误进入生产环境之前,使用 Squawk 对 PostgreSQL 迁移和 SQL 变更进行 Lint 检查"
slug: "lint-postgresql-migrations-and-sql-changes-before-irreversible-schema-mistakes-land-with-squawk"
version: "1.0.0"
displayName: "在不可逆的模式错误进入生产环境之前,使用 Squawk 对 PostgreSQL 迁移和 SQL 变更进行 Lint 检查"
summary: "在审查变成停机时间之前,在PostgreSQL迁移SQL中捕获锁定、索引和模式更改风险。"
license: "MIT"
description: "在审查变成停机时间之前,在PostgreSQL迁移SQL中捕获锁定、索引和模式更改风险。"
github_stars: 1050
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
publisher_type: "individual"
category: "Code Quality & Review"
framework: "Multi-Framework"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 1050

在不可逆的模式错误进入生产环境之前,使用 Squawk 对 PostgreSQL 迁移和 SQL 变更进行 Lint 检查

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:

Documentation

Current listing version

1.0.0

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value72/100

Highlights

  • 提供 PostgreSQL 迁移 SQL 的 Lint 检查能力,有效识别锁、索引和模式变更风险
  • 适用于数据库运维和开发场景,具有明确的实用价值
Trigger Precision65/100

Areas to improve

  • 缺少具体触发词 Reported severity: Minor

    description 描述了功能但未提供具体的触发命令或关键词,用户难以直接触发

    Recommendation: 在 description 或 skill_body 开头添加明确的触发词,如 'squawk lint'、'检查 PostgreSQL SQL' 等

Highlights

  • 功能描述清晰,准确传达了核心价值
Structure and Standards68/100

Areas to improve

  • 缺少端到端示例 Reported severity: Minor

    文档缺少完整的端到端使用示例,用户难以快速上手

    Recommendation: 添加一个完整的示例,展示从安装到执行 lint 检查的完整流程

Highlights

  • 文档结构基本完整,包含必要的 Prerequisites 和 Installation 章节
  • frontmatter 信息完整,包含版本、作者、许可证等关键信息
Execution Reliability70/100

Highlights

  • 提供多种安装方式(npm、pip、docker、cargo),工具来源明确
  • 引用了官方文档和 GitHub 仓库,信息可靠
Evidence Verifiability (mean of the first four)69/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Install or fetch external dependencies

    Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.

    Mentioned in main document · lines 32, 33
Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • github.com
  • play.squawkhq.com
  • raw.githubusercontent.com
  • squawkhq.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

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

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.