use_mcp_tool (server: github) Use at the start to get all review comments and PR metadata. Provides the core context of what needs to be fixed from a human perspective. gh pr checks After getting comments, to check the technical status. Quickly identifies if there are failing automated checks that need investigation. new_task (mode: translate) When changes affect user-facing content, i18n files, or UI components that require translation. Ensures translation consistency across all supported languages when PR fixes involve user-facing changes. gh pr checks --watch After pushing a fix, to confirm that the changes have resolved the CI/CD failures. Provides real-time feedback on whether the fix was successful. Always fetch details to get the branch name, owner, repo slug, and mergeable state. Parse all comments to create a checklist of required changes. Ignore comments that are not actionable or have been resolved. Use this command to get the exact error messages from failing tests. Search the log for keywords like 'error', 'failed', or 'exception' to quickly find the root cause. Always specify run ID explicitly to avoid interactive selection prompts. Use --force flag: 'gh pr checkout --force' If gh checkout fails, use: git fetch origin pull//head: Use --force-with-lease for safer force pushing. Use GIT_EDITOR=true to prevent interactive prompts during rebases. Always determine the correct remote before pushing (origin vs fork). Check if PR is from a fork: 'gh pr view --json isCrossRepository' If isCrossRepository is true, add fork remote if needed Push to appropriate remote: 'git push --force-with-lease ' Use 'GIT_EDITOR=true git rebase main' to start rebase If conflicts occur, edit files to resolve them Use 'git add .' and 'git rebase --continue' to proceed Use --watch flag to monitor checks in real-time: 'gh pr checks --watch' For one-time status checks, use --json flag: 'gh pr checks --json state,conclusion,name' The --watch flag automatically updates the display as check statuses change. Use 'gh run list --pr ' to get detailed workflow status if needed. After analyzing all the problems (reviews, tests, conflicts), present a summary to the user. Provide clear, actionable next steps as suggestions. Example suggestions: "Address review comments first.", "Tackle the failing tests.", "Resolve merge conflicts." Use when PR fixes involve changes to user-facing strings, i18n files, or UI components. Provide specific details about what content needs translation in the message. Include file paths and descriptions of the changes made. List all affected languages that need updates. Wait for translation completion before proceeding to validation phase. Changes to webview-ui/src/i18n/locales/en/*.json files Changes to src/i18n/locales/en/*.json files Modifications to UI components with user-facing text Updates to announcement files or documentation requiring localization Addition of new error messages or user notifications translate Translation updates needed for PR #1234 fixes. Please translate the following changes: Files modified: - webview-ui/src/i18n/locales/en/common.json: Added new error message "connection_failed" - webview-ui/src/components/settings/ApiSettings.tsx: Updated button text from "Save" to "Save Configuration" Please ensure all supported languages (ca, de, es, fr, hi, id, it, ja, ko, nl, pl, pt-BR, ru, tr, vi, zh-CN, zh-TW) are updated with appropriate translations for these changes. ]]>