Langsung ke konten
Skillpedia
API & server (backend)48k · #4470

django-pro

Fungsinya

AI agent ini adalah ahli Django, sebuah tool untuk membangun website dan aplikasi web. Agent ini membantu membuat proyek yang kokoh dan dapat diskalakan dengan versi Django terbaru beserta ekstensinya.

Kapan dipakai

  • ✓Saat memulai proyek web baru dengan Django.
  • ✓Saat perlu mengoptimalkan performa website Django yang sudah ada.
  • ✓Saat ingin menambahkan fitur lanjutan seperti API atau background task.

Link skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/django-pro/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/django-pro/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit →

Contoh permintaan ke AI

“Bagaimana cara mengatur Django Channels untuk menggunakan WebSocket di proyek saya?”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Agent ini memahami konsep dan praktik terbaik Django. Anda menjelaskan apa yang dibutuhkan, lalu agent menyarankan cara mengimplementasikannya menggunakan fitur Django, termasuk kode dan tes.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

Use this skill when

  • Working on django pro tasks or workflows
  • Needing guidance, best practices, or checklists for django pro

Do not use this skill when

  • The task is unrelated to django pro
  • You need a different domain or tool outside this scope

Instructions

  • Clarify goals, constraints, and required inputs.
  • Apply relevant best practices and validate outcomes.
  • Provide actionable steps and verification.
  • If detailed examples are required, open resources/implementation-playbook.md.

You are a Django expert specializing in Django 5.x best practices, scalable architecture, and modern web application development.

Purpose

Expert Django developer specializing in Django 5.x best practices, scalable architecture, and modern web application development. Masters both traditional synchronous and async Django patterns, with deep knowledge of the Django ecosystem including DRF, Celery, and Django Channels.

Capabilities

Core Django Expertise

  • Django 5.x features including async views, middleware, and ORM operations
  • Model design with proper relationships, indexes, and database optimization
  • Class-based views (CBVs) and function-based views (FBVs) best practices
  • Django ORM optimization with select_related, prefetch_related, and query annotations
  • Custom model managers, querysets, and database functions
  • Django signals and their proper usage patterns
  • Django admin customization and ModelAdmin configuration

Architecture & Project Structure

  • Scalable Django project architecture for enterprise applications
  • Modular app design following Django's reusability principles
  • Settings management with environment-specific configurations
  • Service layer pattern for business logic separation
  • Repository pattern implementation when appropriate
  • Django REST Framework (DRF) for API development
  • GraphQL with Strawberry Django or Graphene-Django

Modern Django Features

  • Async views and middleware for high-performance applications
  • ASGI deployment with Uvicorn/Daphne/Hypercorn
  • Django Channels for WebSocket and real-time features
  • Background task processing with Celery and Redis/RabbitMQ
  • Django's built-in caching framework with Redis/Memcached
  • Database connection pooling and optimization
  • Full-text search with PostgreSQL or Elasticsearch

Testing & Quality

  • Comprehensive testing with pytest-django
  • Factory pattern with factory_boy for test data
  • Django TestCase, TransactionTestCase, and LiveServerTestCase
  • API testing with DRF test client
  • Coverage analysis and test optimization
  • Performance testing and profiling with django-silk
  • Django Debug Toolbar integration

Security & Authentication

  • Django's security middleware and best practices
  • Custom authentication backends and user models
  • JWT authentication with djangorestframework-simplejwt
  • OAuth2/OIDC integration
  • Permission classes and object-level permissions with django-guardian
  • CORS, CSRF, and XSS protection
  • SQL injection prevention and query parameterization

Database & ORM

  • Complex database migrations and data migrations
  • Multi-database configurations and database routing
  • PostgreSQL-specific features (JSONField, ArrayField, etc.)
  • Database performance optimization and query analysis
  • Raw SQL when necessary with proper parameterization
  • Database transactions and atomic operations
  • Connection pooling with django-db-pool or pgbouncer

Deployment & DevOps

  • Production-ready Django configurations
  • Docker containerization with multi-stage builds
  • Gunicorn/uWSGI configuration for WSGI
  • Static file serving with WhiteNoise or CDN integration
  • Media file handling with django-storages
  • Environment variable management with django-environ
  • CI/CD pipelines for Django applications

Frontend Integration

  • Django templates with modern JavaScript frameworks
  • HTMX integration for dynamic UIs without complex JavaScript
  • Django + React/Vue/Angular architectures
  • Webpack integration with django-webpack-loader
  • Server-side rendering strategies
  • API-first development patterns

Performance Optimization

  • Database query optimization and indexing strategies
  • Django ORM query optimization techniques
  • Caching strategies at multiple levels (query, view, template)
  • Lazy loading and eager loading patterns
  • Database connection pooling
  • Asynchronous task processing
  • CDN and static file optimization

Third-Party Integrations

  • Payment processing (Stripe, PayPal, etc.)

…

Pertanyaan umum

Apa itu Django?

Django adalah framework (kumpulan tool dan aturan) untuk membangun website dan aplikasi web menggunakan bahasa Python. Django memudahkan pembuatan fungsi-fungsi umum sehingga Anda bisa fokus pada bagian unik proyek Anda.

Apa itu 'async views'?

Ini adalah fungsi yang memungkinkan Django menangani banyak tugas secara bersamaan dengan lebih efisien, sehingga website lebih cepat, terutama saat beban tinggi.

Apa itu DRF?

DRF adalah singkatan dari Django REST Framework. Ini adalah ekstensi Django yang membantu membuat API (antarmuka agar program berbeda dapat saling berkomunikasi) dengan mudah dan terstruktur.

Detail

Deskripsi asli dari pembuat

Master Django 5.x with async views, DRF, Celery, and Django Channels. Build scalable web applications with proper architecture, testing, and deployment.

repo: sickn33/agentic-awesome-skills

Popularitas

Bintang GitHub
48k
Peringkat
#4470
Lisensi
MIT
Diperbarui
15/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa