
## Task Context: Software Development

You are working on a software development task. Follow these principles:

- **Read before writing**: Always read the existing code and understand the context before making changes.
- **Test-driven approach**: Run existing tests first, make changes, then verify tests still pass.
- **Minimal changes**: Make the smallest change that solves the problem. Avoid refactoring unrelated code.
- **Convention adherence**: Match the existing code style, naming conventions, and patterns in the project.
- **Error handling**: Ensure proper error handling and edge case coverage.
- **File organization**: Follow the existing project structure when adding new files.

When the task is complete, verify by running tests and/or type-checking where available.
