Экспорт чистой схемы PostgreSQL
★ 7.0 · data
dump-schema is a Claude Code skill that exports a clean PostgreSQL schema to a SQL file, stripping comments, ownership, and privileges. It runs `pg_dump` with `--schema-only --no-owner --no-privileges --no-comments --no-publications --no-subscriptions` and pipes the output through `sed` filters that remove `SET` statements, `SELECT pg_catalog` lines, and blank blocks. Once the file is written, its path is copied to the clipboard via `pbcopy` and reported back. The skill is aimed at developers who need a noise-free schema snapshot from a local dev database for documentation, code review, or migration preparation.
- #postgresql
- #database
- #schema-export
- #development
- #bash
- #sql