一键导入
django-patterns
Use when editing Django models, views, serializers, admin, managers, signals, migrations, querysets, or database access patterns.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when editing Django models, views, serializers, admin, managers, signals, migrations, querysets, or database access patterns.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Set up or bootstrap a project with the claude-code-config tooling — setup-project.sh, install-tooling.sh, the layered hooks setup, and the new-repo runbook. Use when installing this config into a repo, running the setup scripts, vendoring the make-check tooling, or bootstrapping a new project.
Create a new "Later" backlog item (Learn / Research / Do / Read) from a configurable template.
Install or update the shared MkDocs Material style layer (Ink & Indigo on warm paper) in the current project.
Prepare technical analysis for backlog refinement meetings.
Capture a quick status update and append it to today's daily log.
Prepare end-of-week review notes summarizing the full week's work activity across all sources (Git, GitHub, Jira).
| name | django-patterns |
| description | Use when editing Django models, views, serializers, admin, managers, signals, migrations, querysets, or database access patterns. |
@property for derived attributes that don't need argumentsobjects = MyManager())as_manager() for chainable filtersactive(), for_user(user), with_related()select_related() for ForeignKey/OneToOne joinsprefetch_related() for ManyToMany/reverse FKonly() / defer() to limit fetched columns when appropriatevalues() / values_list() for read-only aggregation queriesdjango-debug-toolbar or EXPLAIN to verify query plansdispatch_uid to prevent duplicate registrationRunPython with both forward and reverse functions--plan before applyingAddIndex / RemoveIndex separately from schema changes for zero-downtime0042_add_user_email_verified_fieldlist_display and search_fieldslist_select_related to avoid N+1 in admin list viewsraw_id_fields for ForeignKey fields with many optionsreadonly_fields for computed or audit fields