Agent Code Style & Contribution Guide
This project prioritizes minimal, succinct, and focused changes to maintain stability and portability for radio-based/offline environments.
Core Principles
- Minimal Changes
- Touch only the lines necessary to implement the feature or fix the bug.
- Avoid refactoring unrelated code “while you are there.”
- Preserve existing whitespace and formatting styles to minimize diff noise.
- Succinctness
- Write code that is easy to read and direct.
- Avoid over-abstraction or complex design patterns unless absolutely necessary for the problem at hand.
- Prefer simple functions over complex class hierarchies.
- Focused Context
- When implementing a feature, limit your scope to that specific feature.
- If you find a separate issue, note it or create a new task, but do not fix it in the current change unless it is a blocker.
- No Unnecessary Dependencies
- Do not add npm packages or external libraries without explicit permission.
- Standard Web APIs are preferred over utility libraries (e.g., use
fetch instead of axios or jquery).
Review Checklist for Agents