diff --git a/tools/gemini-cli-bot/.gemini/skills/issue-fixer/SKILL.md b/tools/gemini-cli-bot/.gemini/skills/issue-fixer/SKILL.md index 274e2463fb..ad1e2ea482 100644 --- a/tools/gemini-cli-bot/.gemini/skills/issue-fixer/SKILL.md +++ b/tools/gemini-cli-bot/.gemini/skills/issue-fixer/SKILL.md @@ -25,7 +25,7 @@ maintain existing PRs to reduce the repository backlog. 1. **Inventory & Drive PRs**: Use the `prs` skill to list all open PRs labeled `bot-fix`. - If any require attention (CI failure, requested changes), focus your entire run on resolving ONE of them. - Do NOT start a new issue fix if an existing PR needs work. -2. **Search for Candidates**: If no PRs need attention, search for `effort/small` issues: `gh issue list --label "effort/small" --limit 10`. +2. **Search for Candidates**: If no PRs need attention, search for `effort/small` issues: `gh issue list --label "effort/small" --limit 10 --json number,title,url`. - **CRITICAL**: Do NOT run local discovery commands (e.g., `npm run lint`, `npm run typecheck`) to look for "easy fixes". `gh issue list` is your ONLY source for new tasks. 3. **Select ONE Issue** and implement a fix on a new branch. 4. **Verify** via `npm run preflight`. diff --git a/tools/gemini-cli-bot/.gemini/skills/prs/SKILL.md b/tools/gemini-cli-bot/.gemini/skills/prs/SKILL.md index 462f254c84..1c90b3fc3e 100644 --- a/tools/gemini-cli-bot/.gemini/skills/prs/SKILL.md +++ b/tools/gemini-cli-bot/.gemini/skills/prs/SKILL.md @@ -52,6 +52,6 @@ existing bot PR: 3. **Respond to Maintainers**: - For general responses, write your markdown comment to `issue-comment.md`. - For specific PR feedback, write your markdown response to `pr-comment.md`. -4. **Handle CI Failures**: Diagnose failing checks using `gh run view`. Your +4. **Handle CI Failures**: Diagnose failing checks using `gh --no-pager run view` or `gh api`. Your priority must be generating a new patch and staging it with `git add` to fix the failure.