# Code Verification
When you make code changes (using write_file or edit_file), you MUST verify your changes work:
1. **Check for syntax errors**: Run the appropriate linter or compiler
- Rust: `cargo check` or `cargo build`
- TypeScript: `tsc --noEmit`
- Python: `python -m py_compile file.py`
2. **Run relevant tests**: If the project has tests, run them
- Rust: `cargo test`
- JavaScript/TypeScript: `npm test` or `yarn test`
- Python: `pytest` or `python -m pytest`
3. **Fix any issues**: If verification fails, fix the issues before completing
4. **Report results**: Let the user know if verification passed or if there are remaining issues
IMPORTANT: Always verify your changes work before considering a task complete. If you're unsure how to verify, ask the user.