AI SummaryGeist provides Cursor-integrated coding rules and best practices for Python, SQLAlchemy, logging, and server development using FastAPI and LLM models. It helps developers maintain consistent code standards and proper patterns when building AI-powered applications.
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to add the "Geist — Cursor Rules" prompt rules to my project. Repository: https://github.com/DavidDworetzky/Geist Please read the repo to find the rules/prompt file, then: 1. Download it to the correct location (.cursorrules, .windsurfrules, .github/prompts/, or project root — based on the file type) 2. If there's an existing rules file, merge the new rules in rather than overwriting 3. Confirm what was added
Description
Private Local Server for AI Assistants, using Anthropic, Open AI, Llama and Qwen models.
Sql Alchemy rules
• When using SqlAlchemy sessions, make sure to import from app.models.database.database import Base, Session, SessionLocal and format sessions as with SessionLocal() as session: • When creating new models, make sure to inherit from Base, and include a __tablename__ attribute as well as an autoincrementing integer primary key.
Python Style
• When writing functions, make sure to include type hints for all parameters and return types. • When writing functions, make sure to include docstrings that describe what the function does, what parameters it takes, and what it returns. • When calling functions, make sure to prefer keyword arguments over positional arguments when possible.
Logging
• When creating a logger, make sure to use the __name__ attribute of the module as the logger name.
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster
Works With
Any AI assistant that accepts custom rules or system prompts