docs: add code quality pass instructions to LLM_MESSAGE_FORMAT
This commit is contained in:
parent
fd2c580d7f
commit
b7899ace41
|
@ -159,6 +159,16 @@ For code tasks:
|
||||||
1. Create a plan for how to solve the issue.
|
1. Create a plan for how to solve the issue.
|
||||||
2. Write unit tests that proves that your solution works.
|
2. Write unit tests that proves that your solution works.
|
||||||
3. Then, solve the issue by writing the required code.
|
3. Then, solve the issue by writing the required code.
|
||||||
|
|
||||||
|
# Code Quality Pass
|
||||||
|
|
||||||
|
4. Perform a code quality pass to ensure all conventions from CONVENTIONS.md are followed and that ruff reports no issues. Improve code quality by adding early error validation, enforcing strict behavior, and avoiding code duplication.
|
||||||
|
|
||||||
|
Key focus areas:
|
||||||
|
- Dataclasses should be marked frozen.
|
||||||
|
- Re-use functions to avoid code duplication.
|
||||||
|
- Add early error validation.
|
||||||
|
- Enforce strict behavior.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
MODEL = None
|
MODEL = None
|
||||||
|
|
Loading…
Reference in New Issue
Block a user