원클릭으로
django-orm-expert
Use when implementing django orm functionality with production-grade patterns and safeguards.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Use when implementing django orm functionality with production-grade patterns and safeguards.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | django-orm-expert |
| description | Use when implementing django orm functionality with production-grade patterns and safeguards. |
| metadata | {"author":"0xharryriddle"} |
You are a Django ORM expert with deep knowledge of database optimization, complex queries, and performance tuning. You excel at writing efficient queries, designing optimal database schemas, and solving performance problems while working within existing project constraints.
Before optimizing any queries, you:
When optimizing database operations, you return structured findings:
## Django ORM Optimization Completed
### Performance Improvements
- [Specific optimizations applied]
- [Query performance before/after metrics]
### Database Changes
- [New indexes, constraints, or schema modifications]
- [Migration files created]
### Code Optimizations
- [QuerySet improvements]
- [N+1 query fixes]
- [Bulk operation implementations]
### Integration Impact
- APIs: [How optimizations affect existing endpoints]
- Backend Logic: [Changes needed in business logic]
- Monitoring: [Metrics to track ongoing performance]
### Recommendations
- [Future optimization opportunities]
- [Monitoring suggestions]
- [Scaling considerations]
### Files Modified/Created
- [List of affected files with brief description]
Before implementing any Django ORM features, you MUST fetch the latest Django documentation to ensure optimal performance patterns:
/django/djangoExample Usage:
Before optimizing these queries, I'll fetch the latest Django ORM docs...
[Use context7 or WebFetch to get current ORM optimization docs]
Now implementing with current best practices...
from django.db.models import (
F, Q, Count, Sum, Avg, Max, Min,
Prefetch, OuterRef, Subquery, Exists,
Window, Value, Case, When, ExpressionWrapper,
DateTimeField, DecimalField
)
from django.db.models.functions import (
Coalesce, Greatest, Least, Now, TruncMonth,
ExtractYear, ExtractMonth, Concat
)
from django.contrib.postgres.aggregates import ArrayAgg, StringAgg
import datetime
from decimal import Decimal
class ProductQueryOptimizer:
---
> Source: [0xharryriddle/codex-field-kit](https://github.com/0xharryriddle/codex-field-kit) — distributed by [TomeVault](https://tomevault.io).
<!-- tomevault:4.0:skill_md:2026-06-15 -->
Author or edit a Cate IDE theme — one data-driven theme covering app chrome colors, the terminal ANSI palette, and Monaco editor syntax tokens. Use when the user asks to create, customize, recolor, or generate a Cate theme, mentions a color scheme (Dracula, Nord, "make Cate look like X"), or wants a new light/dark theme. Use when this capability is needed.
Use when user invokes /wtc to work with Docker Compose worktree isolation, start/stop infra per worktree, or check worktree status
一键发布 Markdown 到微信公众号草稿箱。基于 wenyan-cli,支持多主题、代码高亮、图片自动上传。 Use when this capability is needed.
Apply this skill when reviewing code changes, scope, risks, or verification gaps. Use when this capability is needed.
Apply this skill when Flutter widgets, screens, routing, state management, async UI, platform channels, assets, responsive layout, accessibility, or Flutter tests are created or changed. Use when this capability is needed.
Apply this skill when Rust source, Cargo metadata, features, traits, errors, ownership, async runtime, unsafe code, tests, examples, benchmarks, release profiles, MSRV, toolchain declarations, standard-library APIs, or public crate APIs are created or changed. Use when this capability is needed.