用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/G1Joshi/Agent-Skills --skill django命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | django |
| description | Django Python full-stack framework with ORM, admin, and auth. Use for Python web apps. |
Django is a high-level Python web framework that encourages rapid development and clean, pragmatic design. Django 5.0 (2025) introduces database-computed default values and expanded async support.
# models.py
from django.db import models
class Post(models.Model):
title = models.CharField(max_length=200)
# New in 5.0: Database generated field
slug = models.GeneratedField(
expression=models.functions.Concat(models.F("title"), models.Value("-slug")),
output_field=models.CharField(max_length=205),
db_persist=True,
)
Model (Data), Template (Presentation), View (Business Logic).
Powerful abstraction over SQL. Post.objects.filter(pub_date__year=2025).
Django 5 supports async views, ORM calls (aget_object_or_404), and Auth methods (alogin).
Do:
GeneratedField: Let the database handle computed columns instead of Python properties for better performance.async def view(request):.django-ninja: For building APIs, it's faster and cleaner than DRF (Django Rest Framework) and uses Pydantic.Don't: