From a0dbccd38c20668767e93e5610d8d30cae8af65a Mon Sep 17 00:00:00 2001 From: Ksenia Bobrova Date: Fri, 12 Dec 2025 15:05:46 +0100 Subject: [PATCH] Add repos toolset instructions --- pkg/github/instructions.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkg/github/instructions.go b/pkg/github/instructions.go index 3a5fb54bb..6dc658263 100644 --- a/pkg/github/instructions.go +++ b/pkg/github/instructions.go @@ -50,6 +50,11 @@ Tool usage guidance: // getToolsetInstructions returns specific instructions for individual toolsets func getToolsetInstructions(toolset string, enabledToolsets []string) string { switch toolset { + case "repos": + return `## Repositories + +Before updating an existing file, always call 'get_file_contents' to retrieve the SHA of the file blob. Use this SHA as the "sha" parameter in create_or_update_file tool call to avoid conflicts. + ` case "pull_requests": pullRequestInstructions := `## Pull Requests