Skip to content

Conversation

@paralin
Copy link
Contributor

@paralin paralin commented Dec 7, 2025

After working with the codebase using opencode a bit:

  • Add guidance on regenerating SDK after schema changes
  • Document type predicate pattern for filtering discriminated unions
  • Discourage use of 'as' casts when TypeScript's type narrowing fails
  • Add guidance to run prettier after changing code
  • .gitignore: exclude bun-build files

Significantly reduces errors in the output in my experience.

@paralin paralin marked this pull request as ready for review December 7, 2025 22:59
@paralin paralin force-pushed the improve-agents branch 3 times, most recently from 8293f2a to c941a2c Compare December 8, 2025 18:41
After working with the codebase using opencode a bit:

- Add guidance on regenerating SDK after schema changes
- Document type predicate pattern for filtering discriminated unions
- Discourage use of 'as' casts when TypeScript's type narrowing fails
- Add guidance to run prettier after changing code with ./script/format.ts
- .gitignore: exclude bun-build files

Significantly reduces errors in the output in my experience.

Signed-off-by: Christian Stewart <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants