Marketplace database-operations

Instructions on how to write database queries with SQLAlchemy.

install
source · Clone the upstream repo
git clone https://github.com/aiskillstore/marketplace
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/aiskillstore/marketplace "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/crossbill-highlights/database-operations" ~/.claude/skills/aiskillstore-marketplace-database-operations && rm -rf "$T"
manifest: skills/crossbill-highlights/database-operations/SKILL.md
source content

When performing database operations using SQLAlchemy, follow these guidelines to ensure efficient and maintainable code:

  • Avoid for-loops. Instead always prefer bulk operations using SQLAlchemy's built-in methods or use SQL joins to get related data in a single query.
  • Database operations should be contained in repository classes