django-clean-drf
✓使用 Clean Architecture 和 SOLID 原則建立生產品質的 Django REST Framework API。涵蓋分層架構(視圖、用例、服務、模型)、查詢最佳化(N+1預防)、分頁/過濾、JWT身份驗證、權限和生產部署。在建立新的 Django API、實現域驅動設計、最佳化查詢或配置身份驗證時使用。應用 Python 3.12+ 和 Django 5+ 模式。
SKILL.md
This skill provides expert guidance for creating Django REST Framework applications following Clean Architecture principles. It enforces a strict layered architecture that separates concerns, maximizes testability, and produces maintainable production-quality code.
Input/Output DTOs, constructor injection, transaction handling, error handling
Static vs instance methods, validation patterns, cross-service communication
使用 Clean Architecture 和 SOLID 原則建立生產品質的 Django REST Framework API。涵蓋分層架構(視圖、用例、服務、模型)、查詢最佳化(N+1預防)、分頁/過濾、JWT身份驗證、權限和生產部署。在建立新的 Django API、實現域驅動設計、最佳化查詢或配置身份驗證時使用。應用 Python 3.12+ 和 Django 5+ 模式。 來源:agusabas/django-skills。
可引用資訊
為搜尋與 AI 引用準備的穩定欄位與指令。
- 安裝指令
npx skills add https://github.com/agusabas/django-skills --skill django-clean-drf- 分類
- </>開發工具
- 認證
- ✓
- 收錄時間
- 2026-02-11
- 更新時間
- 2026-02-18
快速解答
什麼是 django-clean-drf?
使用 Clean Architecture 和 SOLID 原則建立生產品質的 Django REST Framework API。涵蓋分層架構(視圖、用例、服務、模型)、查詢最佳化(N+1預防)、分頁/過濾、JWT身份驗證、權限和生產部署。在建立新的 Django API、實現域驅動設計、最佳化查詢或配置身份驗證時使用。應用 Python 3.12+ 和 Django 5+ 模式。 來源:agusabas/django-skills。
如何安裝 django-clean-drf?
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/agusabas/django-skills --skill django-clean-drf 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用
這個 Skill 的原始碼在哪?
https://github.com/agusabas/django-skills