mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 08:41:34 +02:00
opencode: ai shall prevail
This commit is contained in:
parent
34b0b86e63
commit
c72bf3b5bf
3 changed files with 78 additions and 0 deletions
11
config/opencode/AGENTS.md
Normal file
11
config/opencode/AGENTS.md
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# Code Quality Standards
|
||||
- Make minimal, surgical changes
|
||||
- Abstractions: Consciously constrained, pragmatically parameterised, doggedly documented
|
||||
- Make illegal states unrepresentable: Model domain with ADTs/discriminated unions; parse inputs at boundaries into typed structures; if state can't exist, code can't mishandle it
|
||||
|
||||
# Testing
|
||||
- Write tests that verify semantically correct behavior
|
||||
- Failing tests are acceptable when they expose genuine bugs and test correct behavior
|
||||
|
||||
# Plans
|
||||
- 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.
|
||||
Loading…
Add table
Add a link
Reference in a new issue