AI студия Владимира Ломтева
УСЛУГИПРОЕКТЫСТАТЬИБАЗА ЗНАНИЙМаркетплейсОбучениеПолезные сервисы

Оставьте заявку,
чтобы обсудить проект

Напишите ваш вопрос, не забудьте указать телефон. Мы перезвоним и все расскажем.

Контакты

Москва

Работаем по всей России
и миру (онлайн)

+7 (999) 760-24-41

Ежедневно с 9:00 до 21:00

v.lomtev@airassvet.ru

По вопросам сотрудничества

TelegramWhatsApp

Есть предложение?

Напишите нам в мессенджеры

© 2025 AI студия Владимира Ломтева

Политика конфиденциальностиСогласие на обработку ПДн|ИНН 623412173261
    Sqlalchemy Alembic Expert Best Practices Code Review — Скилл для ИИ-агентов | AI Рассвет

    Sqlalchemy Alembic Expert Best Practices Code Review

    SQLAlchemy ORM and Alembic migration best practices for building safe, performant database schemas. This skill should be used when writing, reviewing, or refactoring SQLAlchemy models, Alembic migrations, or database query patterns. Triggers on tasks involving SQLAlchemy ORM, Alembic migrations, database schema changes, or query optimization.

    Скиллы для разработки#GitHub#wispbit-ai/skills#skills.sh
    Скачивания
    0
    В избранном
    0
    Комментарии
    0
    Просмотры
    1

    Установить скилл

    Добавьте инструмент одной командой или скачайте проверенный архив версии.

    npx skills add wispbit-ai/skills --skill sqlalchemy-alembic-expert-best-practices-code-review
    Скачать ZIP
    Версия
    1.0.0+8b2c7d0ceca0
    Автор
    Владимир Ломтев
    Репозиторий
    wispbit-ai/skills
    GitHub: wispbit-ai/skills

    Как установить

    1. 1Скопируйте команду из блока установки.
    2. 2Запустите её в терминале из каталога проекта.

    Документация

    SQLAlchemy & Alembic Expert Best Practices

    Simple, pragmatic, opinionated. Only what matters for writing production-grade SQLAlchemy and Alembic code.

    When to Apply

    Reference these guidelines when:

    • Writing Alembic migrations for schema changes
    • Creating or modifying SQLAlchemy models
    • Adding indexes, constraints, or foreign keys via Alembic
    • Reviewing database migration code for safety
    • Refactoring existing database schemas
    • Optimizing query patterns or database performance

    Rule Categories by Priority

    Priority Category Impact Prefix
    1 Index Management CRITICAL-HIGH only-concurrent-indexes, verify-query-patterns-are-indexed
    2 Constraint Safety HIGH unique-constraint, split-foreign-key, change-column-type
    3 Optimization MEDIUM split-check-constraint, limit-non-unique-index
    4 Index Efficiency LOW ensure-index-not-covered

    Quick Reference

    • only-concurrent-indexes - Always use postgresql_concurrently=True with autocommit blocks for index operations
    • verify-query-patterns-are-indexed - Ensure SQLAlchemy queries have appropriate indexes defined
    • unique-constraint - Split unique constraint creation into concurrent index + constraint steps
    • split-foreign-key - Add foreign keys with NOT VALID first, then validate separately
    • change-column-type - Use multi-step approach for column type changes to avoid table locks
    • split-check-constraint - Add check constraints with NOT VALID first, then validate separately
    • limit-non-unique-index - Limit non-unique indexes to maximum three columns for efficiency
    • ensure-index-not-covered - Prevent redundant indexes that are already covered by composite indexes

    How to Use

    Read individual rule files for detailed explanations and code examples:

    rules/only-concurrent-indexes.md
    rules/verify-query-patterns-are-indexed.md
    rules/unique-constraint.md
    rules/split-foreign-key.md
    rules/change-column-type.md
    rules/split-check-constraint.md
    rules/limit-non-unique-index.md
    rules/ensure-index-not-covered.md
    

    Each rule file contains:

    • Brief explanation of why it matters
    • Impact level and description
    • Incorrect SQLAlchemy/Alembic example with explanation
    • Correct implementation with best practices
    • Additional context for safe migrations

    Требования и возможности

    Источник пакета
    https://github.com/wispbit-ai/skills/tree/8b2c7d0ceca0204634dd308970629c4cd4a5a05f/skills/sqlalchemy-alembic-expert-best-practices-code-review

    Файлы версии

    ПутьРазмерSHA256
    SKILL.md28499f23bc2d6d666cab...
    rules/change-column-type.md164545f8133da98023ba...
    rules/ensure-index-not-covered.md11870098bcc76047c0f2...
    rules/limit-non-unique-index.md91131c3a2568597bcca...
    rules/only-concurrent-indexes.md980c7e44ab0ba49fa10...

    Частые вопросы

    Как установить Sqlalchemy Alembic Expert Best Practices Code Review?
    Используйте команду npx skills add wispbit-ai/skills --skill sqlalchemy-alembic-expert-best-practices-code-review или скачайте ZIP-архив.
    Можно ли скачать Sqlalchemy Alembic Expert Best Practices Code Review бесплатно?
    Да, опубликованную версию можно скачать из маркетплейса бесплатно.

    Похожие инструменты

    Смотреть все
    2ГИС: Карточка организации 2ГИСПолучить подробные данные объекта по идентификатору.2ГИС: Статическая карта 2ГИССформировать PNG-карту с точками, линиями или полигонами.2ГИС: Пешеходный маршрут 2ГИСПостроить пешеходный маршрут между точками.2ГИС: Обратное геокодирование 2ГИСНайти адрес и объекты рядом с заданными координатами.
    Комментарии

    Войдите, чтобы оставить комментарий.

    Комментариев пока нет.

    Установить скилл

    Добавьте инструмент одной командой или скачайте проверенный архив версии.

    npx skills add wispbit-ai/skills --skill sqlalchemy-alembic-expert-best-practices-code-review
    Скачать ZIP
    Версия
    1.0.0+8b2c7d0ceca0
    Автор
    Владимир Ломтев
    Репозиторий
    wispbit-ai/skills
    GitHub: wispbit-ai/skills