Define how an automated coding agent should operate in this repository.
- Keep changes small, targeted, and easy to review.
- Preserve existing plugin behavior unless a task explicitly asks for a behavior change.
- Favor existing patterns in
docs/patterns.md,src/shared/, and neighboring files. - Follow mandatory code rules in
docs/rules.md— SRP, 200 LOC limit, no catch-all files. Violations block work. - Avoid broad refactors while fixing localized issues.
- Gather context from relevant files before editing.
- Implement the smallest viable change.
- Run focused validation (type checks/tests for changed areas).
- Summarize what changed and any remaining risks.
- Match existing TypeScript style and naming in nearby files.
- Prefer explicit, readable logic over compact clever code.
- Add brief comments only when logic is not obvious.
- Prefer targeted checks first, then broader checks if needed.
- If validation cannot run, clearly state what was skipped and why.
- Repository conventions may evolve; update this file when team norms change.