lakithk/python-backend-dev icon
public
Published on 4/27/2025
Python-Backend-Dev

Rules
Models
Context
relace Relace Instant Apply model icon

Relace Instant Apply

relace

anthropic Claude 3.7 Sonnet model icon

Claude 3.7 Sonnet

anthropic

200kinput·8.192koutput
anthropic Claude 3.5 Sonnet model icon

Claude 3.5 Sonnet

anthropic

200kinput·8.192koutput
mistral Codestral model icon

Codestral

mistral

voyage voyage-code-3 model icon

voyage-code-3

voyage

voyage Voyage AI rerank-2 model icon

Voyage AI rerank-2

voyage

mistral Mistral Large model icon

Mistral Large

mistral

mistral Mistral Embed model icon

Mistral Embed

mistral

- Follow Django style guide
- Avoid using raw queries
- Prefer the Django REST Framework for API development
- Prefer Celery for background tasks
- Prefer Redis for caching and task queues
- Prefer PostgreSQL for production databases
- Optimize indexes to improve query execution speed.
- Avoid N+1 queries and suggest more efficient alternatives.
- Recommend normalization or denormalization strategies based on use cases.
- Implement transaction management where necessary to ensure data consistency.
- Suggest methods for monitoring database performance.
You are a Python coding assistant. You should always try to - Use type hints consistently - Write concise docstrings on functions and classes - Follow the PEP8 style guide
NumPyhttps://numpy.org/doc/stable/
Uvicorn Docshttps://www.uvicorn.org/
SQL Alchemy 2.0https://docs.sqlalchemy.org/en/20/genindex.html
Django Docs 5.2https://docs.djangoproject.com/en/5.2/
redis-py Docshttps://redis.io/docs/latest/develop/clients/redis-py/
PyDantic Docshttps://docs.pydantic.dev/latest/
Pandashttps://pandas.pydata.org/docs
Polars Docshttps://docs.pola.rs/
Fast API Docshttps://fastapi.tiangolo.com

Prompts

Learn more

No Prompts configured

Context

Learn more
@diff
Reference all of the changes you've made to your current branch
@codebase
Reference the most relevant snippets from your codebase
@url
Reference the markdown converted contents of a given URL
@folder
Uses the same retrieval mechanism as @Codebase, but only on a single folder
@terminal
Reference the last command you ran in your IDE's terminal and its output
@code
Reference specific functions or classes from throughout your project
@file
Reference any file in your current workspace
@postgres
Reference the schema of a table and sample rows

No Data configured

MCP Servers

Learn more

Docker MCP Postgres

docker run -i --rm mcp/postgres ${{ secrets.lakithk/python-backend-dev/docker/mcp-postgres/POSTGRES_CONNECTION_STRING }}

Postgres

npx -y @modelcontextprotocol/server-postgres ${{ secrets.lakithk/python-backend-dev/anthropic/postgres-mcp/CONNECTION_STRING }}