Example Author
Create examples that compile and teach one concept clearly.
Authoring rules
- Keep each example focused on one primary concept.
- Use clear names and concise comments.
- Prefer realistic tool schemas and messages.
- Avoid unnecessary dependencies.
Validation steps
- Build or test the example package.
- Verify imports and API usage match current SDK.
- Keep output/logging simple and readable.
Placement
- Add new examples in
examples/<nn>_<topic>/main.go. - Reuse patterns from nearby examples to keep consistency.
Converted and distributed by TomeVault — claim your Tome and manage your conversions.