[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71J76R6NYER5R9B0QSYFJTB":3,"skill-same:01M71J76R6NYER5R9B0QSYFJTB":73},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":53,"commitSha":54,"skillDirectory":55,"forksCount":14,"repositoryHtmlUrl":56,"repositoryHomepageUrl":6,"ownerHtmlUrl":57,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":58,"install":59,"resources":72},"01M71J76R6NYER5R9B0QSYFJTB","open-pr",null,"Ship the current branch: update the documentation for the modules it touched, stage what the work taught into the memory store,\npush, open the pull request under the repo's git rules, and put it through a posted panel review that loops until every\nthread is answered. Usable on its own for any finished branch, and the step `implement-handoff` forks to once its review loop\ncomes back clean. Trigger on \"open a PR\", \"open the PR for this branch\", \"ship this branch\", \"raise a pull request\", \"let's get\nthis reviewed\".","pedromvgomes\u002Fagentic-toolkit","pedromvgomes","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1675436?v=4","01M71J6N3KV6ZE9291VKGCR29J","Pedro Gomes","01M71J6N4SG1E3B2DP5PWM8J22",0,"MIT","https:\u002F\u002Fgithub.com\u002Fpedromvgomes\u002Fagentic-toolkit\u002Fblob\u002Fmain\u002Fdefinitions\u002Fskills\u002Fopen-pr\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"pr","open pr","open","work","title","request","loops","get","back","pr title","clean","modules","branch","review","reviewer","loop","code-review","code","documentation","memory","2026-11-10 10:12:30",false,"---\nname: open-pr\ndescription: |\n  Ship the current branch: update the documentation for the modules it touched, stage what the work taught into the memory store,\n  push, open the pull request under the repo's git rules, and put it through a posted panel review that loops until every\n  thread is answered. Usable on its own for any finished branch, and the step `implement-handoff` forks to once its review loop\n  comes back clean. Trigger on \"open a PR\", \"open the PR for this branch\", \"ship this branch\", \"raise a pull request\", \"let's get\n  this reviewed\".\nrequires:\n  - agents\u002Fwrap-session-reviewer\n  - skills\u002Fpanel-code-review\n  - skills\u002Freview-pull-request\n  - instructions\u002Fgit\nextensions:\n  claude:\n    argument_hint: \"[pr title]\"\n---\n\n# Open PR\n\nTurn a finished branch into a pull request that has been documented, reviewed and recorded.\n\nThe order matters and is not negotiable: everything that changes the branch happens\n**before the pull request exists**. Documentation written after `gh pr create` lands outside\nthe change it describes, and findings staged afterwards belong to a session that has already\nended.\n\n## 0 — Refuse the obvious mistakes\n\nStop, and say which applies, if any of these hold:\n\n- The current branch is the default branch. A pull request needs somewhere to come from.\n- Nothing separates this branch from its base. There is no change to open.\n- A pull request is already open for this branch. Say so, give its URL, and stop — re-reviewing\n  an open PR is `panel-code-review`'s to do directly, and opening a second is not a thing to\n  recover from.\n\nFollow the repo's git rules for everything below: establish the layout, read the GitHub user\nfrom the root `.envrc` before any `gh` call, and never merge.\n\n## 1 — Documentation, before anything is pushed\n\nDispatch the `wrap-session-reviewer` subagent with:\n\n- `scope`: `branch_commits` — the commits on this branch that are not on the default branch.\n  This is the only scope that means anything here. Do not ask which scope to use; `wrap-session`\n  asks because a session being wrapped might not be a branch being shipped, and this one is.\n- `repo_root`: the absolute repository root.\n- `session_summary`: one to three sentences on what this branch does, at the level of themes and\n  modules touched.\n\nShow what it reports, unedited. If it wrote nothing, say so and continue — a branch that\nwarrants no documentation change is an ordinary outcome, not a problem.\n\n## 2 — Stage what the work taught, before the context is gone\n\n```bash\nagtk memory stats --json\n```\n\nIf `agtk` is missing, the command exits non-zero, or the output carries no `root`, skip this\nsection entirely and say nothing about it. The repo has not adopted a memory store or cannot\nreach one, and inventing a path loses the finding silently.\n\nOtherwise go through what this branch cost you to learn, and stage the entries that are\n**durable facts about the codebase** and **can name a file they came from**. Both, not either:\n\n| Stage it | Leave it out |\n|---|---|\n| The hook's `fail_closed` parses and never reaches settings.json | This branch took three passes to converge |\n| Stack self-sufficiency is enforced, so a `requires:` must also be listed | Rebase before pushing |\n| Approach X was tried against `resolver.go` and reverted because Y | The tests are slow |\n\nThe right-hand column is true and is not a fact about the codebase. A note must carry at least\none anchor, so an entry with no file to point at cannot become one however useful it is —\nstaging it only buys a rejection later.\n\nOne file per finding, at `\u003Croot>\u002Fcandidates\u002F\u003CYYYYMMDD>-\u003Cshort-slug>.md`, carrying `about`, `saw`\nand a body with a pointer for every claim. No `targets` or `verdict`: these are new findings,\nnot re-checks.\n\nAlways wrap `about` in double quotes (escape any double quote inside as `\\\"`). The front matter\nis YAML, and an unquoted colon inside the value (`about: the flag: off by default`) makes the\ncandidate unparseable, so it drops out of the backlog and is never curated.\n\nAfter staging, run:\n\n```bash\nagtk memory lint\n```\n\nIt reports every candidate it cannot read, with the file and the YAML error, and exits non-zero\nwhile any remains. Fix what it names before committing.\n\nThen look at what is **already** in `candidates\u002F`. A finding staged before this branch was\nwritten was staged against code that has since moved, and a branch that renames or deletes what\none names leaves a finding that still reads as true. The curator is fed the candidates and the\nmatching slice of the index and **not the code**, so it has nothing to catch that with: a\ncandidate naming a symbol you just deleted reads to it exactly like one naming a symbol that is\nstill there. Promotion writes it into `notes\u002F`, where a wrong claim is most expensive.\n\nYou are the last reader who can tell. Rewrite such a candidate to what now holds, or delete it\nwhen the branch removed its subject outright, and say which you did and why. Leaving it is not\nthe neutral option — it is the choice that lets the false claim through.\n\nThis is not an exception to the rule below. `candidates\u002F` is the staging area every producer\nwrites to, and it is not `notes\u002F`.\n\n**Never write, edit, stamp or delete a note**, and never run `agtk memory anchor` or\n`agtk memory index`. `notes\u002F` has exactly one writer and it runs from `\u002Fmemory-curate`\n(ADR 0003). Say in your output that candidates are waiting.\n\nThen record the reads this session made, so they travel with the branch. First check that the\ninstalled `agtk` knows the subcommand. The probe asks for the `fold` help because an older `agtk`\nanswers `memory hits --help` with the parent `memory` help and exits 0:\n\n```bash\nagtk memory hits fold --help 2>&1 | grep -q -- '--check'\n```\n\nIf that fails, the binary predates it: skip the fold, say so in one line, and carry on. Otherwise:\n\n```bash\nagtk memory hits fold\n```\n\nIt moves the local hit log into one shard under `\u003Croot>\u002Fhits\u002F` and empties the log. `agtk`\nnever commits, so the shard is left for the next step.\n\n## 3 — Commit and push\n\nCommit anything the steps above produced, candidates and the hits shard included, as its own\ncommit, conventional like the rest.\n\nIf the memory store was in play, check that nothing under it is left behind:\n\n```bash\ngit status --short -- \u003Croot>\n```\n\nIt must print nothing. A fold or a staged candidate that was never committed is lost with the\ncontainer, so commit what it lists, or say why you did not, before pushing.\n\nPush the branch and set upstream if it has none.\n\n## 4 — Open it\n\nThe title is a conventional-commit subject, because squash merge makes it a subject on the\ndefault branch and no commit message underneath can correct it. Take it from the argument if\none was given; otherwise derive it from the branch's commits.\n\nThe body says what the change does and why, and links whatever it closes. It carries no\nco-authorship trailer and no link back to the session that produced it.\n\nReport the URL.\n\n## 5 — Review it, posted\n\nInvoke `panel-code-review` on the pull request just opened, with `--no-fix`: fixing is the next\nstep's, and a question here about whether to fix would stop a run that has nobody to answer it.\n\nThis is a second reading, not a repeat of any local one: the review manifest's defaults put a\npull request on a different panel from a working tree, so the change is read by a model that\nhas not seen it. Report the posted review's URL and how many findings landed.\n\n## 6 — Converge it\n\nInvoke `review-pull-request \u003CN>`. The review just posted is its first pass: every thread it\nopened gets fixed or answered, the fixes are pushed, and the next pass reads only what they\nchanged, until nothing is waiting or the loop stops for another reason.\n\nReport its outcome as it gave it: the passes, what each cost, every false-positive marking the\nagent posted, and the threads waiting for a person to resolve. Anything but clean means the\npull request is open and not ready, so say that and do not describe the branch as shipped.\n\n## What this skill never does\n\nIt never approves and never merges — approval is a separate act with its own subcommand, and\nno flag here reaches it.\n\nIt never marks a handoff consumed. A caller that reads a handoff owns that bookkeeping, because\nthis skill runs on branches that never had one.\n","# Open PR\n\nTurn a finished branch into a pull request that has been documented, reviewed and recorded.\n\nThe order matters and is not negotiable: everything that changes the branch happens\n**before the pull request exists**. Documentation written after `gh pr create` lands outside\nthe change it describes, and findings staged afterwards belong to a session that has already\nended.\n\n## 0 — Refuse the obvious mistakes\n\nStop, and say which applies, if any of these hold:\n\n- The current branch is the default branch. A pull request needs somewhere to come from.\n- Nothing separates this branch from its base. There is no change to open.\n- A pull request is already open for this branch. Say so, give its URL, and stop — re-reviewing\n  an open PR is `panel-code-review`'s to do directly, and opening a second is not a thing to\n  recover from.\n\nFollow the repo's git rules for everything below: establish the layout, read the GitHub user\nfrom the root `.envrc` before any `gh` call, and never merge.\n\n## 1 — Documentation, before anything is pushed\n\nDispatch the `wrap-session-reviewer` subagent with:\n\n- `scope`: `branch_commits` — the commits on this branch that are not on the default branch.\n  This is the only scope that means anything here. Do not ask which scope to use; `wrap-session`\n  asks because a session being wrapped might not be a branch being shipped, and this one is.\n- `repo_root`: the absolute repository root.\n- `session_summary`: one to three sentences on what this branch does, at the level of themes and\n  modules touched.\n\nShow what it reports, unedited. If it wrote nothing, say so and continue — a branch that\nwarrants no documentation change is an ordinary outcome, not a problem.\n\n## 2 — Stage what the work taught, before the context is gone\n\n```bash\nagtk memory stats --json\n```\n\nIf `agtk` is missing, the command exits non-zero, or the output carries no `root`, skip this\nsection entirely and say nothing about it. The repo has not adopted a memory store or cannot\nreach one, and inventing a path loses the finding silently.\n\nOtherwise go through what this branch cost you to learn, and stage the entries that are\n**durable facts about the codebase** and **can name a file they came from**. Both, not either:\n\n| Stage it | Leave it out |\n|---|---|\n| The hook's `fail_closed` parses and never reaches settings.json | This branch took three passes to converge |\n| Stack self-sufficiency is enforced, so a `requires:` must also be listed | Rebase before pushing |\n| Approach X was tried against `resolver.go` and reverted because Y | The tests are slow |\n\nThe right-hand column is true and is not a fact about the codebase. A note must carry at least\none anchor, so an entry with no file to point at cannot become one however useful it is —\nstaging it only buys a rejection later.\n\nOne file per finding, at `\u003Croot>\u002Fcandidates\u002F\u003CYYYYMMDD>-\u003Cshort-slug>.md`, carrying `about`, `saw`\nand a body with a pointer for every claim. No `targets` or `verdict`: these are new findings,\nnot re-checks.\n\nAlways wrap `about` in double quotes (escape any double quote inside as `\\\"`). The front matter\nis YAML, and an unquoted colon inside the value (`about: the flag: off by default`) makes the\ncandidate unparseable, so it drops out of the backlog and is never curated.\n\nAfter staging, run:\n\n```bash\nagtk memory lint\n```\n\nIt reports every candidate it cannot read, with the file and the YAML error, and exits non-zero\nwhile any remains. Fix what it names before committing.\n\nThen look at what is **already** in `candidates\u002F`. A finding staged before this branch was\nwritten was staged against code that has since moved, and a branch that renames or deletes what\none names leaves a finding that still reads as true. The curator is fed the candidates and the\nmatching slice of the index and **not the code**, so it has nothing to catch that with: a\ncandidate naming a symbol you just deleted reads to it exactly like one naming a symbol that is\nstill there. Promotion writes it into `notes\u002F`, where a wrong claim is most expensive.\n\nYou are the last reader who can tell. Rewrite such a candidate to what now holds, or delete it\nwhen the branch removed its subject outright, and say which you did and why. Leaving it is not\nthe neutral option — it is the choice that lets the false claim through.\n\nThis is not an exception to the rule below. `candidates\u002F` is the staging area every producer\nwrites to, and it is not `notes\u002F`.\n\n**Never write, edit, stamp or delete a note**, and never run `agtk memory anchor` or\n`agtk memory index`. `notes\u002F` has exactly one writer and it runs from `\u002Fmemory-curate`\n(ADR 0003). Say in your output that candidates are waiting.\n\nThen record the reads this session made, so they travel with the branch. First check that the\ninstalled `agtk` knows the subcommand. The probe asks for the `fold` help because an older `agtk`\nanswers `memory hits --help` with the parent `memory` help and exits 0:\n\n```bash\nagtk memory hits fold --help 2>&1 | grep -q -- '--check'\n```\n\nIf that fails, the binary predates it: skip the fold, say so in one line, and carry on. Otherwise:\n\n```bash\nagtk memory hits fold\n```\n\nIt moves the local hit log into one shard under `\u003Croot>\u002Fhits\u002F` and empties the log. `agtk`\nnever commits, so the shard is left for the next step.\n\n## 3 — Commit and push\n\nCommit anything the steps above produced, candidates and the hits shard included, as its own\ncommit, conventional like the rest.\n\nIf the memory store was in play, check that nothing under it is left behind:\n\n```bash\ngit status --short -- \u003Croot>\n```\n\nIt must print nothing. A fold or a staged candidate that was never committed is lost with the\ncontainer, so commit what it lists, or say why you did not, before pushing.\n\nPush the branch and set upstream if it has none.\n\n## 4 — Open it\n\nThe title is a conventional-commit subject, because squash merge makes it a subject on the\ndefault branch and no commit message underneath can correct it. Take it from the argument if\none was given; otherwise derive it from the branch's commits.\n\nThe body says what the change does and why, and links whatever it closes. It carries no\nco-authorship trailer and no link back to the session that produced it.\n\nReport the URL.\n\n## 5 — Review it, posted\n\nInvoke `panel-code-review` on the pull request just opened, with `--no-fix`: fixing is the next\nstep's, and a question here about whether to fix would stop a run that has nobody to answer it.\n\nThis is a second reading, not a repeat of any local one: the review manifest's defaults put a\npull request on a different panel from a working tree, so the change is read by a model that\nhas not seen it. Report the posted review's URL and how many findings landed.\n\n## 6 — Converge it\n\nInvoke `review-pull-request \u003CN>`. The review just posted is its first pass: every thread it\nopened gets fixed or answered, the fixes are pushed, and the next pass reads only what they\nchanged, until nothing is waiting or the loop stops for another reason.\n\nReport its outcome as it gave it: the passes, what each cost, every false-positive marking the\nagent posted, and the threads waiting for a person to resolve. Anything but clean means the\npull request is open and not ready, so say that and do not describe the branch as shipped.\n\n## What this skill never does\n\nIt never approves and never merges — approval is a separate act with its own subcommand, and\nno flag here reaches it.\n\nIt never marks a handoff consumed. A caller that reads a handoff owns that bookkeeping, because\nthis skill runs on branches that never had one.\n",{"name":5,"requires":44,"extensions":49,"description":52},[45,46,47,48],"agents\u002Fwrap-session-reviewer","skills\u002Fpanel-code-review","skills\u002Freview-pull-request","instructions\u002Fgit",{"claude":50},{"argument_hint":51},"[pr title]","Ship the current branch: update the documentation for the modules it touched, stage what the work taught into the memory store,\npush, open the pull request under the repo's git rules, and put it through a posted panel review that loops until every\nthread is answered. Usable on its own for any finished branch, and the step `implement-handoff` forks to once its review loop\ncomes back clean. Trigger on \"open a PR\", \"open the PR for this branch\", \"ship this branch\", \"raise a pull request\", \"let's get\nthis reviewed\".\n","main","1b7c664629c06c5cf03e54d6525818588ae28b19","definitions\u002Fskills\u002Fopen-pr","https:\u002F\u002Fgithub.com\u002Fpedromvgomes\u002Fagentic-toolkit","https:\u002F\u002Fgithub.com\u002Fpedromvgomes","2026-10-20 13:33:49",{"source":8,"skillName":5,"commands":60,"prompt":70,"zipAvailable":71},[61,64,67],{"tool":62,"command":63},"npx","npx skills add pedromvgomes\u002Fagentic-toolkit --skill open-pr",{"tool":65,"command":66},"bunx","bunx skills add pedromvgomes\u002Fagentic-toolkit --skill open-pr",{"tool":68,"command":69},"pnpm","pnpm dlx skills add pedromvgomes\u002Fagentic-toolkit --skill open-pr","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fpedromvgomes\u002Fagentic-toolkit\u002Fblob\u002Fmain\u002Fdefinitions\u002Fskills\u002Fopen-pr\u002FSKILL.md",true,[],[74,90,100,116,126,134],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":39},"01M71J8QDJVQ4W5RCR5MM54505","challenge","Stress-test a plan through one-question-at-a-time interviewing.","https:\u002F\u002Fgithub.com\u002Fpedromvgomes\u002Fagentic-toolkit\u002Fblob\u002Fmain\u002Fsource\u002Ftoolkit\u002Finternal\u002Fresolver\u002Ftests\u002Ftestdata\u002Fprimary\u002Fdefinitions\u002Fskills\u002Fchallenge\u002FSKILL.md",[],[76,81,82,83,84,85,86,87,88,89],"stress","time","question","interviewing","stress-test","one","test","plan","at",{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":39},"01M71J8PEYQ95HPKR924PT132W","skill-creator","Skill-creator external bundle.","https:\u002F\u002Fgithub.com\u002Fpedromvgomes\u002Fagentic-toolkit\u002Fblob\u002Fmain\u002Fsource\u002Ftoolkit\u002Finternal\u002Fresolver\u002Ftests\u002Ftestdata\u002Fexternal\u002Fskill-creator\u002FSKILL.md",[],[97,98,99,92],"creator","skill creator","bundle",{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":39},"01M71J8NFBH2HTB4690QHJ6Z9F","example","An example skill used by parser tests.","https:\u002F\u002Fgithub.com\u002Fpedromvgomes\u002Fagentic-toolkit\u002Fblob\u002Fmain\u002Fsource\u002Ftoolkit\u002Finternal\u002Fdefinitions\u002Ftests\u002Ftestdata\u002Fvalid\u002Fdefinitions\u002Fskills\u002Fexample\u002FSKILL.md",[],[102,107,108,109,110,111,112,113,114,115],"grep","parser","read","cursor","goal","example skill","demo","tests","true",{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":39},"01M71J8MGJVK5HACJXYAEK14SC","unknown-field","Has a field the schema doesn't recognize.","https:\u002F\u002Fgithub.com\u002Fpedromvgomes\u002Fagentic-toolkit\u002Fblob\u002Fmain\u002Fsource\u002Ftoolkit\u002Finternal\u002Fdefinitions\u002Ftests\u002Ftestdata\u002Finvalid\u002Fdefinitions\u002Fskills\u002Funknown-field\u002FSKILL.md",[],[123,124,125],"unknown field","unknown","schema",{"skillNo":127,"name":128,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":129,"categories":130,"keywords":131,"publishedAt":39},"01M71J8KMKFZN9T16HPHJ3QZBZ","unclosed-frontmatter","https:\u002F\u002Fgithub.com\u002Fpedromvgomes\u002Fagentic-toolkit\u002Fblob\u002Fmain\u002Fsource\u002Ftoolkit\u002Finternal\u002Fdefinitions\u002Ftests\u002Ftestdata\u002Finvalid\u002Fdefinitions\u002Fskills\u002Funclosed-frontmatter\u002FSKILL.md",[],[132,133],"frontmatter","unclosed frontmatter",{"skillNo":135,"name":136,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":137,"categories":138,"keywords":139,"publishedAt":39},"01M71J8JRFKWKK32SBA8EPC1YA","no-frontmatter","https:\u002F\u002Fgithub.com\u002Fpedromvgomes\u002Fagentic-toolkit\u002Fblob\u002Fmain\u002Fsource\u002Ftoolkit\u002Finternal\u002Fdefinitions\u002Ftests\u002Ftestdata\u002Finvalid\u002Fdefinitions\u002Fskills\u002Fno-frontmatter\u002FSKILL.md",[],[140,132],"no frontmatter"]