[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79SKJ8684TQQ6PJZVMKYMP5":3,"skill-same:01M79SKJ8684TQQ6PJZVMKYMP5":52},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":32,"commitSha":33,"skillDirectory":34,"forksCount":13,"repositoryHtmlUrl":35,"repositoryHomepageUrl":6,"ownerHtmlUrl":36,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":37,"install":38,"resources":51},"01M79SKJ8684TQQ6PJZVMKYMP5","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.","Snuc1925\u002FSWE-AI-Agent","Snuc1925","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F87866086?v=4","01M79SEFKVJ24BEZS59RCHPNSX","01M79SEFMJFYTNK7S8WF299CWN",0,"MIT","https:\u002F\u002Fgithub.com\u002FSnuc1925\u002FSWE-AI-Agent\u002Fblob\u002Fmain\u002Fskill-library\u002Fapi-backend\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":14,"metadata":23,"description":7},{"role":24,"scope":25,"author":26,"domain":27,"version":28,"triggers":29,"output-format":30,"related-skills":31},"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","459326d435e3b6ae17300b946bd4b7458ecd2bae","skill-library\u002Fapi-backend\u002Fdjango-expert","https:\u002F\u002Fgithub.com\u002FSnuc1925\u002FSWE-AI-Agent","https:\u002F\u002Fgithub.com\u002FSnuc1925","2026-07-29 09:46:52",{"source":8,"skillName":5,"commands":39,"prompt":49,"zipAvailable":50},[40,43,46],{"tool":41,"command":42},"npx","npx skills add Snuc1925\u002FSWE-AI-Agent --skill django-expert",{"tool":44,"command":45},"bunx","bunx skills add Snuc1925\u002FSWE-AI-Agent --skill django-expert",{"tool":47,"command":48},"pnpm","pnpm dlx skills add Snuc1925\u002FSWE-AI-Agent --skill django-expert","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSnuc1925\u002FSWE-AI-Agent\u002Fblob\u002Fmain\u002Fskill-library\u002Fapi-backend\u002Fdjango-expert\u002FSKILL.md",true,[],[53,62,70,78,85,93],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":57,"licenseFileUrl":58,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":18},"01M79T5E59T5HMWZVTFJA9QXN1","linear","Manage issues, projects & team workflows in Linear. Use when the user wants to read, create or updates tickets in Linear.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FSnuc1925\u002FSWE-AI-Agent\u002Fblob\u002Fmain\u002Fskill-library\u002Fworkflow-planning\u002Flinear\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FSnuc1925\u002FSWE-AI-Agent\u002Fblob\u002Fmain\u002Fskill-library\u002Fworkflow-planning\u002Flinear\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":57,"licenseFileUrl":66,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":18},"01M79T535TSDZ09RXZ2YPEE3TN","define-goal","Help the user define a concrete, measurable goal before starting work, especially when they ask to use the goal tool, create a goal, set an objective, clarify success criteria, or turn a fuzzy intention into a quantitative outcome. Use this skill for goal creation and goal refinement only; it does not manage durable snapshots, decision logs, or long-running execution artifacts.","https:\u002F\u002Fgithub.com\u002FSnuc1925\u002FSWE-AI-Agent\u002Fblob\u002Fmain\u002Fskill-library\u002Fworkflow-planning\u002Fdefine-goal\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FSnuc1925\u002FSWE-AI-Agent\u002Fblob\u002Fmain\u002Fskill-library\u002Fworkflow-planning\u002Fdefine-goal\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":57,"licenseFileUrl":74,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":18},"01M79T4TE9NAVN5REZVETVXBCN","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","https:\u002F\u002Fgithub.com\u002FSnuc1925\u002FSWE-AI-Agent\u002Fblob\u002Fmain\u002Fskill-library\u002Ftesting\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FSnuc1925\u002FSWE-AI-Agent\u002Fblob\u002Fmain\u002Fskill-library\u002Ftesting\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":18},"01M79T4HSEDWY2NXVRDZ3RX7J4","test-master","Generates test files, creates mocking strategies, analyzes code coverage, designs test architectures, and produces test plans and defect reports across functional, performance, and security testing disciplines. Use when writing unit tests, integration tests, or E2E tests; creating test strategies or automation frameworks; analyzing coverage gaps; performance testing with k6 or Artillery; security testing with OWASP methods; debugging flaky tests; or working on QA, regression, test automation, quality gates, shift-left testing, or test maintenance.","https:\u002F\u002Fgithub.com\u002FSnuc1925\u002FSWE-AI-Agent\u002Fblob\u002Fmain\u002Fskill-library\u002Ftesting\u002Ftest-master\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":57,"licenseFileUrl":89,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":18},"01M79T43SW5P3Y37F6Y82T76EM","playwright","Use when the task requires automating a real browser from the terminal (navigation, form filling, snapshots, screenshots, data extraction, UI-flow debugging) via `playwright-cli` or the bundled wrapper script.","https:\u002F\u002Fgithub.com\u002FSnuc1925\u002FSWE-AI-Agent\u002Fblob\u002Fmain\u002Fskill-library\u002Ftesting\u002Fplaywright\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FSnuc1925\u002FSWE-AI-Agent\u002Fblob\u002Fmain\u002Fskill-library\u002Ftesting\u002Fplaywright\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":57,"licenseFileUrl":97,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":18},"01M79T3ZYPH547MMC5FFBY1APS","playwright-interactive","Persistent browser and Electron interaction through `js_repl` for fast iterative UI debugging.","https:\u002F\u002Fgithub.com\u002FSnuc1925\u002FSWE-AI-Agent\u002Fblob\u002Fmain\u002Fskill-library\u002Ftesting\u002Fplaywright-interactive\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FSnuc1925\u002FSWE-AI-Agent\u002Fblob\u002Fmain\u002Fskill-library\u002Ftesting\u002Fplaywright-interactive\u002FSKILL.md",[],[]]