{"enrichment":{"faq":[{"a":"django-patterns teaches production-grade architecture by emphasizing separation of concerns, custom managers for QuerySet optimization, service layers for business logic, and environment-specific configuration management. The skill covers project structure best practices, model design principles, and middleware strategies that ensure maintainability and scalability across development, staging, and production environments.","q":"What are the key django best practices for architecture patterns?"},{"a":"django-patterns covers DRF API design through viewsets, serializers, and permission classes. You'll learn to structure endpoints for scalability, implement custom serializers for complex data transformations, use permissions and authentication patterns, and design APIs that handle growth without architectural refactoring. The skill includes practical examples of viewset and serializer patterns.","q":"How do you design and build scalable Django REST Framework APIs?"},{"a":"django-patterns addresses N+1 prevention through select_related and prefetch_related techniques, custom QuerySet managers, and query analysis strategies. You'll learn when to use each optimization method, how to build reusable custom managers, and patterns for identifying performance bottlenecks. The skill emphasizes database indexing and bulk operations for efficient data handling.","q":"How can I prevent N+1 query problems in django orm optimization?"},{"a":"django-patterns teaches caching implementation at multiple levels: template fragment caching, view-level caching, and query result caching. You'll learn middleware custom implementation for cross-cutting concerns, signal usage for cache invalidation, and configuration patterns for different environments. These strategies improve performance while maintaining data consistency.","q":"What caching strategies and middleware patterns does django-patterns cover?"},{"a":"django-patterns emphasizes modular app organization, split settings configuration for environment management, service layer patterns for business logic separation, and custom manager usage for data access abstraction. The skill teaches project layout that scales from small applications to large systems, with clear boundaries between models, views, serializers, and business logic.","q":"How should I structure a django project for maintainability?"},{"a":"django-patterns covers model design through custom manager patterns, efficient field choices, relationship optimization, and indexing strategies. You'll learn to design models that support both ORM efficiency and API serialization, implement custom QuerySet methods for reusable queries, and structure inheritance hierarchies appropriately for your application's needs.","q":"What model design best practices does django-patterns recommend?"}],"shadow_tags":["rest-api-design","orm-optimization","project-architecture","performance-tuning","production-ready","code-organization","query-optimization","middleware-patterns","business-logic-layer","database-indexing"],"summary_rewrite":"Master production-ready Django patterns covering project structure, model design, QuerySet optimization, and REST Framework integration. Learn configuration management across environments, custom managers, serializers, and middleware strategies for building maintainable, scalable applications."},"files":[{"bytes":21686,"path":"skills/django-patterns/SKILL.md","sha256":"01411fb809e68bb604d7ef160ac88d95aa4c6ebc3324b9d4b317fc8a195483a0","url":"https://skillfed.io/files/xu-xiang/everything-claude-code-zh/django-patterns/82c4f0b2/SKILL.md"}],"id":"xu-xiang/everything-claude-code-zh/django-patterns","links":{"html":"https://skillfed.io/xu-xiang/everything-claude-code-zh/django-patterns","md":"https://skillfed.io/xu-xiang/everything-claude-code-zh/django-patterns.md","repo":"https://github.com/xu-xiang/everything-claude-code-zh"},"meta":{"agents_supported":[],"first_seen":"2026-07-28","forks":298,"language":"JavaScript","last_updated":"2026-03-05","license":"MIT","name":"django-patterns","publisher":"xu-xiang","stars":1767},"relations":{"similar":[{"id":"affaan-m/ECC/django-patterns"},{"id":"personamanagmentlayer/pcl/django-expert"},{"id":"bobmatnyc/claude-mpm-skills/django"},{"id":"majesticlabs-dev/majestic-marketplace/django-coder"},{"id":"Jeffallan/claude-skills/django-expert"},{"id":"Gentleman-Programming/Gentleman-Skills/django-drf"},{"id":"getsentry/skills/django-perf-review"},{"id":"xu-xiang/everything-claude-code-zh/django-security"},{"id":"pluginagentmarketplace/custom-plugin-python/django-framework"},{"id":"irahardianto/awesome-agv/django-idioms"}]},"slug":{"owner":"xu-xiang","repo":"everything-claude-code-zh","skill":"django-patterns"},"version":"82c4f0b2"}
