diesel-guard
БесплатноБез исполняемых скриптовНе проверенUse this skill when the user wants to lint Postgres migrations for unsafe patterns, prevent downtime from bad migrations, or check Diesel/SQLx migration safety.
от javimosch★ 58 звёзд на GitHubОб этом скилле
diesel-guard Plugin
Linter for dangerous Postgres migration patterns in Diesel and SQLx.
Commands
Check
diesel-guard migration check— Check migrations for unsafe patterns
Usage Examples
- "Lint migrations for unsafe patterns"
- "Initialize diesel-guard config"
- "Check specific migration files"
Installation
cargo install diesel-guard
Or:
brew install ayarotsky/tap/diesel-guard
Examples
# Initialize
diesel-guard init
# Check migrations
diesel-guard check
# Check specific path
diesel-guard check ./migrations/
# CI with GitHub Actions
# - uses: ayarotsky/diesel-guard-action@v1
Key Features
- Uses libpg_query (Postgres parser)
- Detects table-locking operations
- Works with Diesel and SQLx
- Safety-assured blocks for verified ops
- Version-aware checks
- No DB connection required
Установить diesel-guard в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл diesel-guard?
Use this skill when the user wants to lint Postgres migrations for unsafe patterns, prevent downtime from bad migrations, or check Diesel/SQLx migration safety.
Как установить скилл diesel-guard?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл diesel-guard запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic