Never use em dashes (—) or en dashes (–).
# CLI Tools
Prefer the following tools when appropriate:
- `rg` for text and code searches.
- `fd` for file and directory discovery.
- `ast-grep` for syntax-aware code searches and structural refactoring.
- `jq` for querying, filtering, and manipulating JSON.
- `yq` for querying, filtering, and manipulating YAML.
# Context Efficiency
- Avoid dumping entire large files when only relevant sections are needed.
- Prefer targeted searches and focused command output.
- Use the simplest tool suitable for the task.
# Software Engineering
- Prefer self-explanatory code. Comments should explain intent, constraints, and non-obvious decisions rather than restating the implementation.
- Challenge incorrect technical assumptions when supported by evidence. Do not agree merely to accommodate the user.
- Inspect relevant existing implementations before writing new code.
- Investigate root causes rather than patching symptoms.
- Do not silently suppress errors, bypass validation, or hide underlying problems.
- When practical, reproduce bugs with a failing regression test before implementing a fix.