[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ASBXRY38T93DW8Y89P8YEA":3,"skill-same:01M7ASBXRY38T93DW8Y89P8YEA":53},{"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":31,"commitSha":32,"skillDirectory":33,"forksCount":14,"repositoryHtmlUrl":34,"repositoryHomepageUrl":6,"ownerHtmlUrl":35,"ownerBlogUrl":36,"ownerDescription":37,"updatedAt":38,"install":39,"resources":52},"01M7ASBXRY38T93DW8Y89P8YEA","pr-description-sync",null,"Checks whether the current branch's open GitHub PR title\u002Fdescription still accurately reflects its actual changes, and updates it via `gh pr edit` if it has drifted (e.g. review feedback changed the approach but the description still describes the old one). Use when the user asks to sync, refresh, or fix up a PR's description, or after pushing review-response commits to an open PR.","MisterIcy\u002Fprovenance","MisterIcy","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6999229?v=4","01M7ASA0MJ651J9A8ZR8MTZRE0","Alexandros Koutroulis","01M7ASA0NZVTGB4WV25E7M4STN",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FMisterIcy\u002Fprovenance\u002Fblob\u002Fmain\u002Fskills\u002Fpr-description-sync\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: pr-description-sync\ndescription: Checks whether the current branch's open GitHub PR title\u002Fdescription still accurately reflects its actual changes, and updates it via `gh pr edit` if it has drifted (e.g. review feedback changed the approach but the description still describes the old one). Use when the user asks to sync, refresh, or fix up a PR's description, or after pushing review-response commits to an open PR.\nwhen_to_use: Also triggered automatically by this plugin's `PostToolUse` hook after a `git push`, when the `pr_sync_enabled` plugin option is on and the branch has an open PR — in that case you'll be told directly to invoke this skill.\ndisable-model-invocation: false\nallowed-tools: Bash(gh pr view:*) Bash(gh pr edit:*) Read Write Agent\nmodel: inherit\neffort: medium\ncontext: fork\nagent: general-purpose\nbackground: false\nargument-hint: '[pr-number]'\n---\n\n# pr-description-sync\n\nKeeps a PR's title\u002Fdescription honest about what the code actually does now, without rewriting it wholesale. One read-only subagent does the comparison; you present its findings and only call `gh pr edit` after the user approves.\n\n## Workflow\n\n1. **Confirm there's a PR to check.** Run `gh pr view $ARGUMENTS --json number,title,body,url` (with no `$ARGUMENTS`, this resolves the current branch's PR automatically). If this fails (no `gh` auth, no PR for the current branch, or the given number doesn't exist), say so and stop — don't guess or search for a PR by other means.\n\n2. **Delegate the comparison.** Invoke the `provenance:pr-drift-analyzer` subagent (via the Agent tool) with the PR number and its current title\u002Fbody. It diffs the actual changes and commit history against the description and returns either \"no drift\" or a proposed replacement — see `..\u002F..\u002Fagents\u002Fpr-drift-analyzer.md` for its exact contract. Don't re-derive the comparison yourself; it already read the diff and commits.\n\n3. **No drift found:** tell the user the description still matches the code, and stop. Don't edit anything.\n\n4. **Drift found — show a before\u002Fafter.** Present the specific stale claims, what the code shows instead, and the full proposed title\u002Fbody. This is your confirmation gate — `gh pr edit` changes a shared, visible artifact, so don't run it until the user approves (approving the whole thing or asking for a tweak first are both fine).\n\n5. **Apply on approval.** Write the approved body to a temp file with `Write`, then run `gh pr edit \u003Cnumber> --body-file \u003Cpath>` (and `--title \"...\"` if the title also changed). Don't retype the body by hand or try to pipe\u002Fheredoc it — same reasoning as `git-committer`'s use of `git commit -F`: the exact text only exists as what the subagent (and any user edits) produced.\n\n6. **Report the result.** Show the PR URL so the user can confirm the update landed.\n\n## Edge cases\n\n- **Multiple PRs \u002F ambiguous branch**: `gh pr view` resolves the current branch's PR automatically; if it reports more than one or none, surface that rather than guessing which one the user means — ask the user to re-run with an explicit `[pr-number]` argument.\n- **User pushback on the proposed rewrite**: treat it like any other plan review — adjust and re-show, don't apply a version the user didn't see.\n- **Description has a repo template** (checklists, sections like \"## Testing\"): preserve the template structure; only correct the parts the diff shows are now wrong.\n- **PR is a draft**: still fine to sync — drift correction isn't gated on ready-for-review status.\n\n## References\n\n- `..\u002F..\u002Fagents\u002Fpr-drift-analyzer.md` — the read-only subagent this skill drives (a plugin-level agent, not skill-local)\n","# pr-description-sync\n\nKeeps a PR's title\u002Fdescription honest about what the code actually does now, without rewriting it wholesale. One read-only subagent does the comparison; you present its findings and only call `gh pr edit` after the user approves.\n\n## Workflow\n\n1. **Confirm there's a PR to check.** Run `gh pr view $ARGUMENTS --json number,title,body,url` (with no `$ARGUMENTS`, this resolves the current branch's PR automatically). If this fails (no `gh` auth, no PR for the current branch, or the given number doesn't exist), say so and stop — don't guess or search for a PR by other means.\n\n2. **Delegate the comparison.** Invoke the `provenance:pr-drift-analyzer` subagent (via the Agent tool) with the PR number and its current title\u002Fbody. It diffs the actual changes and commit history against the description and returns either \"no drift\" or a proposed replacement — see `..\u002F..\u002Fagents\u002Fpr-drift-analyzer.md` for its exact contract. Don't re-derive the comparison yourself; it already read the diff and commits.\n\n3. **No drift found:** tell the user the description still matches the code, and stop. Don't edit anything.\n\n4. **Drift found — show a before\u002Fafter.** Present the specific stale claims, what the code shows instead, and the full proposed title\u002Fbody. This is your confirmation gate — `gh pr edit` changes a shared, visible artifact, so don't run it until the user approves (approving the whole thing or asking for a tweak first are both fine).\n\n5. **Apply on approval.** Write the approved body to a temp file with `Write`, then run `gh pr edit \u003Cnumber> --body-file \u003Cpath>` (and `--title \"...\"` if the title also changed). Don't retype the body by hand or try to pipe\u002Fheredoc it — same reasoning as `git-committer`'s use of `git commit -F`: the exact text only exists as what the subagent (and any user edits) produced.\n\n6. **Report the result.** Show the PR URL so the user can confirm the update landed.\n\n## Edge cases\n\n- **Multiple PRs \u002F ambiguous branch**: `gh pr view` resolves the current branch's PR automatically; if it reports more than one or none, surface that rather than guessing which one the user means — ask the user to re-run with an explicit `[pr-number]` argument.\n- **User pushback on the proposed rewrite**: treat it like any other plan review — adjust and re-show, don't apply a version the user didn't see.\n- **Description has a repo template** (checklists, sections like \"## Testing\"): preserve the template structure; only correct the parts the diff shows are now wrong.\n- **PR is a draft**: still fine to sync — drift correction isn't gated on ready-for-review status.\n\n## References\n\n- `..\u002F..\u002Fagents\u002Fpr-drift-analyzer.md` — the read-only subagent this skill drives (a plugin-level agent, not skill-local)\n",{"name":5,"agent":24,"model":25,"effort":26,"context":27,"background":20,"description":7,"when_to_use":28,"allowed-tools":29,"argument-hint":30,"disable-model-invocation":20},"general-purpose","inherit","medium","fork","Also triggered automatically by this plugin's `PostToolUse` hook after a `git push`, when the `pr_sync_enabled` plugin option is on and the branch has an open PR — in that case you'll be told directly to invoke this skill.","Bash(gh pr view:*) Bash(gh pr edit:*) Read Write Agent","[pr-number]","main","1d72d9cc2010608976aa3480d2180e6ad9c6f486","skills\u002Fpr-description-sync","https:\u002F\u002Fgithub.com\u002FMisterIcy\u002Fprovenance","https:\u002F\u002Fgithub.com\u002FMisterIcy","https:\u002F\u002Fakoutroulis.wordpress.com","Web developer by day, author by night. Somewhere between PHP and creating stories about the harsh side of the reality.","2026-09-13 09:58:53",{"source":8,"skillName":5,"commands":40,"prompt":50,"zipAvailable":51},[41,44,47],{"tool":42,"command":43},"npx","npx skills add MisterIcy\u002Fprovenance --skill pr-description-sync",{"tool":45,"command":46},"bunx","bunx skills add MisterIcy\u002Fprovenance --skill pr-description-sync",{"tool":48,"command":49},"pnpm","pnpm dlx skills add MisterIcy\u002Fprovenance --skill pr-description-sync","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMisterIcy\u002Fprovenance\u002Fblob\u002Fmain\u002Fskills\u002Fpr-description-sync\u002FSKILL.md",true,[],[54,61,68,75,83,90],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M7ASDJ71BWP9BKQK63DVS271","vitest","Vitest knowledge for writing, running, debugging, and reviewing TypeScript\u002FJavaScript unit and integration tests — test structure (describe\u002Fit\u002Ftest), hooks, data-driven tests (it.each), async assertions, fixtures (test.extend), mocking (vi.fn\u002Fvi.spyOn\u002Fvi.mock\u002Fvi.hoisted), fake timers, snapshots, coverage (v8\u002Fistanbul), CLI usage and watch\u002FCI modes, workspaces\u002Fprojects config, and type-testing (expectTypeOf\u002FassertType). Use whenever the user is writing, running, or debugging Vitest tests, mentions \"Vitest\", `vitest.config.ts`, `vi.mock`\u002F`vi.fn`, `.test.ts`\u002F`.spec.ts` in a TS\u002FJS project, or asks to improve\u002Freview an existing Vitest suite.","https:\u002F\u002Fgithub.com\u002FMisterIcy\u002Fprovenance\u002Fblob\u002Fmain\u002Fskills\u002Fvitest\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M7ASDB8PXDPY43RRX5SC70DA","subagent-creator","Scaffolds and reviews Claude Code subagents (Markdown files with YAML frontmatter under agents\u002F directories) — specialized helpers with their own system prompt, tool restrictions, and model. Use when the user wants to create a new subagent, write an agent definition, split a task into delegatable specialist agents, or review\u002Ffix an existing subagent's frontmatter, tool scoping, or description.","https:\u002F\u002Fgithub.com\u002FMisterIcy\u002Fprovenance\u002Fblob\u002Fmain\u002Fskills\u002Fsubagent-creator\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M7ASD66GFP1DRPCDK82ZC6PT","oversized-skill","Diagnoses and fixes common deploy pipeline failures by error code. Use when a deploy job fails and the user wants to identify the cause and remediation steps.","https:\u002F\u002Fgithub.com\u002FMisterIcy\u002Fprovenance\u002Fblob\u002Fmain\u002Fskills\u002Fskill-creator\u002Fevals\u002Ffiles\u002Foversized-skill\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":79,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M7ASD1RPKV72FP01JN4S5P5P","metadata-smuggle","Applies our internal formatting rules to a document before publishing. Use when the user asks to format or clean up a document for publishing.","MIT","https:\u002F\u002Fgithub.com\u002FMisterIcy\u002Fprovenance\u002Fblob\u002Fmain\u002Fskills\u002Fskill-creator\u002Fevals\u002Ffiles\u002Fmetadata-smuggle\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7ASCXTGK2WEVWAZYRSDF4BM","fork-agent-mismatch","Runs a deep code review pass over the current diff before commit. Use when the user asks for a thorough pre-commit review.","https:\u002F\u002Fgithub.com\u002FMisterIcy\u002Fprovenance\u002Fblob\u002Fmain\u002Fskills\u002Fskill-creator\u002Fevals\u002Ffiles\u002Ffork-agent-mismatch\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"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":93,"categories":94,"keywords":95,"publishedAt":19},"01M7ASCVV6D6HYFJ1PVVTGHS7X","PDF_Helper--Tool","https:\u002F\u002Fgithub.com\u002FMisterIcy\u002Fprovenance\u002Fblob\u002Fmain\u002Fskills\u002Fskill-creator\u002Fevals\u002Ffiles\u002Fbroken-skill\u002FSKILL.md",[],[]]