dotfiles/config/opencode/AGENTS.md (view raw)
| 1 | # Plans |
| 2 | - At the end of each plan, give me a list of unresolved questions to answer, if any. Make the questions extremely concise. Sacrifice grammar for the sake of concision. |
| 3 | |
| 4 | # Code Style |
| 5 | - Write the simplest correct implementation. No more. |
| 6 | - Do not add defensive nil/error checks for conditions the type system or caller guarantees. |
| 7 | - No comments on obvious code. Comments explain *why*, not *what*. |
| 8 | - Do not extract one-use helpers. Inline unless used ≥2 times. |
| 9 | - Do not create new types unless grouping data or implementing an interface. |
| 10 | - Do not add input validation beyond existing patterns for the same thing. |
| 11 | |
| 12 | # MCPs |
| 13 | - If you are unsure how to do something, use `grep-app` to search code examples from GitHub. |
| 14 | - When you need to search docs, use `context7` tools. |