docs(agents): add guidance to make working with opencode better#5215
Closed
paralin wants to merge 2 commits into
Closed
docs(agents): add guidance to make working with opencode better#5215paralin wants to merge 2 commits into
paralin wants to merge 2 commits into
Conversation
paralin
marked this pull request as ready for review
December 7, 2025 22:59
paralin
force-pushed
the
improve-agents
branch
3 times, most recently
from
December 8, 2025 18:41
8293f2a to
c941a2c
Compare
paralin
force-pushed
the
improve-agents
branch
2 times, most recently
from
December 8, 2025 20:29
639a3bf to
71d6831
Compare
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 <christian@aperture.us>
paralin
force-pushed
the
improve-agents
branch
from
December 12, 2025 19:26
71d6831 to
e0fe997
Compare
Contributor
Author
|
hey @jerome-benoit I'm still having good success w/ this on my dev branch. did you want any more changes / improvements? |
Contributor
No, thank you. You should ping someone in the opencode team to recall him/her that PR. |
opencode-agent
Bot
force-pushed
the
dev
branch
from
January 30, 2026 14:32
00637c0 to
71e0ba2
Compare
thdxr
force-pushed
the
dev
branch
3 times, most recently
from
January 30, 2026 14:37
f1ae801 to
08fa7f7
Compare
Contributor
|
Closing this pull request because it has had no updates for more than 60 days. If you plan to continue working on it, feel free to reopen or open a new PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
After working with the codebase using opencode a bit:
Significantly reduces errors in the output in my experience.