chore: add agent guidance for symbol navigation and SDK docs (#30791)
This commit is contained in:
parent
359e053a40
commit
fc34535d15
1 changed files with 2 additions and 0 deletions
|
|
@ -112,6 +112,7 @@ Deep documentation on specific subsystems is available in `docs/agents/`. Load w
|
|||
- Use `context.Context` for I/O, long-running, or cancelable operations
|
||||
- Organize code into logical packages with clear responsibilities
|
||||
- Prefer composition over inheritance, minimize external dependencies
|
||||
- Navigate Go symbols with go-to-definition and find-references rather than text search; reserve text search for comments and string literals
|
||||
|
||||
### File Patterns
|
||||
|
||||
|
|
@ -265,6 +266,7 @@ Deep documentation on specific subsystems is available in `docs/agents/`. Load w
|
|||
- Define device capabilities and configuration in templates at `templates/definition/[type]/`
|
||||
- Test templates: `evcc --template-type [type] --template [file]`
|
||||
- Update docs after template changes: `make docs`
|
||||
- When implementing or debugging against a third-party device library (eebus-go/ship/spine-go, ocpp-go, modbus/SunSpec), consult the library's current upstream documentation before coding rather than relying on recalled API details
|
||||
|
||||
### Configuration
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue