Files
main/rules-v0/python-projects-guide-cursorrules-prompt-file/python-ai-friendly-coding-practices-rule.mdc
2025-02-27 00:04:07 +05:30

8 lines
327 B
Plaintext

---
description: Promotes AI-friendly coding practices in Python files, including descriptive names, type hints, detailed comments, and rich error context.
globs: /**/*.py
---
- Use descriptive variable and function names
- Use type hints
- Provide detailed comments for complex logic
- Provide rich error context for debugging