Open
Conversation
Contributor
There was a problem hiding this comment.
main, but PRs should target staged.
The main branch is auto-published from staged and should not receive direct PRs.
Please close this PR and re-open it against the staged branch.
You can change the base branch using the Edit button at the top of this PR,
or run: gh pr edit 1393 --base staged
8f5e9c2 to
aa8acb0
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the Go copilot-sdk cookbook examples to align with newer SDK APIs and newer model identifiers, and removes an unused Go checksum file.
Changes:
- Update example session lifecycle calls (e.g.,
Destroy()→Disconnect()) and event handling to newer SDK types. - Refresh model names used across Go recipes and their rendered markdown docs.
- Remove a dangling
cookbook/copilot-sdk/go.sumfile.
Reviewed changes
Copilot reviewed 14 out of 15 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| cookbook/copilot-sdk/go/recipe/ralph-loop.go | Updates model name and session/event APIs for the runnable recipe. |
| cookbook/copilot-sdk/go/recipe/pr-visualization.go | Updates model name and event handling to newer typed event data. |
| cookbook/copilot-sdk/go/recipe/persisting-sessions.go | Updates model name, session cleanup, and ListSessions call signature. |
| cookbook/copilot-sdk/go/recipe/multiple-sessions.go | Updates models and session cleanup calls. |
| cookbook/copilot-sdk/go/recipe/managing-local-files.go | Updates model, session cleanup, and typed event handling. |
| cookbook/copilot-sdk/go/recipe/error-handling.go | Updates model, session cleanup, and typed message extraction. |
| cookbook/copilot-sdk/go/recipe/accessibility-report.go | Updates session config/event typing and MCP server configuration approach. |
| cookbook/copilot-sdk/go/ralph-loop.md | Keeps documentation in sync with updated recipe APIs/models. |
| cookbook/copilot-sdk/go/pr-visualization.md | Keeps documentation in sync with updated recipe APIs/models. |
| cookbook/copilot-sdk/go/persisting-sessions.md | Keeps documentation in sync with updated recipe APIs/models and ListSessions signature. |
| cookbook/copilot-sdk/go/multiple-sessions.md | Keeps documentation in sync with updated recipe APIs/models. |
| cookbook/copilot-sdk/go/managing-local-files.md | Keeps documentation in sync with updated recipe APIs/models and typed event data. |
| cookbook/copilot-sdk/go/error-handling.md | Keeps documentation in sync with updated recipe APIs/models and typed message extraction. |
| cookbook/copilot-sdk/go/accessibility-report.md | Keeps documentation in sync with updated recipe APIs/models and MCP server configuration. |
| cookbook/copilot-sdk/go.sum | Removes an unused checksum file in a directory without a Go module. |
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
aa8acb0 to
1ef5f71
Compare
Contributor
🔍 Skill Validator Results⛔ Findings need attention
Summary
Full validator output```text Found 1 skill(s) [copilot-sdk] 📊 copilot-sdk: 5,749 BPE tokens [chars/4: 6,042] (comprehensive ✗), 63 sections, 41 code blocks ❌ [copilot-sdk] SKILL.md body is 910 lines — maximum is 500. Move detailed reference material to separate files. [copilot-sdk] ⚠ Skill is 5,749 BPE tokens (chars/4 estimate: 6,042) — "comprehensive" skills hurt performance by 2.9pp on average. Consider splitting into 2–3 focused skills. {Ansi.Red}Skill spec conformance failures — fix the errors above.{Ansi.Reset} ``` |
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.
Pull Request Checklist
npm startand verified thatREADME.mdis up to date.stagedbranch for this pull request.Description
Updated the Go copilot-sdk examples to the latest version, as well as changed the models to latest versions.
Updated the copilot sdk skill as well, as it the MCP configuration in there was incorrect.
Also removed a seemingly dangling
go.sumfile.Type of Contribution
Additional Notes
By submitting this pull request, I confirm that my contribution abides by the Code of Conduct and will be licensed under the MIT License.