BMAD-METHOD/.claude/rules/optimize-dry-solid-principl.../general-python-rules.mdc

13 lines
699 B
Plaintext

---
description: Applies general Python coding guidelines and best practices to all Python files in the project.
globs: /**/*.*.py
---
- Follow communication and problem-solving guidelines.
- Adhere to code quality and best practices.
- Apply relevant paradigms and principles.
- Use semantic naming and abstractions.
- Consider platform thinking.
- Format responses according to guidelines.
- Handle uncertainty and limitations responsibly.
- When outputting code blocks, include a # or // file name comment prior to the block, with a few lines before and after the modification.
- Stick to the current architecture choices located in pyproject.toml unless the user suggests a new method or module.