Retour au catalogue
Annoté par modèleDéveloppement

Dossier du skill

django-expert

Déclaration de la source

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 description originale de l'auteur, conservée en anglais. Elle décrit l'intention, pas des performances vérifiées.

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

Le contenu de recherche de ce site est publié en anglais et en chinois ; il est affiché ici en anglais.

Résumé de la recherche

Annoté par modèle

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.

Portée de l'examen

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.

Capacités 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.

Limites et portée

  • 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.

Pertinent pour

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

Ce que contient le skill

L'inventaire des fichiers provient de la source collectée au commit consigné. Les chemins et les tailles sont des observations structurelles, pas une mesure de qualité.

fichiers
6
Fichiers Markdown
6
scripts
0
références
5
Taille
27,4 KB
Complexité structurelle
Faible

Inventaire des fichiers

CheminTypeOctets
skills/django-expert/references/authentication.mdRéférence3,9 KB
skills/django-expert/references/drf-serializers.mdRéférence4 KB
skills/django-expert/references/models-orm.mdRéférence3,8 KB
skills/django-expert/references/testing-django.mdRéférence5,4 KB
skills/django-expert/references/viewsets-views.mdRéférence4,2 KB
skills/django-expert/SKILL.mdInstruction6,1 KB

Frontmatter du 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"
  }
}

Une lecture de la séquence de fonctionnement

Ce workflow reconstitue la séquence apparente à partir du matériel source. Sauf si une évaluation contrôlée est explicitement consignée, il est provisoire et non une trace observée.

  1. 01
    Entrée

    Analyze requirements

    Identify the models, relationships and API endpoints needed.

  2. 02
    Action

    Design models and migrate

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

  3. 03
    Décision

    Validate before adding auth

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

  4. 04
    Sortie

    Deliver code with notes

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

Surfaces de risque potentielles

Les constats statiques signalent les points à examiner avant l'installation. Ils n'établissent pas qu'un skill est sûr, malveillant ou efficace.

Attention recommandée

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.

Accès réseauObservé
Écritures de fichiersObservé
Utilisation d'identifiantsObservé
Élevé

Credential or secret material is referenced

7 occurrences

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.

Note

File modification is described or implemented

17 occurrences

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.

Moyen

Network access is mentioned

6 occurrences

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.

Note de sécurité éditoriale

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

Où le contexte peut être consommé

Les couches de découverte, d'activation et de ressources n'ont pas la même signification. Les valeurs exactes n'apparaissent que si la méthode officielle de comptage a été exécutée avec un modèle nommé.

Comptage exact des tokens indisponible

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

Aucune mesure de tokens n'a été consignée selon la méthode officielle requise. Ce dossier ne la remplace ni par un nombre de caractères, ni par une taille de fichier, ni par une estimation.

Évaluation contrôlée

Aucune évaluation contrôlée

Ce skill ne dispose que des preuves identifiées ci-dessus. Aucun taux de réussite, gain d'efficience en tokens, latence ou avantage de qualité n'est affirmé.

Non testé

Utiliser en gardant la source en vue

Commande d'installation
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.
Vérifier l'installation

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

Prérequis

  • 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.

Exemples de prompts

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.

Une conclusion, avec ses limites

Points forts

  • 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.

Points d'attention

  • 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.
Conclusion de recherche

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

Traçable par construction

Le dossier est une lecture datée d'un artefact public, pas une approbation. Utilisez le lien source pour examiner le contenu amont exact.

Jeffallanclaude-skillsskills/django-expert
Type de source
Communauté
Commit
67c1961b180dc92cf08983344627109e983e8f51
Collecté
20 nov. 2026
Dernière vérification
20 nov. 2026
Licence amont
MIT
Étoiles du dépôt
12 469
Base du contenu

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.