[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CBYC10M8SYM9KZE17QXMJ5":3,"skill-same:01M7CBYC10M8SYM9KZE17QXMJ5":61},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":33,"commitSha":34,"skillDirectory":35,"forksCount":36,"repositoryHtmlUrl":37,"repositoryHomepageUrl":6,"ownerHtmlUrl":38,"ownerBlogUrl":6,"ownerDescription":39,"updatedAt":40,"install":41,"resources":54},"01M7CBYC10M8SYM9KZE17QXMJ5","django-expert",null,"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\u002Fprefetch_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.","om-scogo\u002Fskillsh-scraper","om-scogo","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F160466840?v=4","01M79AWB6DFVCQ7RK70CS34B96","Om Achrekar","01M79AWB6ZM9SKR8KDH1WSSM22",0,"MIT","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fjeffallan-claude-skills\u002Fdjango-expert\u002FSkill.md",[],[],"2026-11-15 14:19:17",false,"---\nname: django-expert\ndescription: \"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\u002Fprefetch_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.\"\nlicense: MIT\nmetadata:\n  author: https:\u002F\u002Fgithub.com\u002FJeffallan\n  version: \"1.1.0\"\n  domain: backend\n  triggers: Django, DRF, Django REST Framework, Django ORM, Django model, serializer, viewset, Python web\n  role: specialist\n  scope: implementation\n  output-format: code\n  related-skills: fullstack-guardian, fastapi-expert, test-master\n---\n\n# Django Expert\n\nSenior Django specialist with deep expertise in Django 5.0, Django REST Framework, and production-grade web applications.\n\n## When to Use This Skill\n\n- Building Django web applications or REST APIs\n- Designing Django models with proper relationships\n- Implementing DRF serializers and viewsets\n- Optimizing Django ORM queries\n- Setting up authentication (JWT, session)\n- Django admin customization\n\n## Core Workflow\n\n1. **Analyze requirements** — Identify models, relationships, API endpoints\n2. **Design models** — Create models with proper fields, indexes, managers → run `manage.py makemigrations` and `manage.py migrate`; verify schema before proceeding\n3. **Implement views** — DRF viewsets or Django 5.0 async views\n4. **Validate endpoints** — Confirm each endpoint returns expected status codes with a quick `APITestCase` or `curl` check before adding auth\n5. **Add auth** — Permissions, JWT authentication\n6. **Test** — Django TestCase, APITestCase\n\n## Reference Guide\n\nLoad detailed guidance based on context:\n\n| Topic | Reference | Load When |\n|-------|-----------|-----------|\n| Models | `references\u002Fmodels-orm.md` | Creating models, ORM queries, optimization |\n| Serializers | `references\u002Fdrf-serializers.md` | DRF serializers, validation |\n| ViewSets | `references\u002Fviewsets-views.md` | Views, viewsets, async views |\n| Authentication | `references\u002Fauthentication.md` | JWT, permissions, SimpleJWT |\n| Testing | `references\u002Ftesting-django.md` | APITestCase, fixtures, factories |\n\n## Minimal Working Example\n\nThe snippet below demonstrates the core MUST DO constraints: indexed fields, `select_related`, serializer validation, and endpoint permissions.\n\n```python\n# models.py\nfrom django.db import models\n\nclass Article(models.Model):\n    title = models.CharField(max_length=255, db_index=True)\n    author = models.ForeignKey(\n        \"auth.User\", on_delete=models.CASCADE, related_name=\"articles\"\n    )\n    published_at = models.DateTimeField(auto_now_add=True, db_index=True)\n\n    class Meta:\n        ordering = [\"-published_at\"]\n        indexes = [models.Index(fields=[\"author\", \"published_at\"])]\n\n    def __str__(self):\n        return self.title\n\n# serializers.py\nfrom rest_framework import serializers\nfrom .models import Article\n\nclass ArticleSerializer(serializers.ModelSerializer):\n    author_username = serializers.CharField(source=\"author.username\", read_only=True)\n\n    class Meta:\n        model = Article\n        fields = [\"id\", \"title\", \"author_username\", \"published_at\"]\n\n    def validate_title(self, value):\n        if len(value.strip()) \u003C 3:\n            raise serializers.ValidationError(\"Title must be at least 3 characters.\")\n        return value.strip()\n\n# views.py\nfrom rest_framework import viewsets, permissions\nfrom .models import Article\nfrom .serializers import ArticleSerializer\n\nclass ArticleViewSet(viewsets.ModelViewSet):\n    \"\"\"\n    Uses select_related to avoid N+1 on author lookups.\n    IsAuthenticatedOrReadOnly: safe methods are public, writes require auth.\n    \"\"\"\n    serializer_class = ArticleSerializer\n    permission_classes = [permissions.IsAuthenticatedOrReadOnly]\n\n    def get_queryset(self):\n        return Article.objects.select_related(\"author\").all()\n\n    def perform_create(self, serializer):\n        serializer.save(author=self.request.user)\n```\n\n```python\n# tests.py\nfrom rest_framework.test import APITestCase\nfrom rest_framework import status\nfrom django.contrib.auth.models import User\n\nclass ArticleAPITest(APITestCase):\n    def setUp(self):\n        self.user = User.objects.create_user(\"alice\", password=\"pass\")\n\n    def test_list_public(self):\n        res = self.client.get(\"\u002Fapi\u002Farticles\u002F\")\n        self.assertEqual(res.status_code, status.HTTP_200_OK)\n\n    def test_create_requires_auth(self):\n        res = self.client.post(\"\u002Fapi\u002Farticles\u002F\", {\"title\": \"Test\"})\n        self.assertEqual(res.status_code, status.HTTP_403_FORBIDDEN)\n\n    def test_create_authenticated(self):\n        self.client.force_authenticate(self.user)\n        res = self.client.post(\"\u002Fapi\u002Farticles\u002F\", {\"title\": \"Hello Django\"})\n        self.assertEqual(res.status_code, status.HTTP_201_CREATED)\n```\n\n## Constraints\n\n### MUST DO\n- Use `select_related`\u002F`prefetch_related` for related objects\n- Add database indexes for frequently queried fields\n- Use environment variables for secrets\n- Implement proper permissions on all endpoints\n- Write tests for models and API endpoints\n- Use Django's built-in security features (CSRF, etc.)\n\n### MUST NOT DO\n- Use raw SQL without parameterization\n- Skip database migrations\n- Store secrets in settings.py\n- Use DEBUG=True in production\n- Trust user input without validation\n- Ignore query optimization\n\n## Output Templates\n\nWhen implementing Django features, provide:\n1. Model definitions with indexes\n2. Serializers with validation\n3. ViewSet or views with permissions\n4. Brief note on query optimization\n\n## Knowledge Reference\n\nDjango 5.0, DRF, async views, ORM, QuerySet, select_related, prefetch_related, SimpleJWT, django-filter, drf-spectacular, pytest-django\n\n[Documentation](https:\u002F\u002Fjeffallan.github.io\u002Fclaude-skills\u002Fskills\u002Fbackend\u002Fdjango-expert\u002F)\n","# Django Expert\n\nSenior Django specialist with deep expertise in Django 5.0, Django REST Framework, and production-grade web applications.\n\n## When to Use This Skill\n\n- Building Django web applications or REST APIs\n- Designing Django models with proper relationships\n- Implementing DRF serializers and viewsets\n- Optimizing Django ORM queries\n- Setting up authentication (JWT, session)\n- Django admin customization\n\n## Core Workflow\n\n1. **Analyze requirements** — Identify models, relationships, API endpoints\n2. **Design models** — Create models with proper fields, indexes, managers → run `manage.py makemigrations` and `manage.py migrate`; verify schema before proceeding\n3. **Implement views** — DRF viewsets or Django 5.0 async views\n4. **Validate endpoints** — Confirm each endpoint returns expected status codes with a quick `APITestCase` or `curl` check before adding auth\n5. **Add auth** — Permissions, JWT authentication\n6. **Test** — Django TestCase, APITestCase\n\n## Reference Guide\n\nLoad detailed guidance based on context:\n\n| Topic | Reference | Load When |\n|-------|-----------|-----------|\n| Models | `references\u002Fmodels-orm.md` | Creating models, ORM queries, optimization |\n| Serializers | `references\u002Fdrf-serializers.md` | DRF serializers, validation |\n| ViewSets | `references\u002Fviewsets-views.md` | Views, viewsets, async views |\n| Authentication | `references\u002Fauthentication.md` | JWT, permissions, SimpleJWT |\n| Testing | `references\u002Ftesting-django.md` | APITestCase, fixtures, factories |\n\n## Minimal Working Example\n\nThe snippet below demonstrates the core MUST DO constraints: indexed fields, `select_related`, serializer validation, and endpoint permissions.\n\n```python\n# models.py\nfrom django.db import models\n\nclass Article(models.Model):\n    title = models.CharField(max_length=255, db_index=True)\n    author = models.ForeignKey(\n        \"auth.User\", on_delete=models.CASCADE, related_name=\"articles\"\n    )\n    published_at = models.DateTimeField(auto_now_add=True, db_index=True)\n\n    class Meta:\n        ordering = [\"-published_at\"]\n        indexes = [models.Index(fields=[\"author\", \"published_at\"])]\n\n    def __str__(self):\n        return self.title\n\n# serializers.py\nfrom rest_framework import serializers\nfrom .models import Article\n\nclass ArticleSerializer(serializers.ModelSerializer):\n    author_username = serializers.CharField(source=\"author.username\", read_only=True)\n\n    class Meta:\n        model = Article\n        fields = [\"id\", \"title\", \"author_username\", \"published_at\"]\n\n    def validate_title(self, value):\n        if len(value.strip()) \u003C 3:\n            raise serializers.ValidationError(\"Title must be at least 3 characters.\")\n        return value.strip()\n\n# views.py\nfrom rest_framework import viewsets, permissions\nfrom .models import Article\nfrom .serializers import ArticleSerializer\n\nclass ArticleViewSet(viewsets.ModelViewSet):\n    \"\"\"\n    Uses select_related to avoid N+1 on author lookups.\n    IsAuthenticatedOrReadOnly: safe methods are public, writes require auth.\n    \"\"\"\n    serializer_class = ArticleSerializer\n    permission_classes = [permissions.IsAuthenticatedOrReadOnly]\n\n    def get_queryset(self):\n        return Article.objects.select_related(\"author\").all()\n\n    def perform_create(self, serializer):\n        serializer.save(author=self.request.user)\n```\n\n```python\n# tests.py\nfrom rest_framework.test import APITestCase\nfrom rest_framework import status\nfrom django.contrib.auth.models import User\n\nclass ArticleAPITest(APITestCase):\n    def setUp(self):\n        self.user = User.objects.create_user(\"alice\", password=\"pass\")\n\n    def test_list_public(self):\n        res = self.client.get(\"\u002Fapi\u002Farticles\u002F\")\n        self.assertEqual(res.status_code, status.HTTP_200_OK)\n\n    def test_create_requires_auth(self):\n        res = self.client.post(\"\u002Fapi\u002Farticles\u002F\", {\"title\": \"Test\"})\n        self.assertEqual(res.status_code, status.HTTP_403_FORBIDDEN)\n\n    def test_create_authenticated(self):\n        self.client.force_authenticate(self.user)\n        res = self.client.post(\"\u002Fapi\u002Farticles\u002F\", {\"title\": \"Hello Django\"})\n        self.assertEqual(res.status_code, status.HTTP_201_CREATED)\n```\n\n## Constraints\n\n### MUST DO\n- Use `select_related`\u002F`prefetch_related` for related objects\n- Add database indexes for frequently queried fields\n- Use environment variables for secrets\n- Implement proper permissions on all endpoints\n- Write tests for models and API endpoints\n- Use Django's built-in security features (CSRF, etc.)\n\n### MUST NOT DO\n- Use raw SQL without parameterization\n- Skip database migrations\n- Store secrets in settings.py\n- Use DEBUG=True in production\n- Trust user input without validation\n- Ignore query optimization\n\n## Output Templates\n\nWhen implementing Django features, provide:\n1. Model definitions with indexes\n2. Serializers with validation\n3. ViewSet or views with permissions\n4. Brief note on query optimization\n\n## Knowledge Reference\n\nDjango 5.0, DRF, async views, ORM, QuerySet, select_related, prefetch_related, SimpleJWT, django-filter, drf-spectacular, pytest-django\n\n[Documentation](https:\u002F\u002Fjeffallan.github.io\u002Fclaude-skills\u002Fskills\u002Fbackend\u002Fdjango-expert\u002F)\n",{"name":5,"license":15,"metadata":24,"description":7},{"role":25,"scope":26,"author":27,"domain":28,"version":29,"triggers":30,"output-format":31,"related-skills":32},"specialist","implementation","https:\u002F\u002Fgithub.com\u002FJeffallan","backend","1.1.0","Django, DRF, Django REST Framework, Django ORM, Django model, serializer, viewset, Python web","code","fullstack-guardian, fastapi-expert, test-master","main","8859218955d9504cd18b59e7892100718039d3b4","data\u002Fskills\u002Fjeffallan-claude-skills\u002Fdjango-expert",1,"https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper","https:\u002F\u002Fgithub.com\u002Fom-scogo","SDE-1 @ Scogo ","2026-07-18 12:22:46",{"source":8,"skillName":5,"commands":42,"prompt":52,"zipAvailable":53},[43,46,49],{"tool":44,"command":45},"npx","npx skills add om-scogo\u002Fskillsh-scraper --skill django-expert",{"tool":47,"command":48},"bunx","bunx skills add om-scogo\u002Fskillsh-scraper --skill django-expert",{"tool":50,"command":51},"pnpm","pnpm dlx skills add om-scogo\u002Fskillsh-scraper --skill django-expert","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fjeffallan-claude-skills\u002Fdjango-expert\u002FSkill.md",true,[55],{"path":56,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":59,"sourceHtmlUrl":60},"metadata.json","REFERENCE","参考文档",452,"https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fjeffallan-claude-skills\u002Fdjango-expert\u002Fmetadata.json",[62,69,74,81,86,93],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M7D6MC9FAAEV4CMNYX8W7JTG","arxiv-search","Search arXiv physics, math, and computer science preprints using natural language queries. Powered by Valyu semantic search.","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fyorkeccak-scientific-skills\u002Farxiv-search\u002Fskills\u002Farxiv-search\u002FSKILL.md",[],[],{"skillNo":70,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M7D6M85CKKN87TA98VCQV4H7","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fyorkeccak-scientific-skills\u002Farxiv-search\u002FSkill.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M7D4ZTCS4DR3CE4JY06X84T2","working-with-legacy-code","Safely change and test untested codebases using Feathers' \"Working Effectively with Legacy Code\". Use when the user mentions \"legacy code\", \"no tests\", \"untested codebase\", \"how do I test this\", \"seams\", \"characterization tests\", \"golden master\", \"sprout method\", \"afraid to change this code\", \"monster method\", \"dependency breaking\", or \"inherited a messy codebase\". Also trigger when changing code without tests safely, getting a class under test when constructors, statics, or singletons block it, adding features to tangled modules, or planning incremental test coverage for an old codebase. Covers the legacy-code change algorithm, seams, characterization tests, sprout\u002Fwrap, and dependency-breaking techniques. For refactoring code that already has tests, see refactoring-patterns. For day-to-day code quality, see clean-code.","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fworking-with-legacy-code\u002Fworking-with-legacy-code\u002FSKILL.md",[],[],{"skillNo":82,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M7D4ZHZKJD2RSNGAF63V14P4","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fworking-with-legacy-code\u002FSkill.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M7D4ZB4CJBFW5JE67CPH2QRV","web-typography","Select, pair, and implement typefaces for web projects. Use when the user mentions \"font pairing\", \"which typeface\", \"line height\", \"responsive typography\", \"web font loading\", \"type hierarchy\", \"variable fonts\", \"FOUT\u002FFOIT\", \"typographic scale\", or \"the text is hard to read\". Also trigger when choosing between system fonts and web fonts, optimizing font-loading performance, or designing readable long-form content. Covers readability evaluation, CSS implementation, and performance optimization. For overall UI design systems, see refactoring-ui. For dramatic typographic experiences, see top-design.","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fweb-typography\u002Fweb-typography\u002FSKILL.md",[],[],{"skillNo":94,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M7D4Z4MVYVY3NMJ18BNV6WNA","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fweb-typography\u002FSkill.md",[],[]]