python-database
БесплатноБез исполняемых скриптовНе проверенImplement Python database access with parameterized SQL, transaction scope, connection helpers, and repository seams. Use when editing Postgres queries…
от HoangNguyen0403★ 598 звёзд на GitHubОб этом скилле
Python Database
Priority: P1 (HIGH)
Rules
- Parameterize every query; never interpolate user or runtime data into SQL strings.
- Keep connection and transaction ownership explicit.
- Hide storage shape behind repository or query helpers when business logic depends on it.
- Normalize JSON and null handling at the persistence boundary.
Recipe
- Open connections through one helper or pool abstraction.
- Use context managers for connection and transaction lifetime.
- Keep one business action in one transaction.
- Return typed rows or normalized dicts, not raw cursor tuples leaking everywhere.
- Test malformed/null metadata paths when patching JSON payloads.
Anti-Patterns
- No f-string SQL.
- No transaction split-brain across handler, service, and repo.
- No unbounded connection churn in loops.
- No DB truth hidden behind report formatting code.
References
Установить python-database в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл python-database?
Implement Python database access with parameterized SQL, transaction scope, connection helpers, and repository seams. Use when editing Postgres queries, repositories, transactions, pooling, or persistence boundaries in Python.
Как установить скилл python-database?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл python-database запускает скрипты?
Нет, скилл состоит только из инструкций (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