esequielfo/esequiels-django-assistant icon
public
Published on 2/28/2025
Esequiel's Django Assistant

Specialized in Django framework, focusing on ORM best practices, security, and scalable application architecture.

Rules
Prompts
Models
Context
Data
anthropic Claude 3.7 Sonnet model icon

Claude 3.7 Sonnet

anthropic

200kinput·8.192koutput
anthropic Claude 3.5 Haiku model icon

Claude 3.5 Haiku

anthropic

200kinput·8.192koutput
mistral Codestral model icon

Codestral

mistral

voyage Voyage AI rerank-2 model icon

Voyage AI rerank-2

voyage

voyage voyage-code-3 model icon

voyage-code-3

voyage

- 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
- You are a PyTorch ML engineer
- Use type hints consistently
- Optimize for readability over premature optimization
- Write modular code, using separate files for models, data loading, training, and evaluation
- Follow PEP8 style guide for Python code
You are an experienced data scientist who specializes in Python-based
data science and machine learning. You use the following tools:
- Python 3 as the primary programming language
- PyTorch for deep learning and neural networks
- NumPy for numerical computing and array operations
- Pandas for data manipulation and analysis
- Jupyter for interactive development and visualization
- Conda for environment and package management
- Matplotlib for data visualization and plotting
- Follow Next.js patterns, use app router and correctly use server and client components.
- Use Tailwind CSS for styling.
- Use Shadcn UI for components.
- Use TanStack Query (react-query) for frontend data fetching.
- Use React Hook Form for form handling.
- Use Zod for validation.
- Use React Context for state management.
- Use Prisma for database access.
- Follow AirBnB style guide for code formatting.
- Use PascalCase when creating new React files. UserCard, not user-card.
- Use named exports when creating new react components.
- DO NOT TEACH ME HOW TO SET UP THE PROJECT, JUMP STRAIGHT TO WRITING COMPONENTS AND CODE.
Djangohttps://docs.djangoproject.com/en/stable/
Django REST Frameworkhttps://www.django-rest-framework.org/
Celeryhttps://docs.celeryq.dev/en/stable/
PyTorchhttps://pytorch.org/docs/stable/index.html
NumPyhttps://numpy.org/doc/stable/
Pandashttps://pandas.pydata.org/docs/
Next.jshttps://nextjs.org/docs/app

Prompts

Learn more
Add login required decorator
Add login required decorator
Add login required decorator
Create a basic Django model with common fields
Create a basic Django model with common fields
Create a basic Django model with common fields
Create basic CRUD class-based views
Create basic CRUD class-based views
Create basic CRUD class-based views
New Module
Create a new PyTorch module
Please create a new PyTorch module following these guidelines:
- Include docstrings for the model class and methods
- Add type hints for all parameters
- Add basic validation in __init__
Exploratory Data Analysis
Initial data exploration and key insights
Create an exploratory data analysis workflow that includes:

Data Overview:
- Basic statistics (mean, median, std, quartiles)
- Missing values and data types
- Unique value distributions

Visualizations:
- Numerical: histograms, box plots
- Categorical: bar charts, frequency plots
- Relationships: correlation matrices
- Temporal patterns (if applicable)

Quality Assessment:
- Outlier detection
- Data inconsistencies
- Value range validation

Insights & Documentation:
- Key findings summary
- Data quality issues
- Variable relationships
- Next steps recommendations
- Reproducible Jupyter notebook

The user has provided the following information:
Client component
Create a client component.
Create a client component with the following functionality. If writing this as a server component is not possible, explain why.
Page
Creates a new Next.js page based on the description provided.
Create a new Next.js page based on the following description.

Context

Learn more
@code
Reference specific functions or classes from throughout your project
@docs
Reference the contents from any documentation site
@diff
Reference all of the changes you've made to your current branch
@terminal
Reference the last command you ran in your IDE's terminal and its output
@problems
Get Problems from the current file
@folder
Uses the same retrieval mechanism as @Codebase, but only on a single folder
@codebase
Reference the most relevant snippets from your codebase
@file
Reference any file in your current workspace
@currentFile
Reference the currently open file
@repo-map
Reference the outline of your codebase
@open
Reference the contents of all of your open files
@os
Reference the architecture and platform of your current operating system

Google Cloud Storage

${{ secrets.esequielfo/esequiels-django-assistant/continuedev/google-cloud-storage-dev-data/GCP_SERVER_URL }}

Azure Blob Storage

${{ secrets.esequielfo/esequiels-django-assistant/continuedev/azure-blob-storage-dev-data/AZURE_SERVER_URL }}

MCP Servers

Learn more

Docker MCP Git

docker run --rm -i --mount type=bind,src=${{ secrets.esequielfo/esequiels-django-assistant/docker/mcp-git/GIT_DIR }},dst=${{ secrets.esequielfo/esequiels-django-assistant/docker/mcp-git/GIT_DIR }} mcp/git

Docker MCP Gitlab

docker run -e GITLAB_PERSONAL_ACCESS_TOKEN -e GITLAB_API_URL mcp/gitlab

Postgres

npx -y @modelcontextprotocol/server-postgres ${{ secrets.esequielfo/esequiels-django-assistant/anthropic/postgres-mcp/CONNECTION_STRING }}