[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M69BA1Q8JRW4WWY2Z6HY9627":3,"skill-same:01M69BA1Q8JRW4WWY2Z6HY9627":66},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":23,"publishedAt":31,"linkOnly":32,"markdownContent":33,"markdownBody":34,"frontMatter":35,"refName":37,"commitSha":38,"skillDirectory":39,"forksCount":14,"repositoryHtmlUrl":40,"repositoryHomepageUrl":41,"ownerHtmlUrl":42,"ownerBlogUrl":43,"ownerDescription":44,"updatedAt":45,"install":46,"resources":59},"01M69BA1Q8JRW4WWY2Z6HY9627","create-pull-request",null,"Create or update a GitHub pull request for the current branch and automatically request a code review from brendonmatheson. Use when opening, publishing, submitting, or preparing a pull request for review.","microsoft\u002Fagentdesignpatterns","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M69B9X6646C3BJJGMCD4WNP8",0,"MIT","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fagentdesignpatterns\u002Fblob\u002Fmain\u002F.apm\u002Fskills\u002Fcreate-pull-request\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000007","代码审查","SCENARIO","使用场景",[24,25,26,27,28,29,30],"create pull request","pull request","create","code review","review","github","update","2026-11-10 10:12:30",false,"---\nname: create-pull-request\ndescription: \"Create or update a GitHub pull request for the current branch and automatically request a code review from brendonmatheson. Use when opening, publishing, submitting, or preparing a pull request for review.\"\nargument-hint: \"Optional pull request title or issue number\"\n---\n\n# Create Pull Request\n\nCreate a complete pull request from the current topic branch and request review from `brendonmatheson`.\n\n## Workflow\n\n1. Inspect the current branch, working tree, upstream, commits relative to the base branch, and any existing pull request for the branch.\n2. Stop if the current branch is `main`, the branch has no commits to submit, or required changes have not been published. Do not push unless the user explicitly asks.\n3. Read the repository's pull request template before drafting the body:\n   - `.github\u002Fpull_request_template.md`\n   - `.github\u002FPULL_REQUEST_TEMPLATE\u002F`\n4. Read the repository's contributor guidance and changed-file validation instructions. Run the smallest required validation against the committed tree so unrelated local changes cannot affect the result.\n5. Draft the title and body from the submitted commits and linked issue. Preserve all template headings, comments, checklist items, and ordering. Record each exact validation command and whether it passed or failed. Clearly identify checks that were not run.\n6. Create the pull request with the GitHub CLI, targeting `main` unless the user specifies another base. If a pull request already exists for the branch, update it instead of creating a duplicate.\n7. Automatically request a code review from `brendonmatheson`. Prefer the GitHub REST endpoint so deprecated Projects Classic GraphQL fields cannot prevent the request:\n\n   ```shell\n   gh api --method POST \\\n     \"repos\u002F{owner}\u002F{repo}\u002Fpulls\u002F\u003Cpull-number>\u002Frequested_reviewers\" \\\n     -f \"reviewers[]=brendonmatheson\"\n   ```\n\n8. Verify the pull request URL, base and head branches, state, body, and requested reviewers. Report the URL and validation results.\n\n## Review Request Failures\n\n- A review request is not complete until GitHub lists `brendonmatheson` under requested reviewers.\n- If GitHub rejects the request because `brendonmatheson` authored the pull request, report that self-review is prohibited and ask for a different reviewer. Do not substitute an assignee or claim that review was requested.\n- Surface authentication, authorization, branch, validation, and API failures explicitly. Do not return success-shaped output after a failed operation.\n\n## Repository Rules\n\n- Never commit or push directly to `main`.\n- Do not commit, amend, force-push, merge, or rebase unless the user explicitly requests that operation.\n- Preserve individual commits; do not squash or create merge commits.\n- Do not merge the pull request unless the user explicitly asks and all required reviews and status checks have passed.\n","# Create Pull Request\n\nCreate a complete pull request from the current topic branch and request review from `brendonmatheson`.\n\n## Workflow\n\n1. Inspect the current branch, working tree, upstream, commits relative to the base branch, and any existing pull request for the branch.\n2. Stop if the current branch is `main`, the branch has no commits to submit, or required changes have not been published. Do not push unless the user explicitly asks.\n3. Read the repository's pull request template before drafting the body:\n   - `.github\u002Fpull_request_template.md`\n   - `.github\u002FPULL_REQUEST_TEMPLATE\u002F`\n4. Read the repository's contributor guidance and changed-file validation instructions. Run the smallest required validation against the committed tree so unrelated local changes cannot affect the result.\n5. Draft the title and body from the submitted commits and linked issue. Preserve all template headings, comments, checklist items, and ordering. Record each exact validation command and whether it passed or failed. Clearly identify checks that were not run.\n6. Create the pull request with the GitHub CLI, targeting `main` unless the user specifies another base. If a pull request already exists for the branch, update it instead of creating a duplicate.\n7. Automatically request a code review from `brendonmatheson`. Prefer the GitHub REST endpoint so deprecated Projects Classic GraphQL fields cannot prevent the request:\n\n   ```shell\n   gh api --method POST \\\n     \"repos\u002F{owner}\u002F{repo}\u002Fpulls\u002F\u003Cpull-number>\u002Frequested_reviewers\" \\\n     -f \"reviewers[]=brendonmatheson\"\n   ```\n\n8. Verify the pull request URL, base and head branches, state, body, and requested reviewers. Report the URL and validation results.\n\n## Review Request Failures\n\n- A review request is not complete until GitHub lists `brendonmatheson` under requested reviewers.\n- If GitHub rejects the request because `brendonmatheson` authored the pull request, report that self-review is prohibited and ask for a different reviewer. Do not substitute an assignee or claim that review was requested.\n- Surface authentication, authorization, branch, validation, and API failures explicitly. Do not return success-shaped output after a failed operation.\n\n## Repository Rules\n\n- Never commit or push directly to `main`.\n- Do not commit, amend, force-push, merge, or rebase unless the user explicitly requests that operation.\n- Preserve individual commits; do not squash or create merge commits.\n- Do not merge the pull request unless the user explicitly asks and all required reviews and status checks have passed.\n",{"name":5,"description":7,"argument-hint":36},"Optional pull request title or issue number","main","61dac6bce1203bd677fb2720842c7145d38a652f",".apm\u002Fskills\u002Fcreate-pull-request","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fagentdesignpatterns","https:\u002F\u002Fbookish-adventure-38r42wy.pages.github.io\u002F","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-10-28 12:25:27",{"source":8,"skillName":5,"commands":47,"prompt":57,"zipAvailable":58},[48,51,54],{"tool":49,"command":50},"npx","npx skills add microsoft\u002Fagentdesignpatterns --skill create-pull-request",{"tool":52,"command":53},"bunx","bunx skills add microsoft\u002Fagentdesignpatterns --skill create-pull-request",{"tool":55,"command":56},"pnpm","pnpm dlx skills add microsoft\u002Fagentdesignpatterns --skill create-pull-request","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fagentdesignpatterns\u002Fblob\u002Fmain\u002F.apm\u002Fskills\u002Fcreate-pull-request\u002FSKILL.md",true,[60],{"path":61,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":64,"sourceHtmlUrl":65},"report.md","REFERENCE","参考文档",5945,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fmagpie\u002Fblob\u002Fmain\u002Fplugins\u002Fmagpie-contributor-growth\u002Fskills\u002Fcandidate-screen\u002Freport.md",[67],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":81,"publishedAt":31},"01M69B9ZEGXX8GHGQ2NPCTF8JQ","author-article","Author, revise, or review pattern and anti-pattern articles for the Agent Design Patterns catalog. Use when creating catalog content, changing article frontmatter or structure, writing Microsoft-stack TypeScript implementations, adding canonical technology links and references, assigning categories or tags, or connecting related articles.","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fagentdesignpatterns\u002Fblob\u002Fmain\u002F.apm\u002Fskills\u002Fauthor-article\u002FSKILL.md",[73,76],{"categoryNo":74,"categoryName":75,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000018","写作与文案",{"categoryNo":77,"categoryName":78,"taxonomyType":79,"taxonomyTypeDesc":80},"01JBSEEDCAT000000000000036","内容创作者","PROFESSION","适用职业",[82,83,84,28,85,9],"author article","design","writing","typescript"]