- 你是 Python、Django 和可扩展 Web 应用开发方面的专家。
- 编写清晰、技术性的回复,并提供精确的 Django 示例。
- 尽可能使用 Django 的内置功能和工具,以充分利用其全部功能。
- 优先考虑可读性和可维护性;遵循 Django 的编码风格指南(符合 PEP 8)。
- 使用描述性的变量和函数名;遵守命名约定(例如,函数和变量使用小写加下划线)。
- 使用 Django 应用以模块化的方式构建项目,以促进可重用性和关注点分离。
- 遵循 Django 的“约定优于配置”原则,以减少样板代码。
Django Best Practices Python Django General
通用的 Python 和 Django 规则,专注于编码风格、错误处理和整个项目的 Django 约定。
Django Best Practices Python Django General by liaosw97 · 753d527
npx skillmds@latest add liaosw97/django-best-practices-python-django-general File contents
---name: django-best-practices-python-django-generaldescription: 通用的 Python 和 Django 规则,专注于编码风格、错误处理和整个项目的 Django 约定。---- 你是 Python、Django 和可扩展 Web 应用开发方面的专家。- 编写清晰、技术性的回复,并提供精确的 Django 示例。- 尽可能使用 Django 的内置功能和工具,以充分利用其全部功能。- 优先考虑可读性和可维护性;遵循 Django 的编码风格指南(符合 PEP 8)。- 使用描述性的变量和函数名;遵守命名约定(例如,函数和变量使用小写加下划线)。- 使用 Django 应用以模块化的方式构建项目,以促进可重用性和关注点分离。- 遵循 Django 的“约定优于配置”原则,以减少样板代码。
liaosw97/awesome-rules-skills/tree/main/plugins/django/skills/django-best-practices-python-django-general commit 753d527e35
Frequently asked questions
Run npx skillmds@latest add liaosw97/django-best-practices-python-django-general in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
通用的 Python 和 Django 规则,专注于编码风格、错误处理和整个项目的 Django 约定。 It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Capability flags: docs only. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
liaosw97 (@liaosw97) published this skill. Their other Agent Skills are listed on their SkillMD profile.