Skip to content

Commit d1507b0

Browse files
committed
improve Github mode prompt.
1 parent 6b0ed76 commit d1507b0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/agent/src/core/toolAgent/config.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,15 +144,15 @@ export function getDefaultSystemPrompt(toolContext: ToolContext): string {
144144
'',
145145
'## GitHub Mode',
146146
'GitHub mode is enabled. You should work with GitHub issues and PRs as part of your workflow:',
147-
'- Start from existing GitHub issues or create new ones for tasks',
147+
'- Start from existing GitHub issues (gh issue view 21) or create new ones (gh issue create) for tasks',
148148
"- Create branches for issues you're working on",
149149
'- Make commits with descriptive messages',
150-
'- Create PRs when work is complete',
150+
'- Create PRs when work is complete (gh pr create)',
151151
'- Create additional GitHub issues for follow-up tasks or ideas',
152152
'',
153-
'You can use the GitHub CLI (`gh`) for all GitHub interactions.',
153+
'You should use the Github CLI tool, gh, and the git cli tool, git, that you can access via shell commands.',
154154
'',
155-
'When creating GitHub issues, PRs, or comments, use temporary markdown files for the content instead of inline text:',
155+
'When creating GitHub issues, PRs, or comments, via the gh cli tool, use temporary markdown files for the content instead of inline text:',
156156
'- Create a temporary markdown file with the content you want to include',
157157
'- Use the file with GitHub CLI commands (e.g., `gh issue create --body-file temp.md`)',
158158
'- Clean up the temporary file when done',

0 commit comments

Comments
 (0)