[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F56GVHFV7APH1ZT00GAZXH":3,"skill-same:01M7F56GVHFV7APH1ZT00GAZXH":43},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":13,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":28,"install":29,"resources":42},"01M7F56GVHFV7APH1ZT00GAZXH","forge-github",null,"How each step of the workflow skill is done on GitHub with gh — Issues, pull requests, Closes #n, plain labels and keeping one status, the closing-word trap, draft pull requests, milestones, and merging only after the checks. Activate with the workflow skill whenever it sends you to the forge.","workflowaiorg\u002Fworkflow","workflowaiorg","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F344728430?v=4","01M7F5606QN4BXN2KJNCJPCKAZ","01M7F5607RE7Y5NNRN60FW9NJ3",0,"MIT","https:\u002F\u002Fgithub.com\u002Fworkflowaiorg\u002Fworkflow\u002Fblob\u002Fmain\u002Finternal\u002Fbase\u002Ffiles\u002Fforge-github\u002Fskills\u002Fforge-github\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: forge-github\ndescription: \"How each step of the workflow skill is done on GitHub with gh — Issues, pull requests, Closes #n, plain labels and keeping one status, the closing-word trap, draft pull requests, milestones, and merging only after the checks. Activate with the workflow skill whenever it sends you to the forge.\"\n---\n\n# Skill: The workflow on GitHub\n\nThe `workflow` skill says what happens and when; this one says how on GitHub. Its MR is a pull\nrequest here. Use `gh` directly — wf wraps none of it. Where `gh` has a flag for something, use it;\n`gh api` is for the few things it does not cover, named below. In `gh api` paths, `{owner}\u002F{repo}`\nis filled in from the current repository.\n\n---\n\n## Issues\n\n- **Read one** before touching a file: `gh issue view \u003Cn> --comments`.\n- **Search before creating one:** `gh issue list --search \"\u003Cwords>\" --state all`.\n- **Create one** with its labels and milestone from the start:\n  `gh issue create --title \"…\" --body-file issue.md --label \"type: feature\" --label \"area: \u003Carea>\" --label \"status: todo\" --milestone \"\u003Cname>\"`.\n- **Comment:** `gh issue comment \u003Cn> --body \"…\"`.\n- **Link two Issues** by naming `#\u003Cother>` in the description or a comment: GitHub shows the\n  reference on both. The order of work is written in each Issue's description, never left to the\n  link: the description is what every reader and every forge has.\n\n## Labels: plain, so one status is kept by hand\n\nEvery label of the workflow skill is a plain label here, its group and value joined by a colon and\na space: `status: todo`, `status: in progress`, `status: in review`, `status: blocked`;\n`type: feature`, `type: bug`, `type: chore`, `type: docs`, `type: decision`; `area: \u003Carea>`.\n\n**GitHub has no exclusive labels:** adding a new status never removes the old one. So a status\nchange removes the old label and adds the new one in the same command:\n\n```sh\ngh issue edit \u003Cn> --remove-label \"status: in progress\" --add-label \"status: in review\"\n```\n\nBefore setting a status, check that the Issue carries exactly one `status:` label\n(`gh issue view \u003Cn>`), and remove any other in the same command if a hand edit left two.\n\nThe board is the Issue list by status: `gh issue list --label \"status: in review\"`. It shows open\nIssues only: a closed Issue keeps the status it had.\n\n**A label a CI job reads**, such as `api-passthrough`, which lets the backend's breaking-change job\naccept a break, is a plain one on the pull request: `gh pr edit \u003Cn> --add-label api-passthrough`.\nAdding it starts a new run, as the calling workflow listens to `labeled`; re-running an old run\ndoes not see it, as a run reads the labels its event carried.\n\n## Milestones\n\n- **List the open ones** before assigning or creating: `gh api \"repos\u002F{owner}\u002F{repo}\u002Fmilestones?state=open\"`.\n- **Create one** only by the workflow skill's rules:\n  `gh api -X POST \"repos\u002F{owner}\u002F{repo}\u002Fmilestones\" -f title=\"\u003Cname>\" -f description=\"…\"`.\n- **Assign it:** `gh issue edit \u003Cn> --milestone \"\u003Cname>\"`.\n\n## Pull requests\n\n- **Open one as a draft**, on the developer's go, after the first push:\n  `gh pr create --draft --title \"…\" --body-file pr.md --base main`.\n  The description carries `Closes #n` from the start: GitHub acts on it at merge, draft or not.\n- **Take it out of draft** when the Issue's work is done: `gh pr ready \u003Cn>`, together with the\n  status change above.\n- **Where GitHub refuses a draft** — a private repository on GitHub Free or Pro — open it without\n  `--draft` and with `[WIP] ` in front of its title, and drop that prefix\n  (`gh pr edit \u003Cn> --title \"…\"`) where `gh pr ready` would run.\n- **Read a review:** `gh pr view \u003Cn> --comments` shows the conversation; the comments on lines of\n  the diff are `gh api \"repos\u002F{owner}\u002F{repo}\u002Fpulls\u002F\u003Cn>\u002Fcomments\"`; the diff is `gh pr diff \u003Cn>`.\n- **Merge** only when asked. Squashed, with the message the workflow skill shapes:\n  `gh pr merge \u003Cn> --squash --subject \"\u003Csummary line> (#\u003Cn>)\" --body-file message.md`; otherwise\n  `gh pr merge \u003Cn> --merge`. Never `--delete-branch`: it switches the checkout to `main`, which the\n  root checkout already holds, so it fails in a worktree after the merge went through. Delete the\n  remote branch after the merge with `git push origin --delete \u003Cbranch>`, unless the repository\n  deletes merged branches itself, and the local one as the workflow skill says.\n- **`gh pr merge` never waits for the checks:** with none required it merges at once, and with\n  required ones still running it refuses. So wait for them first — `gh pr checks \u003Cn> --watch` — and\n  say so to the developer when there are none.\n\n## Closing\n\n- `Closes #n` in a pull request description closes the Issue when the pull request merges **into\n  the default branch**. One merged into another branch closes nothing.\n- **The closing-word trap.** GitHub reads \"close\", \"fix\" or \"resolve\" in any form, followed by an\n  Issue reference, as a command, whatever the words around it: \"does not close #n\" closes #n at\n  merge. A pull request that must not close an Issue writes \"#n stays open until …\", and after the\n  merge checks that the Issue is still open — `gh issue view \u003Cn>` — reopening it with\n  `gh issue reopen \u003Cn>` if GitHub closed it anyway.\n\n## The plan's own pull request\n\nIt carries `Part of #parent` and no closing word next to any Issue number — the parent is closed by\nthe last Issue of the plan, not by the plan.\n","# Skill: The workflow on GitHub\n\nThe `workflow` skill says what happens and when; this one says how on GitHub. Its MR is a pull\nrequest here. Use `gh` directly — wf wraps none of it. Where `gh` has a flag for something, use it;\n`gh api` is for the few things it does not cover, named below. In `gh api` paths, `{owner}\u002F{repo}`\nis filled in from the current repository.\n\n---\n\n## Issues\n\n- **Read one** before touching a file: `gh issue view \u003Cn> --comments`.\n- **Search before creating one:** `gh issue list --search \"\u003Cwords>\" --state all`.\n- **Create one** with its labels and milestone from the start:\n  `gh issue create --title \"…\" --body-file issue.md --label \"type: feature\" --label \"area: \u003Carea>\" --label \"status: todo\" --milestone \"\u003Cname>\"`.\n- **Comment:** `gh issue comment \u003Cn> --body \"…\"`.\n- **Link two Issues** by naming `#\u003Cother>` in the description or a comment: GitHub shows the\n  reference on both. The order of work is written in each Issue's description, never left to the\n  link: the description is what every reader and every forge has.\n\n## Labels: plain, so one status is kept by hand\n\nEvery label of the workflow skill is a plain label here, its group and value joined by a colon and\na space: `status: todo`, `status: in progress`, `status: in review`, `status: blocked`;\n`type: feature`, `type: bug`, `type: chore`, `type: docs`, `type: decision`; `area: \u003Carea>`.\n\n**GitHub has no exclusive labels:** adding a new status never removes the old one. So a status\nchange removes the old label and adds the new one in the same command:\n\n```sh\ngh issue edit \u003Cn> --remove-label \"status: in progress\" --add-label \"status: in review\"\n```\n\nBefore setting a status, check that the Issue carries exactly one `status:` label\n(`gh issue view \u003Cn>`), and remove any other in the same command if a hand edit left two.\n\nThe board is the Issue list by status: `gh issue list --label \"status: in review\"`. It shows open\nIssues only: a closed Issue keeps the status it had.\n\n**A label a CI job reads**, such as `api-passthrough`, which lets the backend's breaking-change job\naccept a break, is a plain one on the pull request: `gh pr edit \u003Cn> --add-label api-passthrough`.\nAdding it starts a new run, as the calling workflow listens to `labeled`; re-running an old run\ndoes not see it, as a run reads the labels its event carried.\n\n## Milestones\n\n- **List the open ones** before assigning or creating: `gh api \"repos\u002F{owner}\u002F{repo}\u002Fmilestones?state=open\"`.\n- **Create one** only by the workflow skill's rules:\n  `gh api -X POST \"repos\u002F{owner}\u002F{repo}\u002Fmilestones\" -f title=\"\u003Cname>\" -f description=\"…\"`.\n- **Assign it:** `gh issue edit \u003Cn> --milestone \"\u003Cname>\"`.\n\n## Pull requests\n\n- **Open one as a draft**, on the developer's go, after the first push:\n  `gh pr create --draft --title \"…\" --body-file pr.md --base main`.\n  The description carries `Closes #n` from the start: GitHub acts on it at merge, draft or not.\n- **Take it out of draft** when the Issue's work is done: `gh pr ready \u003Cn>`, together with the\n  status change above.\n- **Where GitHub refuses a draft** — a private repository on GitHub Free or Pro — open it without\n  `--draft` and with `[WIP] ` in front of its title, and drop that prefix\n  (`gh pr edit \u003Cn> --title \"…\"`) where `gh pr ready` would run.\n- **Read a review:** `gh pr view \u003Cn> --comments` shows the conversation; the comments on lines of\n  the diff are `gh api \"repos\u002F{owner}\u002F{repo}\u002Fpulls\u002F\u003Cn>\u002Fcomments\"`; the diff is `gh pr diff \u003Cn>`.\n- **Merge** only when asked. Squashed, with the message the workflow skill shapes:\n  `gh pr merge \u003Cn> --squash --subject \"\u003Csummary line> (#\u003Cn>)\" --body-file message.md`; otherwise\n  `gh pr merge \u003Cn> --merge`. Never `--delete-branch`: it switches the checkout to `main`, which the\n  root checkout already holds, so it fails in a worktree after the merge went through. Delete the\n  remote branch after the merge with `git push origin --delete \u003Cbranch>`, unless the repository\n  deletes merged branches itself, and the local one as the workflow skill says.\n- **`gh pr merge` never waits for the checks:** with none required it merges at once, and with\n  required ones still running it refuses. So wait for them first — `gh pr checks \u003Cn> --watch` — and\n  say so to the developer when there are none.\n\n## Closing\n\n- `Closes #n` in a pull request description closes the Issue when the pull request merges **into\n  the default branch**. One merged into another branch closes nothing.\n- **The closing-word trap.** GitHub reads \"close\", \"fix\" or \"resolve\" in any form, followed by an\n  Issue reference, as a command, whatever the words around it: \"does not close #n\" closes #n at\n  merge. A pull request that must not close an Issue writes \"#n stays open until …\", and after the\n  merge checks that the Issue is still open — `gh issue view \u003Cn>` — reopening it with\n  `gh issue reopen \u003Cn>` if GitHub closed it anyway.\n\n## The plan's own pull request\n\nIt carries `Part of #parent` and no closing word next to any Issue number — the parent is closed by\nthe last Issue of the plan, not by the plan.\n",{"name":5,"description":7},"main","68fb57dd74de5ed76dcfaff357932684f77650e6","internal\u002Fbase\u002Ffiles\u002Fforge-github\u002Fskills\u002Fforge-github","https:\u002F\u002Fgithub.com\u002Fworkflowaiorg\u002Fworkflow","https:\u002F\u002Fgithub.com\u002Fworkflowaiorg","2026-11-13 17:41:05",{"source":8,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add workflowaiorg\u002Fworkflow --skill forge-github",{"tool":35,"command":36},"bunx","bunx skills add workflowaiorg\u002Fworkflow --skill forge-github",{"tool":38,"command":39},"pnpm","pnpm dlx skills add workflowaiorg\u002Fworkflow --skill forge-github","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fworkflowaiorg\u002Fworkflow\u002Fblob\u002Fmain\u002Finternal\u002Fbase\u002Ffiles\u002Fforge-github\u002Fskills\u002Fforge-github\u002FSKILL.md",true,[],[44,51,58,65,72,77],{"skillNo":45,"name":46,"nameZh":6,"description":47,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":48,"categories":49,"keywords":50,"publishedAt":18},"01M7F58YP2QA8F89599TDWEY0Y","notes","Where notes go.","https:\u002F\u002Fgithub.com\u002Fworkflowaiorg\u002Fworkflow\u002Fblob\u002Fmain\u002Finternal\u002Frender\u002Ftestdata\u002Fsync\u002Fwant\u002F.opencode\u002Fskills\u002Fnotes\u002FSKILL.md",[],[],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":18},"01M7F58X62078DBFA7YZH0M9VP","naming","How things are named, including the sample's tables.","https:\u002F\u002Fgithub.com\u002Fworkflowaiorg\u002Fworkflow\u002Fblob\u002Fmain\u002Finternal\u002Frender\u002Ftestdata\u002Fsync\u002Fwant\u002F.opencode\u002Fskills\u002Fnaming\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":18},"01M7F58VXX28G09AJCA667GHBS","local","A skill only this project has.","https:\u002F\u002Fgithub.com\u002Fworkflowaiorg\u002Fworkflow\u002Fblob\u002Fmain\u002Finternal\u002Frender\u002Ftestdata\u002Fsync\u002Fwant\u002F.opencode\u002Fskills\u002Flocal\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":18},"01M7F58TQ8XVBD6SDV0S4T6E77","hello","Greets sample's developers.","https:\u002F\u002Fgithub.com\u002Fworkflowaiorg\u002Fworkflow\u002Fblob\u002Fmain\u002Finternal\u002Frender\u002Ftestdata\u002Fsync\u002Fwant\u002F.opencode\u002Fskills\u002Fhello\u002FSKILL.md",[],[],{"skillNo":73,"name":46,"nameZh":6,"description":47,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":18},"01M7F58R379TW8C6VY572RK11F","https:\u002F\u002Fgithub.com\u002Fworkflowaiorg\u002Fworkflow\u002Fblob\u002Fmain\u002Finternal\u002Frender\u002Ftestdata\u002Fsync\u002Fwant\u002F.github\u002Fskills\u002Fnotes\u002FSKILL.md",[],[],{"skillNo":78,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":18},"01M7F58PNRREJ4KPY496M2XHSY","https:\u002F\u002Fgithub.com\u002Fworkflowaiorg\u002Fworkflow\u002Fblob\u002Fmain\u002Finternal\u002Frender\u002Ftestdata\u002Fsync\u002Fwant\u002F.github\u002Fskills\u002Fnaming\u002FSKILL.md",[],[]]