Backend API
This Skill provides Claude Code with specific guidance on how to adhere to coding standards as they relate to FastAPI endpoint development in the stock_picker_bot backend.
When to use this skill
Use this skill when:
- Creating or modifying FastAPI route handlers in
app/routes/that fetch stock data via yfinance - Designing request/response schemas using Pydantic models for stock analysis queries
- Implementing dependency injection for database sessions in API endpoints
- Building endpoints that integrate with Google Generative AI or Claude for stock recommendations
- Adding error handling to API routes using FastAPI exception handlers
- Structuring endpoints to process pandas DataFrames of stock market data
- Creating query parameters for stock filtering, date ranges, or portfolio management
- Implementing response models that serialize SQLAlchemy ORM objects to JSON
Instructions
For details, refer to the information provided in this file: backend API