{
  "schemaVersion": "1.0",
  "item": {
    "slug": "gh-modify-pr",
    "name": "gh-modify-pr",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/danie1Lin/gh-modify-pr",
    "canonicalUrl": "https://clawhub.ai/danie1Lin/gh-modify-pr",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/gh-modify-pr",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=gh-modify-pr",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/gh-modify-pr"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/gh-modify-pr",
    "agentPageUrl": "https://openagent3.xyz/skills/gh-modify-pr/agent",
    "manifestUrl": "https://openagent3.xyz/skills/gh-modify-pr/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/gh-modify-pr/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "gh-modify-pr",
        "body": "Use this workflow for PR-comment-driven changes."
      },
      {
        "title": "Inputs",
        "body": "PR URL (preferred), e.g. https://github.com/owner/repo/pull/123\nOptional scope from user (e.g. only one comment, all unresolved comments)"
      },
      {
        "title": "Workflow",
        "body": "Parse owner/repo and PR number from URL.\nInspect PR summary:\n\ngh pr view <url> --json number,title,headRefName,baseRefName,files,reviews,reviewDecision\n\n\nFetch inline review comments:\n\ngh api repos/<owner>/<repo>/pulls/<number>/comments\n\n\nExtract actionable items from comment bodies.\nEnsure local repo exists in workspace:\n\nIf missing: git clone git@github.com:<owner>/<repo>.git\n\n\nCheckout PR branch in local repo:\n\ngh pr checkout <number>\n\n\nOpen affected files and implement requested changes exactly.\nValidate changed files quickly (lint/test only if needed or requested).\nCommit:\n\ngit add <files>\ngit commit -m \"<clear message>\"\n\n\nReport back with:\n\nWhat changed\nCommit hash\nBranch name\n\nPush only if user asks/approves:\n\ngit push"
      },
      {
        "title": "Rules",
        "body": "Prefer minimal diffs that address reviewer intent directly.\nDo not silently alter unrelated code.\nIf a comment is ambiguous, ask one focused clarification question.\nIf no local repo exists, clone first instead of failing.\nInclude failed attempts in the final operation log when user asks for traceability."
      },
      {
        "title": "Handy commands",
        "body": "# PR meta\ngh pr view <url> --json number,title,headRefName,baseRefName,files,reviews,reviewDecision\n\n# Inline review comments\ngh api repos/<owner>/<repo>/pulls/<number>/comments\n\n# Checkout PR branch (inside repo)\ngh pr checkout <number>\n\n# Status and commit\ngit status --short\ngit add <files>\ngit commit -m \"chore: address PR review comments\""
      },
      {
        "title": "Output template",
        "body": "PR: <url>\nAddressed comments: <n>\nChanged files:\n\n<path>: <summary>\n\n\nCommit: <hash>\nBranch: <branch>\nPushed: yes/no"
      }
    ],
    "body": "gh-modify-pr\n\nUse this workflow for PR-comment-driven changes.\n\nInputs\nPR URL (preferred), e.g. https://github.com/owner/repo/pull/123\nOptional scope from user (e.g. only one comment, all unresolved comments)\nWorkflow\nParse owner/repo and PR number from URL.\nInspect PR summary:\ngh pr view <url> --json number,title,headRefName,baseRefName,files,reviews,reviewDecision\nFetch inline review comments:\ngh api repos/<owner>/<repo>/pulls/<number>/comments\nExtract actionable items from comment bodies.\nEnsure local repo exists in workspace:\nIf missing: git clone git@github.com:<owner>/<repo>.git\nCheckout PR branch in local repo:\ngh pr checkout <number>\nOpen affected files and implement requested changes exactly.\nValidate changed files quickly (lint/test only if needed or requested).\nCommit:\ngit add <files>\ngit commit -m \"<clear message>\"\nReport back with:\nWhat changed\nCommit hash\nBranch name\nPush only if user asks/approves:\ngit push\nRules\nPrefer minimal diffs that address reviewer intent directly.\nDo not silently alter unrelated code.\nIf a comment is ambiguous, ask one focused clarification question.\nIf no local repo exists, clone first instead of failing.\nInclude failed attempts in the final operation log when user asks for traceability.\nHandy commands\n# PR meta\ngh pr view <url> --json number,title,headRefName,baseRefName,files,reviews,reviewDecision\n\n# Inline review comments\ngh api repos/<owner>/<repo>/pulls/<number>/comments\n\n# Checkout PR branch (inside repo)\ngh pr checkout <number>\n\n# Status and commit\ngit status --short\ngit add <files>\ngit commit -m \"chore: address PR review comments\"\n\nOutput template\nPR: <url>\nAddressed comments: <n>\nChanged files:\n<path>: <summary>\nCommit: <hash>\nBranch: <branch>\nPushed: yes/no"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/danie1Lin/gh-modify-pr",
    "publisherUrl": "https://clawhub.ai/danie1Lin/gh-modify-pr",
    "owner": "danie1Lin",
    "version": "1.0.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/gh-modify-pr",
    "downloadUrl": "https://openagent3.xyz/downloads/gh-modify-pr",
    "agentUrl": "https://openagent3.xyz/skills/gh-modify-pr/agent",
    "manifestUrl": "https://openagent3.xyz/skills/gh-modify-pr/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/gh-modify-pr/agent.md"
  }
}