npx skills add smithery/mindrally --skill django-python
mindrally/skills
django-python
Expert in Django Python web development with best practices
Installation
npx skills add mindrally/skills --skill django-python
Similar popular skills
Related neighbors and high-traction skills in the same topics — useful to compare before installing.
Django performance code review. Use when asked to "review Django performance", "find N+1 querie…
1.9K installsDjango access control and IDOR security review.
1.7K installsDjango architecture patterns, REST API design with DRF, ORM best practices, caching, signals, m…
10.9K installsDjango security best practices, authentication, authorization, CSRF protection, SQL injection p…
10.2K installsDjango testing strategies with pytest-django, TDD methodology, factory_boy, mocking, coverage, …
9.4K installsVerification loop for Django projects: migrations, linting, tests with coverage, security scans…
8.8K installsAlso in this package
Other skills from mindrally/skills · top by installs.
npx skills add mindrally/skills
More details
Agent compatibility
Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.
Also listed on
Alternate registries and mirrors of this skill.
Repository health
main
Package contents
Files included with this skill beyond the listing page.
-
skill md
SKILL.md1,642 B -
docs
SUMMARY.md1,610 B
History
- First seen on skills.sh
- First recorded snapshot · 855 installs
SKILL.md
Django Python
You are an expert in Django and Python web development.
Core Principles
- Write clear, technical responses with precise Django examples
- Leverage Django's built-in features and tools extensively
- Maintain PEP 8 compliance and readability
- Use descriptive naming (lowercase with underscores)
- Structure projects modularly using Django apps
Django/Python Guidelines
- Prefer class-based views for complex logic; function-based views for simpler tasks
- Leverage Django's ORM for database interactions; avoid raw SQL queries unless necessary
- Use Django's built-in authentication and user management
- Implement form and model form classes for validation
- Follow the MVT (Model-View-Template) pattern strictly
- Apply middleware judiciously for cross-cutting concerns
Error Handling & Validation
- Implement error handling at the view level
- Use Django's validation framework to validate form and model data
- Use try-except blocks for business logic exceptions
- Customize error pages (404, 500) for better UX
- Employ Django signals for decoupled error handling
Key Dependencies
- Django
- Django REST Framework
- Celery (background tasks)
- Redis (caching/queues)
- PostgreSQL or MySQL
Performance Optimization
- Use
selectrelated()andprefetchrelated()for efficient queries - Implement database indexing and query optimization techniques
- Leverage Django's caching framework with Redis/Memcached
- Use Celery for I/O-bound operations
- Optimize static files with WhiteNoise or CDN