Volver al catálogo
Curado por modeloDesarrollo

Dosier de la skill

django-expert

Declaración de origen

Use when building Django web applications or REST APIs with Django REST Framework. Invoke when working with settings.py, models.py, manage.py, or any Django project file. Creates Django models with proper indexes, optimizes ORM queries using select_related/prefetch_related, builds DRF serializers and viewsets, and configures JWT authentication. Trigger terms: Django, DRF, Django REST Framework, Django ORM, Django model, serializer, viewset, Python web.

La descripción original del autor, conservada en inglés. Describe la intención, no un rendimiento verificado.

Use when building Django web applications or REST APIs with Django REST Framework. Invoke when working with settings.py, models.py, manage.py, or any Django project file. Creates Django models with proper indexes, optimizes ORM queries using select_related/prefetch_related, builds DRF serializers and viewsets, and configures JWT authentication. Trigger terms: Django, DRF, Django REST Framework, Django ORM, Django model, serializer, viewset, Python web.

developmentreferences

El contenido de investigación de este sitio está publicado en inglés y chino, y aquí se muestra en inglés.

Resumen de la investigación

Curado por modelo

Skill Atlas model curation · model-curated-1.0.0

A backend Skill for Django 5.0 and Django REST Framework work: it walks the agent through models, viewsets, authentication and tests, with explicit ORM-optimization and security constraints.

Alcance de la revisión

Deterministic static analysis of collected SKILL.md and supporting text/code. Machine-assisted candidates and findings are static-analysis candidates; no dynamic behavior or effect is assessed.

Capacidades observables

  • Designs Django models with indexes and managers, then runs makemigrations and migrate before moving on.
  • Builds DRF serializers with validation and viewsets with explicit permission classes.
  • Uses select_related and prefetch_related to avoid N+1 queries.
  • Adds JWT or session authentication and writes TestCase or APITestCase tests.

Limitaciones y alcance

  • Targets Django 5.0 and DRF; other frameworks or older Django versions are out of scope.
  • Detailed guidance lives in reference files that are only loaded on demand.
  • Generated migrations, tests and permissions are not verified here.

Relevante para

  • Python developers building Django REST APIs
  • Teams that want ORM and permission conventions enforced

Qué incluye la skill

El inventario de archivos procede del código fuente recopilado en el commit registrado. Las rutas y los tamaños son observaciones estructurales, no una medida de calidad.

archivos
6
Archivos Markdown
6
scripts
0
referencias
5
Tamaño
27,4 KB
Complejidad estructural
Baja

Inventario de archivos

RutaTipoBytes
skills/django-expert/references/authentication.mdReferencia3,9 KB
skills/django-expert/references/drf-serializers.mdReferencia4 KB
skills/django-expert/references/models-orm.mdReferencia3,8 KB
skills/django-expert/references/testing-django.mdReferencia5,4 KB
skills/django-expert/references/viewsets-views.mdReferencia4,2 KB
skills/django-expert/SKILL.mdInstrucción6,1 KB

Frontmatter de SKILL.md

{
  "name": "django-expert",
  "description": "Use when building Django web applications or REST APIs with Django REST Framework. Invoke when working with settings.py, models.py, manage.py, or any Django project file. Creates Django models with proper indexes, optimizes ORM queries using select_related/prefetch_related, builds DRF serializers and viewsets, and configures JWT authentication. Trigger terms: Django, DRF, Django REST Framework, Django ORM, Django model, serializer, viewset, Python web.",
  "license": "MIT",
  "metadata": {
    "author": "https://github.com/Jeffallan",
    "company": "https://synergetic.solutions",
    "version": "1.1.0",
    "domain": "backend",
    "triggers": "Django, DRF, Django REST Framework, Django ORM, Django model, serializer, viewset, Python web",
    "role": "specialist",
    "scope": "implementation",
    "output-format": "code",
    "related-skills": "fullstack-guardian, fastapi-expert, test-master, django-storages-s3"
  }
}

Una lectura de la secuencia de funcionamiento

Este flujo de trabajo reconstruye la secuencia aparente a partir del material de origen. A menos que se registre explícitamente una evaluación controlada, es provisional y no un seguimiento observado.

  1. 01
    Entrada

    Analyze requirements

    Identify the models, relationships and API endpoints needed.

  2. 02
    Acción

    Design models and migrate

    Create models with indexes and managers, then run makemigrations and migrate and verify the schema.

  3. 03
    Decisión

    Validate before adding auth

    Confirm each endpoint returns the expected status codes with an APITestCase or curl check before adding auth.

  4. 04
    Salida

    Deliver code with notes

    Provide models, serializers, views with permissions and a brief note on query optimization.

Posibles superficies de riesgo

Los hallazgos estáticos señalan puntos que conviene revisar antes de instalar. No establecen que una skill sea segura, maliciosa ni eficaz.

Se recomienda atención

30 deterministic lexical finding(s) require review across the collected text. Findings can occur in documentation and do not prove execution or exploitability; binary-only files were not scanned.

Acceso a la redObservado
Escrituras de archivosObservado
Uso de credencialesObservado
Alta

Credential or secret material is referenced

7 ocurrencias

This line resembles a credential literal or reads a sensitive environment value. Do not expose its contents; verify whether it is a placeholder, required secret, or accidentally committed material. This rule matched 7 location(s) in the collected text; 3 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Nota

File modification is described or implemented

17 ocurrencias

This line contains a possible file-write or redirection operation. Check destination paths and overwrite behavior; the static review did not write any file. This rule matched 17 location(s) in the collected text; 3 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Media

Network access is mentioned

6 ocurrencias

A URL or network client appears in this source line. Review destinations, data sent, and trust boundaries; static text cannot establish actual network activity. This rule matched 6 location(s) in the collected text; 3 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Evidencia en el código fuenteskills/django-expert/SKILL.md:L6
Evidencia en el código fuenteskills/django-expert/SKILL.md:L7
Nota de seguridad editorial

Check that generated settings read secrets from environment variables and that every endpoint has an explicit permission class.

Dónde puede consumirse el contexto

Las capas de descubrimiento, activación y recursos tienen significados distintos. Los valores exactos solo aparecen cuando el método oficial de recuento se ejecutó con un modelo identificado.

Recuento exacto de tokens no disponible

All token values, including per-file inventory, are null until the pipeline performs an official exact count with an explicit model.

No se registró ninguna medición de tokens con el método oficial requerido. Este dosier no la sustituye por recuentos de caracteres, tamaños de archivo ni estimaciones.

Evaluación controlada

Sin evaluación controlada

Esta skill solo cuenta con las evidencias indicadas arriba. No se afirma ninguna tasa de éxito, eficiencia de tokens, latencia ni ventaja de calidad.

Sin probar

Úsala con el código fuente a la vista

Comando de instalación
git clone https://github.com/Jeffallan/claude-skills.git cd claude-skills # Copy this skill directory into one of: # ~/.claude/skills/django-expert # .claude/skills/django-expert
  1. Open the pinned source at https://github.com/Jeffallan/claude-skills/blob/67c1961b180dc92cf08983344627109e983e8f51/skills/django-expert/SKILL.md.
  2. Review the license, prerequisites and all bundled reference files.
  3. Copy the skill directory into a personal or project-level Claude Code skills directory.
  4. Restart or refresh Claude Code so the skill can be discovered.
Verificar la instalación

Ask Claude Code to add a small model and viewset, and confirm it runs migrations and an APITestCase check.

Requisitos previos

  • Targets Django 5.0 and DRF; other frameworks or older Django versions are out of scope.
  • Detailed guidance lives in reference files that are only loaded on demand.
  • Generated migrations, tests and permissions are not verified here.

Prompts de ejemplo

Representative task

Use the django-expert skill to add an Article model and a DRF ModelViewSet with IsAuthenticatedOrReadOnly permissions, select_related on author, and APITestCase tests for list and create.

Inspect before use

Read the django-expert skill at https://github.com/Jeffallan/claude-skills/blob/67c1961b180dc92cf08983344627109e983e8f51/skills/django-expert/SKILL.md. Explain its workflow, required tools, permissions and the main risks before I decide whether to install it.

Una decisión, con sus límites

Fortalezas

  • Pairs each step with a verification action such as migrations or an APITestCase check.
  • Lists concrete MUST DO and MUST NOT DO rules covering secrets, DEBUG and raw SQL.

Aspectos a considerar

  • Opinionated toward DRF; projects using other API layers may not fit.
  • The inline example uses a placeholder test password, which must not be copied into real code.
Conclusión de la investigación

A practical checklist-style guide for Django and DRF backends with built-in verification steps.

Trazable por construcción

El dosier es una lectura acotada en el tiempo de un artefacto público, no un respaldo. Usa el enlace al código fuente para inspeccionar el material original exacto.

Jeffallanclaude-skillsskills/django-expert
Tipo de origen
Comunidad
Commit
67c1961b180dc92cf08983344627109e983e8f51
Recopilado
20 nov 2026
Última comprobación
20 nov 2026
Licencia original
MIT
Estrellas del repositorio
12.469
Base del contenido

Deterministic lexical parsing, YAML frontmatter validation, file inventory, source-described workflow extraction, and heuristic provisional classification of the supplied files only. Generated by machine; no LLM, execution, or dynamic testing.