Agent skill

Backend Queries

SQLAlchemy query optimization and data retrieval for stock_picker_bot. Covers efficient querying of historical stock data, portfolio lookups, and stock market analytics.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/backend-queries-adigunners-stock-picker-bot

SKILL.md

Backend Queries

This Skill provides Claude Code with specific guidance on how to adhere to coding standards as they relate to SQLAlchemy queries in the stock_picker_bot backend.

When to use this skill

Use this skill when:

  1. Writing SQLAlchemy queries to retrieve stock data from aiosqlite database
  2. Implementing efficient queries for portfolio data with relationships and filters
  3. Fetching historical stock prices for technical analysis and trend calculations
  4. Joining stock tables with portfolio associations and user watchlists
  5. Implementing pagination for large result sets in stock data endpoints
  6. Optimizing queries with eager loading or joins to reduce database round trips
  7. Filtering stocks by criteria like market cap, price range, or performance metrics
  8. Aggregating stock data for portfolio performance calculations or comparisons

Instructions

For details, refer to the information provided in this file: backend queries

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results