[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F91SSJBM6PXKJNM0YXFPNF":3,"skill-same:01M7F91SSJBM6PXKJNM0YXFPNF":63},{"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":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M7F91SSJBM6PXKJNM0YXFPNF","pullrequests-update",null,"Create or update pull requests (GitHub) and merge requests (GitLab) for pushed code\u002F branches, host detected per repo from origin, cross-linking companions across repos that changed together.","szymonrychu\u002Fworkbench","szymonrychu","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F2943524?v=4","01M7F8VBGRDFJ2PSH14RM80E4G","Szymon Richert","01M7F8VBHCQTC2RMKXJ93RHMB3",0,"MIT","https:\u002F\u002Fgithub.com\u002Fszymonrychu\u002Fworkbench\u002Fblob\u002Fmain\u002Fplugins\u002Fworkbench\u002Fskills\u002Fpullrequests-update\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: pullrequests-update\ndescription: \"Create or update pull requests (GitHub) and merge requests (GitLab) for pushed code\u002F branches, host detected per repo from origin, cross-linking companions across repos that changed together.\"\n---\n\n# pullrequests-update\n\nCreates or updates the PR or MR for a pushed branch across one or more repos in `code\u002F`, then cross-links each description with the other PRs\u002FMRs from the same run. The host is detected per repo from its `origin`, so one run may mix GitHub and GitLab repos.\n\n## Host map\n\nPer repo, from the origin hostname: `WORKBENCH_SCM_HOSTS` first (`host=github|gitlab`, comma-separated, e.g. `git.example.com=gitlab`), then a hostname containing `github` means GitHub and one containing `gitlab` means GitLab. Anything else is local-only: the repo gets a `skipped` row `local-only: no PR\u002FMR host for \u003Corigin>` and does not fail the run. A malformed `WORKBENCH_SCM_HOSTS` exits 2 naming the entry.\n\n## Procedure\n\n1. Confirm the branch is already pushed for each target repo (see git-worktrees-push).\n2. For each repo, write a short description in your own words: what changed and why. The first non-empty line becomes the title of a new PR\u002FMR.\n3. Optionally decide a semver level (`patch`\u002F`minor`\u002F`major`) per repo for the push-CD release pipeline.\n4. Run the script once:\n\n   ```\n   mise exec -- python3 ${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Fpullrequests-update\u002Fscripts\u002Fupdate.py --branch \u003Cbranch> --repos repoA,repoB \\\n     --body repoA=\"\u003Cdescription for repoA>\" \\\n     --body repoB=\"\u003Cdescription for repoB>\" \\\n     --semver repoA=minor\n   ```\n\n5. Pass 1 creates a PR\u002FMR (or edits the existing one) per repo. Pass 2 rewrites each body as your description plus a `Complementary PRs` (GitHub repo) or `Complementary MRs` (GitLab repo) section listing every other PR\u002FMR of the run, on either host, then applies the semver label.\n6. Relay the report (repo, status `created`\u002F`updated`\u002F`skipped`\u002F`failed`, `\u003Curl> | \u003Csemver outcome>`). A failure does not stop other repos; the exit code is 1 if any repo or semver step failed.\n\n## Arguments\n\n- `--branch` the pushed branch; `--repos` comma-separated names of submodules under `code\u002F`.\n- `--body repo=text` one per repo; a missing body is a per-repo failure.\n- `--semver repo=LEVEL` optional; labels `semver:\u003CLEVEL>`, created if missing. An invalid level is a per-repo failure. An existing `semver:*` label is never changed (`semver skipped (has semver:\u003Cx>)`). No `--semver` shows `-`.\n","# pullrequests-update\n\nCreates or updates the PR or MR for a pushed branch across one or more repos in `code\u002F`, then cross-links each description with the other PRs\u002FMRs from the same run. The host is detected per repo from its `origin`, so one run may mix GitHub and GitLab repos.\n\n## Host map\n\nPer repo, from the origin hostname: `WORKBENCH_SCM_HOSTS` first (`host=github|gitlab`, comma-separated, e.g. `git.example.com=gitlab`), then a hostname containing `github` means GitHub and one containing `gitlab` means GitLab. Anything else is local-only: the repo gets a `skipped` row `local-only: no PR\u002FMR host for \u003Corigin>` and does not fail the run. A malformed `WORKBENCH_SCM_HOSTS` exits 2 naming the entry.\n\n## Procedure\n\n1. Confirm the branch is already pushed for each target repo (see git-worktrees-push).\n2. For each repo, write a short description in your own words: what changed and why. The first non-empty line becomes the title of a new PR\u002FMR.\n3. Optionally decide a semver level (`patch`\u002F`minor`\u002F`major`) per repo for the push-CD release pipeline.\n4. Run the script once:\n\n   ```\n   mise exec -- python3 ${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Fpullrequests-update\u002Fscripts\u002Fupdate.py --branch \u003Cbranch> --repos repoA,repoB \\\n     --body repoA=\"\u003Cdescription for repoA>\" \\\n     --body repoB=\"\u003Cdescription for repoB>\" \\\n     --semver repoA=minor\n   ```\n\n5. Pass 1 creates a PR\u002FMR (or edits the existing one) per repo. Pass 2 rewrites each body as your description plus a `Complementary PRs` (GitHub repo) or `Complementary MRs` (GitLab repo) section listing every other PR\u002FMR of the run, on either host, then applies the semver label.\n6. Relay the report (repo, status `created`\u002F`updated`\u002F`skipped`\u002F`failed`, `\u003Curl> | \u003Csemver outcome>`). A failure does not stop other repos; the exit code is 1 if any repo or semver step failed.\n\n## Arguments\n\n- `--branch` the pushed branch; `--repos` comma-separated names of submodules under `code\u002F`.\n- `--body repo=text` one per repo; a missing body is a per-repo failure.\n- `--semver repo=LEVEL` optional; labels `semver:\u003CLEVEL>`, created if missing. An invalid level is a per-repo failure. An existing `semver:*` label is never changed (`semver skipped (has semver:\u003Cx>)`). No `--semver` shows `-`.\n",{"name":5,"description":7},"main","ce8273d3492a5008dd408c4823db370b23e18863","plugins\u002Fworkbench\u002Fskills\u002Fpullrequests-update","https:\u002F\u002Fgithub.com\u002Fszymonrychu\u002Fworkbench","https:\u002F\u002Fgithub.com\u002Fszymonrychu","www.szymonrichert.pl","2026-10-26 04:36:12",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add szymonrychu\u002Fworkbench --skill pullrequests-update",{"tool":37,"command":38},"bunx","bunx skills add szymonrychu\u002Fworkbench --skill pullrequests-update",{"tool":40,"command":41},"pnpm","pnpm dlx skills add szymonrychu\u002Fworkbench --skill pullrequests-update","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fszymonrychu\u002Fworkbench\u002Fblob\u002Fmain\u002Fplugins\u002Fworkbench\u002Fskills\u002Fpullrequests-update\u002FSKILL.md",true,[45,51,55,59],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"scripts\u002Fupdate.py","SCRIPT","脚本",4545,"https:\u002F\u002Fgithub.com\u002Fszymonrychu\u002Fworkbench\u002Fblob\u002Fmain\u002Fplugins\u002Fworkbench\u002Fskills\u002Fpullrequests-update\u002Fscripts\u002Fupdate.py",{"path":52,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":53,"sourceHtmlUrl":54},"tests\u002Fconftest.py",3314,"https:\u002F\u002Fgithub.com\u002Fszymonrychu\u002Fworkbench\u002Fblob\u002Fmain\u002Fplugins\u002Fworkbench\u002Fskills\u002Fpullrequests-update\u002Ftests\u002Fconftest.py",{"path":56,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":57,"sourceHtmlUrl":58},"tests\u002Ftest_update_github.py",16613,"https:\u002F\u002Fgithub.com\u002Fszymonrychu\u002Fworkbench\u002Fblob\u002Fmain\u002Fplugins\u002Fworkbench\u002Fskills\u002Fpullrequests-update\u002Ftests\u002Ftest_update_github.py",{"path":60,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":61,"sourceHtmlUrl":62},"tests\u002Ftest_update_gitlab.py",23114,"https:\u002F\u002Fgithub.com\u002Fszymonrychu\u002Fworkbench\u002Fblob\u002Fmain\u002Fplugins\u002Fworkbench\u002Fskills\u002Fpullrequests-update\u002Ftests\u002Ftest_update_gitlab.py",[64,71,78,85,92,99],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M7F949PAG534XSY6BXH4GKY0","claudy","d claudy","https:\u002F\u002Fgithub.com\u002Fszymonrychu\u002Fworkbench\u002Fblob\u002Fmain\u002Fscripts\u002Ftests\u002Fharness\u002Fgolden\u002Fskills\u002Fclaudy\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M7F947QH8VQ5WGVMFWFS57M0","gamma","Literal line one.\nLiteral line two.","https:\u002F\u002Fgithub.com\u002Fszymonrychu\u002Fworkbench\u002Fblob\u002Fmain\u002Fscripts\u002Ftests\u002Fharness\u002Ffixtures\u002Ftree\u002Fplugins\u002Fextra\u002Fskills\u002Fgamma\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M7F944VTWR1AAACZGTNWYJYP","beta","Quoted: description with a colon.","https:\u002F\u002Fgithub.com\u002Fszymonrychu\u002Fworkbench\u002Fblob\u002Fmain\u002Fscripts\u002Ftests\u002Fharness\u002Ffixtures\u002Ftree\u002Fplugins\u002Fcore\u002Fskills\u002Fbeta\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M7F941QWM4KQTX9KA6JQKF2G","alpha","Folded description that spans two lines and ends here.","https:\u002F\u002Fgithub.com\u002Fszymonrychu\u002Fworkbench\u002Fblob\u002Fmain\u002Fscripts\u002Ftests\u002Fharness\u002Ffixtures\u002Ftree\u002Fplugins\u002Fcore\u002Fskills\u002Falpha\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":19},"01M7F93XXR4JY2S2KXD70JY4GM","worktree-merge","Rebases one subagent's worktree onto the base branch, optionally verifies the rebased tree, fast-forwards it into the worktree that has the base checked out (an epic integration tree or the main checkout), verifies every commit landed, and only then removes the worktree and its branch. Keeps the worktree intact on any conflict, dirty tree, or failed check. Use after a subagent returns work created with worktree-create.","https:\u002F\u002Fgithub.com\u002Fszymonrychu\u002Fworkbench\u002Fblob\u002Fmain\u002Fplugins\u002Fworkbench\u002Fskills\u002Fworktree-merge\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":19},"01M7F93TBQKKF3KM4VDVQ8PVHR","worktree-create","Creates one isolated git worktree for one subagent, at \u003Cworkbench>\u002F.claude\u002Fworktrees\u002F\u003Cname>, branched from main with the newest origin\u002Fmain and local main merged in. Refuses a name already in use so two agents can never share a tree. Use once per implementation or review subagent before dispatching it; pair with worktree-merge to land the work and clean up.","https:\u002F\u002Fgithub.com\u002Fszymonrychu\u002Fworkbench\u002Fblob\u002Fmain\u002Fplugins\u002Fworkbench\u002Fskills\u002Fworktree-create\u002FSKILL.md",[],[]]