[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M69A5NSV9S2FZK3CJRZF6P3J":3,"skill-same:01M69A5NSV9S2FZK3CJRZF6P3J":83},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":36,"linkOnly":37,"markdownContent":38,"markdownBody":39,"frontMatter":40,"refName":54,"commitSha":55,"skillDirectory":56,"forksCount":57,"repositoryHtmlUrl":58,"repositoryHomepageUrl":17,"ownerHtmlUrl":59,"ownerBlogUrl":60,"ownerDescription":61,"updatedAt":62,"install":63,"resources":76},"01M69A5NSV9S2FZK3CJRZF6P3J","qodo-pr-resolver","Qodo PR 问题审查修复","Review and resolve PR issues with Qodo - get AI-powered code review issues and fix them interactively (GitHub, GitLab, Bitbucket, Azure DevOps)","使用 Qodo 审查并解决 PR 问题——获取 AI 驱动的代码审查问题并以交互方式修复（支持 GitHub、GitLab、Bitbucket、Azure DevOps）。","microsoft\u002Famplifier-app-nanoclaw","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M69A31J3GTKVZDZZVPRQWWR5",5,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Famplifier-app-nanoclaw\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fqodo-pr-resolver\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BR5V701HCN066VEP7H4812","代码仓库协作管理","SCENARIO","使用场景",[31,32,33,34,35],"qodo pr resolver","code review","review","github","azure devops","2026-11-10 10:12:30",false,"---\nname: qodo-pr-resolver\ndescription: Review and resolve PR issues with Qodo - get AI-powered code review issues and fix them interactively (GitHub, GitLab, Bitbucket, Azure DevOps)\nversion: 0.3.0\ntriggers:\n  - qodo.?pr.?resolver\n  - pr.?resolver\n  - resolve.?pr\n  - qodo.?fix\n  - fix.?qodo\n  - qodo.?review\n  - review.?qodo\n  - qodo.?issues?\n  - show.?qodo\n  - get.?qodo\n  - qodo.?resolve\n---\n\n# Qodo PR Resolver\n\nFetch Qodo review issues for your current branch's PR\u002FMR, fix them interactively or in batch, and reply to each inline comment with the decision. Supports GitHub, GitLab, Bitbucket, and Azure DevOps.\n\n## Prerequisites\n\n### Required Tools:\n- **Git** - For branch operations\n- **Git Provider CLI** - One of: `gh` (GitHub), `glab` (GitLab), `bb` (Bitbucket), or `az` (Azure DevOps)\n\n**Installation and authentication details:** See [providers.md](.\u002Fresources\u002Fproviders.md) for provider-specific setup instructions.\n\n### Required Context:\n- Must be in a git repository\n- Repository must be hosted on a supported git provider (GitHub, GitLab, Bitbucket, or Azure DevOps)\n- Current branch must have an open PR\u002FMR\n- PR\u002FMR must have been reviewed by Qodo (pr-agent-pro bot, qodo-merge[bot], etc.)\n\n### Quick Check:\n```bash\ngit --version                                    # Check git installed\ngit remote get-url origin                        # Identify git provider\n```\n\nSee [providers.md](.\u002Fresources\u002Fproviders.md) for provider-specific verification commands.\n\n## Understanding Qodo Reviews\n\nQodo (formerly Codium AI) is an AI-powered code review tool that analyzes PRs\u002FMRs with compliance checks, bug detection, and code quality suggestions.\n\n### Bot Identifiers\nLook for comments from: **`pr-agent-pro`**, **`pr-agent-pro-staging`**, **`qodo-merge[bot]`**, **`qodo-ai[bot]`**\n\n### Review Comment Types\n1. **PR Compliance Guide** ? - Security\u002Fticket\u002Fcustom compliance with ?\u002F?\u002F?\u002F⚪ indicators\n2. **PR Code Suggestions** ✨ - Categorized improvements with importance ratings\n3. **Code Review by Qodo** - Structured issues with ?\u002F?\u002F? sections and agent prompts (most detailed)\n\n## Instructions\n\nWhen the user asks for a code review, to see Qodo issues, or fix Qodo comments:\n\n### Step 0: Check code push status\n\nCheck for uncommitted changes, unpushed commits, and get the current branch.\n\n#### Scenario A: Uncommitted changes exist\n\n- Inform: \"⚠️ You have uncommitted changes. These won't be included in the Qodo review.\"\n- Ask: \"Would you like to commit and push them first?\"\n- If yes: Wait for user action, then proceed to Step 1\n- If no: Warn \"Proceeding with review of pushed code only\" and continue to Step 1\n\n#### Scenario B: Unpushed commits exist\n\n(no uncommitted changes)\n\n- Inform: \"⚠️ You have N unpushed commits. Qodo hasn't reviewed them yet.\"\n- Ask: \"Would you like to push them now?\"\n- If yes: Execute `git push`, inform \"Pushed! Qodo will review shortly. Please wait ~5 minutes then run this skill again.\"\n- Exit skill (don't proceed - Qodo needs time to review)\n- If no: Warn \"Proceeding with existing PR review\" and continue to Step 1\n\n#### Scenario C: Everything pushed\n\n(both uncommitted changes and unpushed commits are empty)\n\n- Proceed to Step 1\n\n### Step 1: Detect git provider\n\nDetect git provider from the remote URL (`git remote get-url origin`).\n\nSee [providers.md](.\u002Fresources\u002Fproviders.md) for provider detection patterns.\n\n### Step 2: Find the open PR\u002FMR\n\nFind the open PR\u002FMR for this branch using the provider's CLI.\n\nSee [providers.md § Find Open PR\u002FMR](.\u002Fresources\u002Fproviders.md#find-open-prmr) for provider-specific commands.\n\n### Step 3: Get Qodo review comments\n\nGet the Qodo review comments using the provider's CLI.\n\nQodo typically posts both a **summary comment** (PR-level, containing all issues) and **inline review comments** (one per issue, attached to specific lines of code). You must fetch both.\n\nSee [providers.md § Fetch Review Comments](.\u002Fresources\u002Fproviders.md#fetch-review-comments) for provider-specific commands.\n\nLook for comments where the author is \"qodo-merge[bot]\", \"pr-agent-pro\", \"pr-agent-pro-staging\" or similar Qodo bot name.\n\n#### Step 3a: Check if review is still in progress\n\n- If any comment contains \"Come back again in a few minutes\" or \"An AI review agent is analysing this pull request\", the review is still running\n- In this case, inform the user: \"⏳ Qodo review is still in progress. Please wait a few minutes and try again.\"\n- Exit early - don't try to parse incomplete reviews\n\n#### Step 3b: Deduplicate issues\n\nDeduplicate issues across summary and inline comments:\n\n- Qodo posts each issue in two places: once in the **summary comment** (PR-level) and once as an **inline review comment** (attached to the specific code line). These will share the same issue title.\n- Qodo may also post multiple summary comments (Compliance Guide, Code Suggestions, Code Review, etc.) where issues can overlap with slightly different wording.\n- Deduplicate by matching on **issue title** (primary key - the same title means the same issue):\n  - If an issue appears in both the summary comment and as an inline comment, merge them into a single issue\n  - Prefer the **inline comment** for file location (it has the exact line context)\n  - Prefer the **summary comment** for severity, type, and agent prompt (it is more detailed)\n  - **IMPORTANT:** Preserve each issue's **inline review comment ID** — you will need it later (Step 8) to reply directly to that comment with the decision\n- Also deduplicate across multiple summary comments by location (file path + line numbers) as a secondary key\n- If the same issue appears in multiple places, combine the agent prompts\n\n### Step 4: Parse and display the issues\n\n- Extract the review body\u002Fcomments from Qodo's review\n- Parse out individual issues\u002Fsuggestions\n- **IMPORTANT: Preserve Qodo's exact issue titles verbatim** — do not rename, paraphrase, or summarize them. Use the title exactly as Qodo wrote it.\n- **IMPORTANT: Preserve Qodo's original ordering** — display issues in the same order Qodo listed them. Qodo already orders by severity.\n- Extract location, issue description, and suggested fix\n- Extract the agent prompt from Qodo's suggestion (the description of what needs to be fixed)\n\n#### Severity mapping\n\nDerive severity from Qodo's action level and position:\n\n1. **Action level determines severity range:**\n   - **\"Action required\"** issues → Can only be ? CRITICAL or ? HIGH\n   - **\"Review recommended\"** \u002F **\"Remediation recommended\"** issues → Can only be ? MEDIUM or ⚪ LOW\n   - **\"Other\"** \u002F **\"Advisory comments\"** issues → Always ⚪ LOW (lowest priority)\n\n2. **Qodo's position within each action level determines the specific severity:**\n   - Group issues by action level (\"Action required\" vs \"Review recommended\" vs \"Other\")\n   - Within \"Action required\" and \"Review recommended\" groups: earlier positions → higher severity, later positions → lower severity\n   - Split point: roughly first half of each group gets the higher severity, second half gets the lower\n   - All \"Other\" issues are treated as ⚪ LOW regardless of position\n\n**Example:** 7 \"Action required\" issues would be split as:\n- Issues 1-3: ? CRITICAL\n- Issues 4-7: ? HIGH\n- Result: No MEDIUM or LOW issues (because there are no \"Review recommended\" or \"Other\" issues)\n\n**Example:** 5 \"Action required\" + 3 \"Review recommended\" + 2 \"Other\" issues would be split as:\n- Issues 1-2 or 1-3: ? CRITICAL (first ~half of \"Action required\")\n- Issues 3-5 or 4-5: ? HIGH (second ~half of \"Action required\")\n- Issues 6-7: ? MEDIUM (first ~half of \"Review recommended\")\n- Issue 8: ⚪ LOW (second ~half of \"Review recommended\")\n- Issues 9-10: ⚪ LOW (all \"Other\" issues)\n\n**Action guidelines:**\n- ? CRITICAL \u002F ? HIGH (\"Action required\"): Always \"Fix\"\n- ? MEDIUM (\"Review recommended\"): Usually \"Fix\", can \"Defer\" if low impact\n- ⚪ LOW (\"Review recommended\" or \"Other\"): Can be \"Defer\" unless quick to fix; \"Other\" issues are lowest priority\n\n#### Output format\n\nDisplay as a markdown table in Qodo's exact original ordering (do NOT reorder by severity - Qodo's order IS the severity ranking):\n\n```\nQodo Issues for PR #123: [PR Title]\n\n| # | Severity | Issue Title | Issue Details | Type | Action |\n|---|----------|-------------|---------------|------|--------|\n| 1 | ? CRITICAL | Insecure authentication check | • **Location:** src\u002Fauth\u002Fservice.py:42\u003Cbr>\u003Cbr>• **Issue:** Authorization logic is inverted | ? Bug ⛨ Security | Fix |\n| 2 | ? CRITICAL | Missing input validation | • **Location:** src\u002Fapi\u002Fhandlers.py:156\u003Cbr>\u003Cbr>• **Issue:** User input not sanitized before database query | ? Rule violation ⛯ Reliability | Fix |\n| 3 | ? HIGH | Database query not awaited | • **Location:** src\u002Fdb\u002Frepository.py:89\u003Cbr>\u003Cbr>• **Issue:** Async call missing await keyword | ? Bug ✓ Correctness | Fix |\n```\n\n### Step 5: Ask user for fix preference\n\nAfter displaying the table, ask the user how they want to proceed using AskUserQuestion:\n\n**Options:**\n- ? \"Review each issue\" - Review and approve\u002Fdefer each issue individually (recommended for careful review)\n- ⚡ \"Auto-fix all\" - Automatically apply all fixes marked as \"Fix\" without individual approval (faster, but less control)\n- ❌ \"Cancel\" - Exit without making changes\n\n**Based on the user's choice:**\n- If \"Review each issue\": Proceed to Step 6 (manual review)\n- If \"Auto-fix all\": Skip to Step 7 (auto-fix mode - apply all \"Fix\" issues automatically using Qodo's agent prompts)\n- If \"Cancel\": Exit the skill\n\n### Step 6: Review and fix issues (manual mode)\n\nIf \"Review each issue\" was selected:\n\n- For each issue marked as \"Fix\" (starting with CRITICAL):\n  - Read the relevant file(s) to understand the current code\n  - Implement the fix by **executing the Qodo agent prompt as a direct instruction**. The agent prompt is the fix specification — follow it literally, do not reinterpret or improvise a different solution. Only deviate if the prompt is clearly outdated relative to the current code (e.g. references lines that no longer exist).\n  - Calculate the proposed fix in memory (DO NOT use Edit or Write tool yet)\n  - **Present the fix and ask for approval in a SINGLE step:**\n    1. Show a brief header with issue title and location\n    2. **Show Qodo's agent prompt in full** so the user can verify the fix matches it\n    3. Display current code snippet\n    4. Display proposed change as markdown diff\n    5. Immediately use AskUserQuestion with these options:\n       - ✅ \"Apply fix\" - Apply the proposed change\n       - ⏭️ \"Defer\" - Skip this issue (will prompt for reason)\n       - ? \"Modify\" - User wants to adjust the fix first\n  - **WAIT for user's choice via AskUserQuestion**\n  - **If \"Apply fix\" selected:**\n    - Apply change using Edit tool (or Write if creating new file)\n    - Reply to the Qodo inline comment with the decision (see Step 8 for inline reply commands)\n    - Git commit the fix: `git add \u003Cmodified-files> && git commit -m \"fix: \u003Cissue title>\"`\n    - Confirm: \"✅ Fix applied, commented, and committed!\"\n    - Mark issue as completed\n  - **If \"Defer\" selected:**\n    - Ask for deferral reason using AskUserQuestion\n    - Reply to the Qodo inline comment with the deferral (see Step 8 for inline reply commands)\n    - Record reason and move to next issue\n  - **If \"Modify\" selected:**\n    - Inform user they can make changes manually\n    - Move to next issue\n- Continue until all \"Fix\" issues are addressed or the user decides to stop\n\n#### Important notes\n\n**Single-step approval with AskUserQuestion:**\n- NO native Edit UI (no persistent permissions possible)\n- Each fix requires explicit approval via custom question\n- Clearer options, no risk of accidental auto-approval\n\n**CRITICAL:** Single validation only - do NOT show the diff separately and then ask. Combine the diff display and the question into ONE message. The user should see: brief context → current code → proposed diff → AskUserQuestion, all at once.\n\n**Example:** Show location, Qodo's guidance, current code, proposed diff, then AskUserQuestion with options (✅ Apply fix \u002F ⏭️ Defer \u002F ? Modify). Wait for user choice, apply via Edit tool if approved.\n\n### Step 7: Auto-fix mode\n\nIf \"Auto-fix all\" was selected:\n\n- For each issue marked as \"Fix\" (starting with CRITICAL):\n  - Read the relevant file(s) to understand the current code\n  - Implement the fix by **executing the Qodo agent prompt as a direct instruction**. The agent prompt is the fix specification — follow it literally, do not reinterpret or improvise a different solution. Only deviate if the prompt is clearly outdated relative to the current code (e.g. references lines that no longer exist).\n  - Apply the fix using Edit tool\n  - Reply to the Qodo inline comment with the decision (see Step 8 for inline reply commands)\n  - Git commit the fix: `git add \u003Cmodified-files> && git commit -m \"fix: \u003Cissue title>\"`\n  - Report each fix with the agent prompt that was followed:\n    > ✅ **Fixed: [Issue Title]** at `[Location]`\n    > **Agent prompt:** [the Qodo agent prompt used]\n  - Mark issue as completed\n- After all auto-fixes are applied, display summary:\n  - List of all issues that were fixed\n  - List of any issues that were skipped (with reasons)\n\n### Step 8: Post summary to PR\u002FMR\n\n**REQUIRED:** After all issues have been reviewed (fixed or deferred), ALWAYS post a comment summarizing the actions taken, even if all issues were deferred.\n\nSee [providers.md § Post Summary Comment](.\u002Fresources\u002Fproviders.md#post-summary-comment) for provider-specific commands and summary format.\n\n**After posting the summary, resolve the Qodo review comment:**\n\nFind the Qodo \"Code Review by Qodo\" comment and mark it as resolved or react to acknowledge it.\n\nSee [providers.md § Resolve Qodo Review Comment](.\u002Fresources\u002Fproviders.md#resolve-qodo-review-comment) for provider-specific commands.\n\nIf resolve fails (comment not found, API error), continue — the summary comment is the important part.\n\n### Step 9: Push to remote\n\nIf any fixes were applied (commits were created in Steps 6\u002F7), ask the user if they want to push:\n- If yes: `git push`\n- If no: Inform them they can push later with `git push`\n\n**Important:** If all issues were deferred, there are no commits to push — skip this step.\n\n### Special cases\n\n#### Unsupported git provider\n\nIf the remote URL doesn't match GitHub, GitLab, Bitbucket, or Azure DevOps, inform the user and exit.\n\nSee [providers.md § Error Handling](.\u002Fresources\u002Fproviders.md#error-handling) for details.\n\n#### No PR\u002FMR exists\n\n- Inform: \"No PR\u002FMR found for branch `\u003Cbranch-name>`\"\n- Ask: \"Would you like me to create a PR\u002FMR?\"\n- If yes: Use appropriate CLI to create PR\u002FMR (see [providers.md § Create PR\u002FMR](.\u002Fresources\u002Fproviders.md#create-prmr-special-case)), then inform \"PR created! Qodo will review it shortly. Run this skill again in ~5 minutes.\"\n- If no: Exit skill\n\n**IMPORTANT:** Do NOT proceed without a PR\u002FMR\n\n#### No Qodo review yet\n\n- Check if PR\u002FMR has comments from Qodo bots (pr-agent-pro, qodo-merge[bot], etc.)\n- If no Qodo comments found: Inform \"Qodo hasn't reviewed this PR\u002FMR yet. Please wait a few minutes for Qodo to analyze it.\"\n- Exit skill (do NOT attempt manual review)\n\n**IMPORTANT:** This skill only works with Qodo reviews, not manual reviews\n\n#### Review in progress\n\nIf \"Come back again in a few minutes\" message is found, inform user to wait and try again, then exit.\n\n#### Missing CLI tool\n\nIf the detected provider's CLI is not installed, provide installation instructions and exit.\n\nSee [providers.md § Error Handling](.\u002Fresources\u002Fproviders.md#error-handling) for provider-specific installation commands.\n\n#### Inline reply commands\n\nUsed per-issue in Steps 6 and 7 to reply to Qodo's inline comments:\n\nUse the inline comment ID preserved during deduplication (Step 3b) to reply directly to Qodo's comment.\n\nSee [providers.md § Reply to Inline Comments](.\u002Fresources\u002Fproviders.md#reply-to-inline-comments) for provider-specific commands and reply format.\n\nKeep replies short (one line). If a reply fails, log it and continue.\n","# Qodo PR Resolver\n\nFetch Qodo review issues for your current branch's PR\u002FMR, fix them interactively or in batch, and reply to each inline comment with the decision. Supports GitHub, GitLab, Bitbucket, and Azure DevOps.\n\n## Prerequisites\n\n### Required Tools:\n- **Git** - For branch operations\n- **Git Provider CLI** - One of: `gh` (GitHub), `glab` (GitLab), `bb` (Bitbucket), or `az` (Azure DevOps)\n\n**Installation and authentication details:** See [providers.md](.\u002Fresources\u002Fproviders.md) for provider-specific setup instructions.\n\n### Required Context:\n- Must be in a git repository\n- Repository must be hosted on a supported git provider (GitHub, GitLab, Bitbucket, or Azure DevOps)\n- Current branch must have an open PR\u002FMR\n- PR\u002FMR must have been reviewed by Qodo (pr-agent-pro bot, qodo-merge[bot], etc.)\n\n### Quick Check:\n```bash\ngit --version                                    # Check git installed\ngit remote get-url origin                        # Identify git provider\n```\n\nSee [providers.md](.\u002Fresources\u002Fproviders.md) for provider-specific verification commands.\n\n## Understanding Qodo Reviews\n\nQodo (formerly Codium AI) is an AI-powered code review tool that analyzes PRs\u002FMRs with compliance checks, bug detection, and code quality suggestions.\n\n### Bot Identifiers\nLook for comments from: **`pr-agent-pro`**, **`pr-agent-pro-staging`**, **`qodo-merge[bot]`**, **`qodo-ai[bot]`**\n\n### Review Comment Types\n1. **PR Compliance Guide** ? - Security\u002Fticket\u002Fcustom compliance with ?\u002F?\u002F?\u002F⚪ indicators\n2. **PR Code Suggestions** ✨ - Categorized improvements with importance ratings\n3. **Code Review by Qodo** - Structured issues with ?\u002F?\u002F? sections and agent prompts (most detailed)\n\n## Instructions\n\nWhen the user asks for a code review, to see Qodo issues, or fix Qodo comments:\n\n### Step 0: Check code push status\n\nCheck for uncommitted changes, unpushed commits, and get the current branch.\n\n#### Scenario A: Uncommitted changes exist\n\n- Inform: \"⚠️ You have uncommitted changes. These won't be included in the Qodo review.\"\n- Ask: \"Would you like to commit and push them first?\"\n- If yes: Wait for user action, then proceed to Step 1\n- If no: Warn \"Proceeding with review of pushed code only\" and continue to Step 1\n\n#### Scenario B: Unpushed commits exist\n\n(no uncommitted changes)\n\n- Inform: \"⚠️ You have N unpushed commits. Qodo hasn't reviewed them yet.\"\n- Ask: \"Would you like to push them now?\"\n- If yes: Execute `git push`, inform \"Pushed! Qodo will review shortly. Please wait ~5 minutes then run this skill again.\"\n- Exit skill (don't proceed - Qodo needs time to review)\n- If no: Warn \"Proceeding with existing PR review\" and continue to Step 1\n\n#### Scenario C: Everything pushed\n\n(both uncommitted changes and unpushed commits are empty)\n\n- Proceed to Step 1\n\n### Step 1: Detect git provider\n\nDetect git provider from the remote URL (`git remote get-url origin`).\n\nSee [providers.md](.\u002Fresources\u002Fproviders.md) for provider detection patterns.\n\n### Step 2: Find the open PR\u002FMR\n\nFind the open PR\u002FMR for this branch using the provider's CLI.\n\nSee [providers.md § Find Open PR\u002FMR](.\u002Fresources\u002Fproviders.md#find-open-prmr) for provider-specific commands.\n\n### Step 3: Get Qodo review comments\n\nGet the Qodo review comments using the provider's CLI.\n\nQodo typically posts both a **summary comment** (PR-level, containing all issues) and **inline review comments** (one per issue, attached to specific lines of code). You must fetch both.\n\nSee [providers.md § Fetch Review Comments](.\u002Fresources\u002Fproviders.md#fetch-review-comments) for provider-specific commands.\n\nLook for comments where the author is \"qodo-merge[bot]\", \"pr-agent-pro\", \"pr-agent-pro-staging\" or similar Qodo bot name.\n\n#### Step 3a: Check if review is still in progress\n\n- If any comment contains \"Come back again in a few minutes\" or \"An AI review agent is analysing this pull request\", the review is still running\n- In this case, inform the user: \"⏳ Qodo review is still in progress. Please wait a few minutes and try again.\"\n- Exit early - don't try to parse incomplete reviews\n\n#### Step 3b: Deduplicate issues\n\nDeduplicate issues across summary and inline comments:\n\n- Qodo posts each issue in two places: once in the **summary comment** (PR-level) and once as an **inline review comment** (attached to the specific code line). These will share the same issue title.\n- Qodo may also post multiple summary comments (Compliance Guide, Code Suggestions, Code Review, etc.) where issues can overlap with slightly different wording.\n- Deduplicate by matching on **issue title** (primary key - the same title means the same issue):\n  - If an issue appears in both the summary comment and as an inline comment, merge them into a single issue\n  - Prefer the **inline comment** for file location (it has the exact line context)\n  - Prefer the **summary comment** for severity, type, and agent prompt (it is more detailed)\n  - **IMPORTANT:** Preserve each issue's **inline review comment ID** — you will need it later (Step 8) to reply directly to that comment with the decision\n- Also deduplicate across multiple summary comments by location (file path + line numbers) as a secondary key\n- If the same issue appears in multiple places, combine the agent prompts\n\n### Step 4: Parse and display the issues\n\n- Extract the review body\u002Fcomments from Qodo's review\n- Parse out individual issues\u002Fsuggestions\n- **IMPORTANT: Preserve Qodo's exact issue titles verbatim** — do not rename, paraphrase, or summarize them. Use the title exactly as Qodo wrote it.\n- **IMPORTANT: Preserve Qodo's original ordering** — display issues in the same order Qodo listed them. Qodo already orders by severity.\n- Extract location, issue description, and suggested fix\n- Extract the agent prompt from Qodo's suggestion (the description of what needs to be fixed)\n\n#### Severity mapping\n\nDerive severity from Qodo's action level and position:\n\n1. **Action level determines severity range:**\n   - **\"Action required\"** issues → Can only be ? CRITICAL or ? HIGH\n   - **\"Review recommended\"** \u002F **\"Remediation recommended\"** issues → Can only be ? MEDIUM or ⚪ LOW\n   - **\"Other\"** \u002F **\"Advisory comments\"** issues → Always ⚪ LOW (lowest priority)\n\n2. **Qodo's position within each action level determines the specific severity:**\n   - Group issues by action level (\"Action required\" vs \"Review recommended\" vs \"Other\")\n   - Within \"Action required\" and \"Review recommended\" groups: earlier positions → higher severity, later positions → lower severity\n   - Split point: roughly first half of each group gets the higher severity, second half gets the lower\n   - All \"Other\" issues are treated as ⚪ LOW regardless of position\n\n**Example:** 7 \"Action required\" issues would be split as:\n- Issues 1-3: ? CRITICAL\n- Issues 4-7: ? HIGH\n- Result: No MEDIUM or LOW issues (because there are no \"Review recommended\" or \"Other\" issues)\n\n**Example:** 5 \"Action required\" + 3 \"Review recommended\" + 2 \"Other\" issues would be split as:\n- Issues 1-2 or 1-3: ? CRITICAL (first ~half of \"Action required\")\n- Issues 3-5 or 4-5: ? HIGH (second ~half of \"Action required\")\n- Issues 6-7: ? MEDIUM (first ~half of \"Review recommended\")\n- Issue 8: ⚪ LOW (second ~half of \"Review recommended\")\n- Issues 9-10: ⚪ LOW (all \"Other\" issues)\n\n**Action guidelines:**\n- ? CRITICAL \u002F ? HIGH (\"Action required\"): Always \"Fix\"\n- ? MEDIUM (\"Review recommended\"): Usually \"Fix\", can \"Defer\" if low impact\n- ⚪ LOW (\"Review recommended\" or \"Other\"): Can be \"Defer\" unless quick to fix; \"Other\" issues are lowest priority\n\n#### Output format\n\nDisplay as a markdown table in Qodo's exact original ordering (do NOT reorder by severity - Qodo's order IS the severity ranking):\n\n```\nQodo Issues for PR #123: [PR Title]\n\n| # | Severity | Issue Title | Issue Details | Type | Action |\n|---|----------|-------------|---------------|------|--------|\n| 1 | ? CRITICAL | Insecure authentication check | • **Location:** src\u002Fauth\u002Fservice.py:42\u003Cbr>\u003Cbr>• **Issue:** Authorization logic is inverted | ? Bug ⛨ Security | Fix |\n| 2 | ? CRITICAL | Missing input validation | • **Location:** src\u002Fapi\u002Fhandlers.py:156\u003Cbr>\u003Cbr>• **Issue:** User input not sanitized before database query | ? Rule violation ⛯ Reliability | Fix |\n| 3 | ? HIGH | Database query not awaited | • **Location:** src\u002Fdb\u002Frepository.py:89\u003Cbr>\u003Cbr>• **Issue:** Async call missing await keyword | ? Bug ✓ Correctness | Fix |\n```\n\n### Step 5: Ask user for fix preference\n\nAfter displaying the table, ask the user how they want to proceed using AskUserQuestion:\n\n**Options:**\n- ? \"Review each issue\" - Review and approve\u002Fdefer each issue individually (recommended for careful review)\n- ⚡ \"Auto-fix all\" - Automatically apply all fixes marked as \"Fix\" without individual approval (faster, but less control)\n- ❌ \"Cancel\" - Exit without making changes\n\n**Based on the user's choice:**\n- If \"Review each issue\": Proceed to Step 6 (manual review)\n- If \"Auto-fix all\": Skip to Step 7 (auto-fix mode - apply all \"Fix\" issues automatically using Qodo's agent prompts)\n- If \"Cancel\": Exit the skill\n\n### Step 6: Review and fix issues (manual mode)\n\nIf \"Review each issue\" was selected:\n\n- For each issue marked as \"Fix\" (starting with CRITICAL):\n  - Read the relevant file(s) to understand the current code\n  - Implement the fix by **executing the Qodo agent prompt as a direct instruction**. The agent prompt is the fix specification — follow it literally, do not reinterpret or improvise a different solution. Only deviate if the prompt is clearly outdated relative to the current code (e.g. references lines that no longer exist).\n  - Calculate the proposed fix in memory (DO NOT use Edit or Write tool yet)\n  - **Present the fix and ask for approval in a SINGLE step:**\n    1. Show a brief header with issue title and location\n    2. **Show Qodo's agent prompt in full** so the user can verify the fix matches it\n    3. Display current code snippet\n    4. Display proposed change as markdown diff\n    5. Immediately use AskUserQuestion with these options:\n       - ✅ \"Apply fix\" - Apply the proposed change\n       - ⏭️ \"Defer\" - Skip this issue (will prompt for reason)\n       - ? \"Modify\" - User wants to adjust the fix first\n  - **WAIT for user's choice via AskUserQuestion**\n  - **If \"Apply fix\" selected:**\n    - Apply change using Edit tool (or Write if creating new file)\n    - Reply to the Qodo inline comment with the decision (see Step 8 for inline reply commands)\n    - Git commit the fix: `git add \u003Cmodified-files> && git commit -m \"fix: \u003Cissue title>\"`\n    - Confirm: \"✅ Fix applied, commented, and committed!\"\n    - Mark issue as completed\n  - **If \"Defer\" selected:**\n    - Ask for deferral reason using AskUserQuestion\n    - Reply to the Qodo inline comment with the deferral (see Step 8 for inline reply commands)\n    - Record reason and move to next issue\n  - **If \"Modify\" selected:**\n    - Inform user they can make changes manually\n    - Move to next issue\n- Continue until all \"Fix\" issues are addressed or the user decides to stop\n\n#### Important notes\n\n**Single-step approval with AskUserQuestion:**\n- NO native Edit UI (no persistent permissions possible)\n- Each fix requires explicit approval via custom question\n- Clearer options, no risk of accidental auto-approval\n\n**CRITICAL:** Single validation only - do NOT show the diff separately and then ask. Combine the diff display and the question into ONE message. The user should see: brief context → current code → proposed diff → AskUserQuestion, all at once.\n\n**Example:** Show location, Qodo's guidance, current code, proposed diff, then AskUserQuestion with options (✅ Apply fix \u002F ⏭️ Defer \u002F ? Modify). Wait for user choice, apply via Edit tool if approved.\n\n### Step 7: Auto-fix mode\n\nIf \"Auto-fix all\" was selected:\n\n- For each issue marked as \"Fix\" (starting with CRITICAL):\n  - Read the relevant file(s) to understand the current code\n  - Implement the fix by **executing the Qodo agent prompt as a direct instruction**. The agent prompt is the fix specification — follow it literally, do not reinterpret or improvise a different solution. Only deviate if the prompt is clearly outdated relative to the current code (e.g. references lines that no longer exist).\n  - Apply the fix using Edit tool\n  - Reply to the Qodo inline comment with the decision (see Step 8 for inline reply commands)\n  - Git commit the fix: `git add \u003Cmodified-files> && git commit -m \"fix: \u003Cissue title>\"`\n  - Report each fix with the agent prompt that was followed:\n    > ✅ **Fixed: [Issue Title]** at `[Location]`\n    > **Agent prompt:** [the Qodo agent prompt used]\n  - Mark issue as completed\n- After all auto-fixes are applied, display summary:\n  - List of all issues that were fixed\n  - List of any issues that were skipped (with reasons)\n\n### Step 8: Post summary to PR\u002FMR\n\n**REQUIRED:** After all issues have been reviewed (fixed or deferred), ALWAYS post a comment summarizing the actions taken, even if all issues were deferred.\n\nSee [providers.md § Post Summary Comment](.\u002Fresources\u002Fproviders.md#post-summary-comment) for provider-specific commands and summary format.\n\n**After posting the summary, resolve the Qodo review comment:**\n\nFind the Qodo \"Code Review by Qodo\" comment and mark it as resolved or react to acknowledge it.\n\nSee [providers.md § Resolve Qodo Review Comment](.\u002Fresources\u002Fproviders.md#resolve-qodo-review-comment) for provider-specific commands.\n\nIf resolve fails (comment not found, API error), continue — the summary comment is the important part.\n\n### Step 9: Push to remote\n\nIf any fixes were applied (commits were created in Steps 6\u002F7), ask the user if they want to push:\n- If yes: `git push`\n- If no: Inform them they can push later with `git push`\n\n**Important:** If all issues were deferred, there are no commits to push — skip this step.\n\n### Special cases\n\n#### Unsupported git provider\n\nIf the remote URL doesn't match GitHub, GitLab, Bitbucket, or Azure DevOps, inform the user and exit.\n\nSee [providers.md § Error Handling](.\u002Fresources\u002Fproviders.md#error-handling) for details.\n\n#### No PR\u002FMR exists\n\n- Inform: \"No PR\u002FMR found for branch `\u003Cbranch-name>`\"\n- Ask: \"Would you like me to create a PR\u002FMR?\"\n- If yes: Use appropriate CLI to create PR\u002FMR (see [providers.md § Create PR\u002FMR](.\u002Fresources\u002Fproviders.md#create-prmr-special-case)), then inform \"PR created! Qodo will review it shortly. Run this skill again in ~5 minutes.\"\n- If no: Exit skill\n\n**IMPORTANT:** Do NOT proceed without a PR\u002FMR\n\n#### No Qodo review yet\n\n- Check if PR\u002FMR has comments from Qodo bots (pr-agent-pro, qodo-merge[bot], etc.)\n- If no Qodo comments found: Inform \"Qodo hasn't reviewed this PR\u002FMR yet. Please wait a few minutes for Qodo to analyze it.\"\n- Exit skill (do NOT attempt manual review)\n\n**IMPORTANT:** This skill only works with Qodo reviews, not manual reviews\n\n#### Review in progress\n\nIf \"Come back again in a few minutes\" message is found, inform user to wait and try again, then exit.\n\n#### Missing CLI tool\n\nIf the detected provider's CLI is not installed, provide installation instructions and exit.\n\nSee [providers.md § Error Handling](.\u002Fresources\u002Fproviders.md#error-handling) for provider-specific installation commands.\n\n#### Inline reply commands\n\nUsed per-issue in Steps 6 and 7 to reply to Qodo's inline comments:\n\nUse the inline comment ID preserved during deduplication (Step 3b) to reply directly to Qodo's comment.\n\nSee [providers.md § Reply to Inline Comments](.\u002Fresources\u002Fproviders.md#reply-to-inline-comments) for provider-specific commands and reply format.\n\nKeep replies short (one line). If a reply fails, log it and continue.\n",{"name":5,"version":41,"triggers":42,"description":7},"0.3.0",[43,44,45,46,47,48,49,50,51,52,53],"qodo.?pr.?resolver","pr.?resolver","resolve.?pr","qodo.?fix","fix.?qodo","qodo.?review","review.?qodo","qodo.?issues?","show.?qodo","get.?qodo","qodo.?resolve","main","85a2d934766d21e4696ac1b00157179f28bca9e3",".claude\u002Fskills\u002Fqodo-pr-resolver",2,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Famplifier-app-nanoclaw","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-10-30 04:24:16",{"source":9,"skillName":5,"commands":64,"prompt":74,"zipAvailable":75},[65,68,71],{"tool":66,"command":67},"npx","npx skills add microsoft\u002Famplifier-app-nanoclaw --skill qodo-pr-resolver",{"tool":69,"command":70},"bunx","bunx skills add microsoft\u002Famplifier-app-nanoclaw --skill qodo-pr-resolver",{"tool":72,"command":73},"pnpm","pnpm dlx skills add microsoft\u002Famplifier-app-nanoclaw --skill qodo-pr-resolver","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Famplifier-app-nanoclaw\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fqodo-pr-resolver\u002FSKILL.md",true,[77],{"path":78,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":81,"sourceHtmlUrl":82},"resources\u002Fproviders.md","REFERENCE","参考文档",6861,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Famplifier-app-nanoclaw\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fqodo-pr-resolver\u002Fresources\u002Fproviders.md",[84,101,114,131,144,162],{"skillNo":85,"name":86,"nameZh":87,"description":88,"descriptionZh":89,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":90,"categories":91,"keywords":98,"publishedAt":36},"01M69A6E27JZN10H82TZ2GMC3A","whatsapp-formatting","WhatsApp 消息格式化","Format messages for WhatsApp, including mentions that render as real WhatsApp tags. Use when responding in a WhatsApp conversation (platform_id \u002F chatJid ends with @s.whatsapp.net or @g.us).","为 WhatsApp 格式化消息，包括可渲染为真实 WhatsApp 标签的提及（mention）。在 WhatsApp 对话中回复时使用（platform_id \u002F chatJid 以 @s.whatsapp.net 或 @g.us 结尾）。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Famplifier-app-nanoclaw\u002Fblob\u002Fmain\u002Fcontainer\u002Fskills\u002Fwhatsapp-formatting\u002FSKILL.md",[92,95],{"categoryNo":93,"categoryName":94,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BREN0B06CC08183RHQ4ETG","即时通讯与消息处理",{"categoryNo":96,"categoryName":97,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BS5011KJDVSRXG1DC4P666","普通用户",[99,100],"whatsapp","whatsapp formatting",{"skillNo":102,"name":103,"nameZh":104,"description":105,"descriptionZh":106,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":107,"categories":108,"keywords":113,"publishedAt":36},"01M69A6CGJ968RNVGYTRSWZKWB","welcome","新频道欢迎引导","Introduce yourself to a newly connected channel. Triggered automatically when a channel is first wired. Send a friendly greeting and brief overview of what you can do.","向新连接的频道介绍自己。当频道首次接入时自动触发。发送友好的问候和简要的功能概述。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Famplifier-app-nanoclaw\u002Fblob\u002Fmain\u002Fcontainer\u002Fskills\u002Fwelcome\u002FSKILL.md",[109,112],{"categoryNo":110,"categoryName":111,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TPX3VFVPP2WMQ6F0159","内部沟通专员",{"categoryNo":93,"categoryName":94,"taxonomyType":28,"taxonomyTypeDesc":29},[103],{"skillNo":115,"name":116,"nameZh":117,"description":118,"descriptionZh":119,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":120,"categories":121,"keywords":126,"publishedAt":36},"01M69A6ADX690STSN63WKRD37K","vercel-cli","Vercel 应用部署","Deploy apps to Vercel. Use when asked to deploy, ship, or publish a web application, or manage Vercel projects, domains, and environment variables.","将应用部署到 Vercel。当用户要求部署、发布 Web 应用，或管理 Vercel 项目、域名和环境变量时使用。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Famplifier-app-nanoclaw\u002Fblob\u002Fmain\u002Fcontainer\u002Fskills\u002Fvercel-cli\u002FSKILL.md",[122,123],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":124,"categoryName":125,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQNXPY1AV6BSR5VKHDMWRH","部署与发布管理",[127,128,129,130],"cli","vercel cli","web","deploy",{"skillNo":132,"name":133,"nameZh":134,"description":135,"descriptionZh":136,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":137,"categories":138,"keywords":141,"publishedAt":36},"01M69A68WJ94V4MXGXGK9T0QG7","slack-formatting","Slack 消息格式化","Format messages for Slack using mrkdwn syntax. Use when responding to Slack channels (folder starts with \"slack_\" or JID contains slack identifiers).","使用 mrkdwn 语法为 Slack 格式化消息。当回复 Slack 频道时使用（文件夹以“slack_”开头，或 JID 包含 slack 标识符）。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Famplifier-app-nanoclaw\u002Fblob\u002Fmain\u002Fcontainer\u002Fskills\u002Fslack-formatting\u002FSKILL.md",[139,140],{"categoryNo":110,"categoryName":111,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":93,"categoryName":94,"taxonomyType":28,"taxonomyTypeDesc":29},[142,143],"slack","slack formatting",{"skillNo":145,"name":146,"nameZh":147,"description":148,"descriptionZh":149,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":150,"categories":151,"keywords":158,"publishedAt":36},"01M69A673Z17TDXK3DBC5YJFM7","self-customize","智能体自我定制","Customize your own agent — add capabilities, install packages, add MCP servers, edit code or CLAUDE.md. Use when the user asks you to add a feature, install a tool, or modify how you work. For non-trivial code changes, delegate to a builder agent via create_agent.","定制你自己的智能体——添加能力、安装包、添加 MCP 服务器、编辑代码或 CLAUDE.md。当用户要求你添加功能、安装工具或修改工作方式时使用。对于非平凡的代码改动，请通过 create_agent 委派给构建智能体处理。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Famplifier-app-nanoclaw\u002Fblob\u002Fmain\u002Fcontainer\u002Fskills\u002Fself-customize\u002FSKILL.md",[152,155],{"categoryNo":153,"categoryName":154,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BRZZF9D7PVFN5MXSPWWD61","AI 工程师",{"categoryNo":156,"categoryName":157,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSAA4FBTWZP6X98STEHG99","智能体开发",[159,160,161],"customize","self customize","MCP",{"skillNo":163,"name":164,"nameZh":165,"description":166,"descriptionZh":167,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":168,"categories":169,"keywords":176,"publishedAt":36},"01M69A657JFNEG45Z1Y05BVK5R","onecli-gateway","OneCLI 网关凭证代理","OneCLI Gateway: transparent HTTPS proxy that injects stored credentials into outbound calls. You MUST use this skill when the user asks you to read emails, check calendar, access GitHub repos, create issues, check Stripe payments, or interact with ANY external service or API. Do NOT use browser extensions or OAuth CLI tools. Make HTTP requests directly; the gateway injects credentials automatically.","OneCLI 网关：一种透明的 HTTPS 代理，可将存储的凭证注入到对外调用中。当用户要求读取电子邮件、查看日历、访问 GitHub 仓库、创建 issue、检查 Stripe 付款，或与任何外部服务或 API 交互时，你必须使用本技能。不要使用浏览器扩展或 OAuth CLI 工具。直接发起 HTTP 请求；网关会自动注入凭证。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Famplifier-app-nanoclaw\u002Fblob\u002Fmain\u002Fcontainer\u002Fskills\u002Fonecli-gateway\u002FSKILL.md",[170,173],{"categoryNo":171,"categoryName":172,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BR4MYFKGCC4WCWVJ50KJ2C","安全工程师",{"categoryNo":174,"categoryName":175,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BS1P5QP54ZNEBFHBTV293T","API 网关配置与管理",[177,127,34,178],"onecli gateway","repos"]