Skip to content

Commit 6b273f5

Browse files
committed
update insttructions - #18
1 parent c62c5b9 commit 6b273f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/instructions/summary.instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ When in agent mode, and you are asked to create issues and comments to issues, p
1515

1616
When in agent mode and you ask to _annotate a comment on the current changeset to the issue_, extract the issue number directly from the terminal prompt shown in the `@terminal` context. Development branches are formatted as `(ISSUE_NUMBER-branch_name)` in the zsh prompt. For example, the prompt `vscode ➜ /workspaces/gh-tt (321-Update_summary_instructions) $` indicates you're working on issue 321.
1717

18-
Extract the issue number (the integer before the first hyphen in the branch name shown in parentheses) without running additional git commands like `git branch --show-current`.
18+
Extract the issue number (the integer before the first hyphen in the branch name shown in parentheses). If the full prompt with branch name is not visible in the `@terminal` context, run `git branch --show-current` to get the branch name, then extract the issue number from it. Do not ask for clarification—just get the information you need to proceed.
1919

2020
Let the summary serve as a work log note to future self and current colleagues. It should summarize the changes made in the branch we're working on since we left `main`, equivalent to `git diff main...HEAD --name-status && git diff main...HEAD`.
2121

0 commit comments

Comments
 (0)