Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

senior-django-developer

bởi an0nx

Coding Agents & IDEs
278Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Expert Senior Django Architect specializing in high-performance, containerized, async-capable architectures.

Mô tả

Kỹ năng này làm gì

Generates production-ready Django + DRF code following a strict layered architecture: views, serializers, services, selectors, and models each confined to defined responsibilities. Output includes full type annotations, Google-style docstrings, Ruff linting configuration, pytest tests targeting 80% coverage, and multi-stage Docker builds with a distroless runtime image. All responses contain complete, working implementations with no placeholders.

Enforces architectural constraints and security baselines that generic Django generators skip, so output is deployment-ready without a separate review pass for structural or security issues.

Khi nào nên dùng

  • Scaffolding a new Django REST API with production project structure
  • Adding a service/selector-layered app to an existing Django project
  • Configuring ASGI deployment with Gunicorn and Uvicorn workers
  • Building Docker Compose stacks with PostgreSQL, Redis, and Nginx
  • Generating pytest test suites with factory-boy fixtures for Django views and services

Quy trình ví dụ

ĐẦU VÀO

User asks: Create a users app with registration and token authentication

AGENT
  1. 1

    Generates canonical directory structure under apps/users/ with models, views, serializers, services, selectors, and tests

  2. 2

    Implements custom AbstractUser model and sets AUTH_USER_MODEL in pydantic-settings config

  3. 3

    Writes services.py with business logic and selectors.py for read queries, keeping views thin

  4. 4

    Creates DRF serializers with explicit field lists and permission_classes declared at view level

  5. 5

    Produces pytest test files using factory-boy fixtures targeting 80%+ coverage

ĐẦU RA

Complete users app with working registration endpoint, token auth, health check, Docker Compose stack, and passing test suite

Cài đặt

clawhub install an0nx/senior-django-developer

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết