[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C61F57A9G5FTPC9ZF80R7T":3,"skill-same:01M6C61F57A9G5FTPC9ZF80R7T":85},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":54,"linkOnly":55,"markdownContent":56,"markdownBody":57,"frontMatter":58,"refName":63,"commitSha":64,"skillDirectory":65,"forksCount":66,"repositoryHtmlUrl":67,"repositoryHomepageUrl":17,"ownerHtmlUrl":68,"ownerBlogUrl":17,"ownerDescription":69,"updatedAt":70,"install":71,"resources":84},"01M6C61F57A9G5FTPC9ZF80R7T","upstream-pr-contribution","上游仓库 PR 贡献","Opening a pull request against a repository you do not own. Use when about to open one, to read CONTRIBUTING.md and the PR template in full and meet the contribution gates bots enforce.","向自己不拥有的仓库提交拉取请求（PR）。在准备提交 PR 时使用，需完整阅读 CONTRIBUTING.md 和 PR 模板，并满足机器人强制执行的贡献门槛。","laurigates\u002Fclaude-plugins","laurigates","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F13014001?v=4","01M6C59YHWS9C7KMXKSRX1YXNP","Lauri Gates","01M6C59YP2APG9YAM4DWYQYGFJ",60,"MIT",null,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fgit-plugin\u002Fskills\u002Fupstream-pr-contribution\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BR5V701HCN066VEP7H4812","代码仓库协作管理","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53],"pr","upstream pr contribution","contribution","upstream","request","gates","you","when","Meet","enforce","bots","sep","do","Bash","use","open","grep","repository","read","pull request","contributing","template","pull","2026-11-10 10:12:30",false,"---\nname: upstream-pr-contribution\ndescription: \"Opening a pull request against a repository you do not own. Use when about to open one, to read CONTRIBUTING.md and the PR template in full and meet the contribution gates bots enforce.\"\nallowed-tools: Bash, Read, Grep, Glob, TodoWrite\ncreated: 2026-08-06\nmodified: 2026-11-12\nreviewed: 2026-09-12\n---\n\n# Read CONTRIBUTING.md in Full Before an Upstream PR — the Gates Live Below the Fold\n\nBefore opening a PR against a repo you don't own, read **all** of\n`CONTRIBUTING.md` and the **PR template**, not the first screenful. The\nwelcoming \"here's what we merge\" list is at the top; the *gates* — the\nrequirements that get a PR auto-closed by a bot — are typically 150+ lines\ndown, past the local-dev setup. A `head -60` read looks like due diligence and\nmisses them entirely.\n\n## When to Use This Skill\n\n| Use this skill when... | Use something else when... |\n|---|---|\n| About to open a PR against a repo you don't own | Opening a PR in your own repo → `git-pr` |\n| Writing the description for that PR | Scoping the work from the upstream issue thread → `git-issue-scoping` |\n| A bot flagged the PR within a minute of opening | The fork has diverged and the commit won't rebase cleanly → `git-upstream-pr-diverged` |\n\n## The two gate classes a truncated read misses\n\n| Gate | What it demands | Failure mode |\n|---|---|---|\n| **Issue-first policy** | An issue must exist *before* the PR, linked via `Fixes #N` \u002F `Closes #N` in the description | A bot comments \"no linked issue\"; PR blocked or closed without review |\n| **Prose-style rules** | Short, plain-voiced descriptions written in your own words | *\"If you paste a large clearly AI generated description here your PR may be IGNORED or CLOSED\"* — no bot catches this; a human just stops reading |\n\nThe second is the one that doesn't announce itself. Compliance bots check for\na linked issue and for template sections; **nothing** flags an\nAI-shaped wall of text. It costs you the maintainer's attention silently, and\ngreen checks give false reassurance that the PR is in good shape.\n\n## The check — two API calls, before writing anything\n\n```sh\ngh api repos\u002F\u003Cowner>\u002F\u003Crepo>\u002Fcontents\u002FCONTRIBUTING.md --jq .content | base64 -d\ngh api repos\u002F\u003Cowner>\u002F\u003Crepo>\u002Fcontents\u002F.github\u002Fpull_request_template.md --jq .content | base64 -d\n```\n\nRead both **to the end**. Grep is not a substitute — you don't know the\nsection names in advance (`Issue First Policy`, `No AI-Generated Walls of\nText`, `General Requirements` are not terms you'd think to search for).\n\nAlso check for enforcement automation, which sets the clock you're working\nagainst:\n\n```sh\ngh pr view \u003Cn> -R \u003Cowner>\u002F\u003Crepo> --json comments --jq '.comments[]|\"\\(.author.login): \\(.body[0:200])\"'\ngh pr checks \u003Cn> -R \u003Cowner>\u002F\u003Crepo>\n```\n\n## Check the outcome, not the reaction\n\nThe contribution gates cover the PR's form; this one covers the evidence for\nthe fix. When the fix changes what a device, service or external system does,\nname the observable that shows the **outcome** (a reading, a stored value, an\noutput file, a returned field) and check it before opening the PR. A reaction\nis not that observable: the device moved, the endpoint returned 200, the\ncommand exited 0. Each says the system accepted the input, not that it did the\nintended thing.\n\nIf the outcome cannot be observed yet (no hardware at hand, no access to the\nservice), open the PR with `gh pr create --draft` and say in the description\nwhich observable is still unchecked.\n\n> Evidence (2026-11, `fablabnbg\u002Finkscape-silhouette#405`): a cutter sent a new\n> blade-depth command reported `moving` for 10 s, which was read as \"the command\n> works\", and the issue and PR were filed. The blade's own depth indicator later\n> showed it landing at 9, then 6, for a requested 1. The PR went back to draft,\n> and a second commit added the tool-select command the depth needed.\n\n## Writing the description\n\n- **Fill the template verbatim** — same headings, same order, checkboxes\n  ticked. Several repos auto-reject on missing sections.\n- **Halve it, then halve the framing.** Keep: what broke, the change, the\n  non-obvious implementation details, and the verification output. Cut:\n  restated context the maintainer already has, bolded lead-ins on every\n  paragraph, exhaustive rationale sections, \"Scope\"\u002F\"Notes\" appendices.\n- **Verification is not optional prose** — most templates ask *how you\n  verified it works* and *how a reviewer reproduces it*. Paste the actual\n  output (a runner log excerpt, a before\u002Fafter command), not a claim.\n- The house style for a portfolio-internal PR body (detailed, sectioned,\n  evidence-heavy) is **wrong** for an upstream one. Different audience,\n  different budget for your words.\n\n## Bots enforce on a deadline\n\nCompliance bots comment within ~60s of opening and frequently carry a hard\ntimer (*\"address the above within 2 hours, or it will be automatically\nclosed\"*). So **check the PR's comments shortly after opening it** rather than\nwalking away — an upstream PR is not done when `gh pr create` returns.\n\nFixing compliance re-runs the checks; the original bot comments **stay on the\nthread** and are not retracted. The checks, not the comments, are the live\nsignal — read `gh pr checks`, and note the newer run id.\n\n> Evidence (2026-07, `anomalyco\u002Fopencode#39147`): I read the first 60 lines of\n> CONTRIBUTING.md, concluded the PR \"fits their bug-fixes category\", and opened\n> it. Two bots fired in 60 seconds — missing linked issue, missing template\n> sections, 2-hour auto-close. Line 180 held an Issue First Policy; line 204\n> held \"No AI-Generated Walls of Text\", which the original description was a\n> textbook instance of. Recovered by opening issue #39163 and rewriting to the\n> template at roughly half the length, but the *style* violation would have\n> cost the PR its reading regardless of the green checks.\n\n## Relationship to sibling rules\n\n- `~\u002F.claude\u002Frules\u002Fread-issue-thread-before-contributing.md` — read the issue\n  *thread* before scoping the work. This rule is the next step: read the\n  *contribution gates* before opening the PR. Both are \"go to the primary\n  source, and don't stop at the summary.\"\n- `agent-patterns-plugin:harness-tool-errors` (Read refuses >25000 tokens;\n  page with offset\u002Flimit) — the mechanical habit that causes this: truncating a\n  long doc and treating the excerpt as the whole.\n- `github-metadata-hygiene.md` — the metadata checklist for repos *we* own;\n  upstream repos impose their own, stricter, and enforced by bot.\n\n## Rationale\n\nThe asymmetry is stark: reading two files to the end costs one minute, and\nskipping it costs a bot-blocked PR on a countdown, a scramble to open a\nretroactive issue, and — worse, because nothing reports it — a description\nwritten in exactly the register the maintainers said they ignore. The top of\nCONTRIBUTING.md is marketing; the bottom is the contract.\n","# Read CONTRIBUTING.md in Full Before an Upstream PR — the Gates Live Below the Fold\n\nBefore opening a PR against a repo you don't own, read **all** of\n`CONTRIBUTING.md` and the **PR template**, not the first screenful. The\nwelcoming \"here's what we merge\" list is at the top; the *gates* — the\nrequirements that get a PR auto-closed by a bot — are typically 150+ lines\ndown, past the local-dev setup. A `head -60` read looks like due diligence and\nmisses them entirely.\n\n## When to Use This Skill\n\n| Use this skill when... | Use something else when... |\n|---|---|\n| About to open a PR against a repo you don't own | Opening a PR in your own repo → `git-pr` |\n| Writing the description for that PR | Scoping the work from the upstream issue thread → `git-issue-scoping` |\n| A bot flagged the PR within a minute of opening | The fork has diverged and the commit won't rebase cleanly → `git-upstream-pr-diverged` |\n\n## The two gate classes a truncated read misses\n\n| Gate | What it demands | Failure mode |\n|---|---|---|\n| **Issue-first policy** | An issue must exist *before* the PR, linked via `Fixes #N` \u002F `Closes #N` in the description | A bot comments \"no linked issue\"; PR blocked or closed without review |\n| **Prose-style rules** | Short, plain-voiced descriptions written in your own words | *\"If you paste a large clearly AI generated description here your PR may be IGNORED or CLOSED\"* — no bot catches this; a human just stops reading |\n\nThe second is the one that doesn't announce itself. Compliance bots check for\na linked issue and for template sections; **nothing** flags an\nAI-shaped wall of text. It costs you the maintainer's attention silently, and\ngreen checks give false reassurance that the PR is in good shape.\n\n## The check — two API calls, before writing anything\n\n```sh\ngh api repos\u002F\u003Cowner>\u002F\u003Crepo>\u002Fcontents\u002FCONTRIBUTING.md --jq .content | base64 -d\ngh api repos\u002F\u003Cowner>\u002F\u003Crepo>\u002Fcontents\u002F.github\u002Fpull_request_template.md --jq .content | base64 -d\n```\n\nRead both **to the end**. Grep is not a substitute — you don't know the\nsection names in advance (`Issue First Policy`, `No AI-Generated Walls of\nText`, `General Requirements` are not terms you'd think to search for).\n\nAlso check for enforcement automation, which sets the clock you're working\nagainst:\n\n```sh\ngh pr view \u003Cn> -R \u003Cowner>\u002F\u003Crepo> --json comments --jq '.comments[]|\"\\(.author.login): \\(.body[0:200])\"'\ngh pr checks \u003Cn> -R \u003Cowner>\u002F\u003Crepo>\n```\n\n## Check the outcome, not the reaction\n\nThe contribution gates cover the PR's form; this one covers the evidence for\nthe fix. When the fix changes what a device, service or external system does,\nname the observable that shows the **outcome** (a reading, a stored value, an\noutput file, a returned field) and check it before opening the PR. A reaction\nis not that observable: the device moved, the endpoint returned 200, the\ncommand exited 0. Each says the system accepted the input, not that it did the\nintended thing.\n\nIf the outcome cannot be observed yet (no hardware at hand, no access to the\nservice), open the PR with `gh pr create --draft` and say in the description\nwhich observable is still unchecked.\n\n> Evidence (2026-11, `fablabnbg\u002Finkscape-silhouette#405`): a cutter sent a new\n> blade-depth command reported `moving` for 10 s, which was read as \"the command\n> works\", and the issue and PR were filed. The blade's own depth indicator later\n> showed it landing at 9, then 6, for a requested 1. The PR went back to draft,\n> and a second commit added the tool-select command the depth needed.\n\n## Writing the description\n\n- **Fill the template verbatim** — same headings, same order, checkboxes\n  ticked. Several repos auto-reject on missing sections.\n- **Halve it, then halve the framing.** Keep: what broke, the change, the\n  non-obvious implementation details, and the verification output. Cut:\n  restated context the maintainer already has, bolded lead-ins on every\n  paragraph, exhaustive rationale sections, \"Scope\"\u002F\"Notes\" appendices.\n- **Verification is not optional prose** — most templates ask *how you\n  verified it works* and *how a reviewer reproduces it*. Paste the actual\n  output (a runner log excerpt, a before\u002Fafter command), not a claim.\n- The house style for a portfolio-internal PR body (detailed, sectioned,\n  evidence-heavy) is **wrong** for an upstream one. Different audience,\n  different budget for your words.\n\n## Bots enforce on a deadline\n\nCompliance bots comment within ~60s of opening and frequently carry a hard\ntimer (*\"address the above within 2 hours, or it will be automatically\nclosed\"*). So **check the PR's comments shortly after opening it** rather than\nwalking away — an upstream PR is not done when `gh pr create` returns.\n\nFixing compliance re-runs the checks; the original bot comments **stay on the\nthread** and are not retracted. The checks, not the comments, are the live\nsignal — read `gh pr checks`, and note the newer run id.\n\n> Evidence (2026-07, `anomalyco\u002Fopencode#39147`): I read the first 60 lines of\n> CONTRIBUTING.md, concluded the PR \"fits their bug-fixes category\", and opened\n> it. Two bots fired in 60 seconds — missing linked issue, missing template\n> sections, 2-hour auto-close. Line 180 held an Issue First Policy; line 204\n> held \"No AI-Generated Walls of Text\", which the original description was a\n> textbook instance of. Recovered by opening issue #39163 and rewriting to the\n> template at roughly half the length, but the *style* violation would have\n> cost the PR its reading regardless of the green checks.\n\n## Relationship to sibling rules\n\n- `~\u002F.claude\u002Frules\u002Fread-issue-thread-before-contributing.md` — read the issue\n  *thread* before scoping the work. This rule is the next step: read the\n  *contribution gates* before opening the PR. Both are \"go to the primary\n  source, and don't stop at the summary.\"\n- `agent-patterns-plugin:harness-tool-errors` (Read refuses >25000 tokens;\n  page with offset\u002Flimit) — the mechanical habit that causes this: truncating a\n  long doc and treating the excerpt as the whole.\n- `github-metadata-hygiene.md` — the metadata checklist for repos *we* own;\n  upstream repos impose their own, stricter, and enforced by bot.\n\n## Rationale\n\nThe asymmetry is stark: reading two files to the end costs one minute, and\nskipping it costs a bot-blocked PR on a countdown, a scramble to open a\nretroactive issue, and — worse, because nothing reports it — a description\nwritten in exactly the register the maintainers said they ignore. The top of\nCONTRIBUTING.md is marketing; the bottom is the contract.\n",{"name":5,"created":59,"modified":60,"reviewed":61,"description":7,"allowed-tools":62},1785974400000,1794441600000,1789171200000,"Bash, Read, Grep, Glob, TodoWrite","main","b47840019d190aa9afa1fd8d6d42ddd584a45641","git-plugin\u002Fskills\u002Fupstream-pr-contribution",6,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins","https:\u002F\u002Fgithub.com\u002Flaurigates","Linux enthusiast, cloud engineer, neovim addict, electronics hobbyist.","2026-11-15 03:36:11",{"source":9,"skillName":5,"commands":72,"prompt":82,"zipAvailable":83},[73,76,79],{"tool":74,"command":75},"npx","npx skills add laurigates\u002Fclaude-plugins --skill upstream-pr-contribution",{"tool":77,"command":78},"bunx","bunx skills add laurigates\u002Fclaude-plugins --skill upstream-pr-contribution",{"tool":80,"command":81},"pnpm","pnpm dlx skills add laurigates\u002Fclaude-plugins --skill upstream-pr-contribution","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fgit-plugin\u002Fskills\u002Fupstream-pr-contribution\u002FSKILL.md",true,[],[86,94,116,137,153,176],{"skillNo":87,"name":88,"nameZh":17,"description":89,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":93},"01M7DS1CAJ1ESDX08PENF01J0S","session-workflow-capture","Workflow-tool scripts and workflow friction from this session, filed as issues here or in the plugins repo. Use when a session ran Workflow scripts.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fsession-plugin\u002Fskills\u002Fsession-workflow-capture\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":95,"name":96,"nameZh":17,"description":97,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":54},"01M70PFHMH9ADY0CRE6047Y4B2","kitty-show-image","Show the user an image with a note on what to judge, via a file send or a labelled kitty tab. Use when the user must see an image, or icat fails with no \u002Fdev\u002Ftty.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fkitty-plugin\u002Fskills\u002Fkitty-show-image\u002FSKILL.md",[],[101,102,103,104,105,106,107,108,46,109,45,38,44,110,111,112,113,114,115,49],"show","kitty show image","image","kitty","show image","ls","get","send","dev","file","text","with","xdg","via","2026",{"skillNo":117,"name":118,"nameZh":17,"description":119,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":54},"01M70PFEN18HKQ4RCQ1VPGMPTB","kitty-session-persistence","Snapshot and restore kitty terminal sessions on macOS. Use when surviving WindowServer hangs without losing tabs, configuring snapshots, or restoring after a force-reboot.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fkitty-plugin\u002Fskills\u002Fkitty-session-persistence\u002FSKILL.md",[],[104,123,124,125,126,127,38,44,128,129,130,115,49,131,132,133,134,135,136,45],"kitty session persistence","session","persistence","false","snapshots","uname","reboot","terminal","write","edit","snapshot","macos","sessions","restore",{"skillNo":138,"name":139,"nameZh":17,"description":140,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":141,"categories":142,"keywords":143,"publishedAt":54},"01M70PFC77XGXCVQ1543VGZHYR","kitty-remote-control","Safe kitty remote control from an agent — read panes with kitty @ ls\u002Fget-text, notify, and never mutate the live terminal unasked. Use when running inside kitty.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fkitty-plugin\u002Fskills\u002Fkitty-remote-control\u002FSKILL.md",[],[144,145,104,146,147,106,148,149,107,150,151,45,38,152,44,111,112,130,115,49],"kitty remote control","remote","control","remote control","running","never","panes","notify","query",{"skillNo":154,"name":155,"nameZh":17,"description":156,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":157,"categories":158,"keywords":159,"publishedAt":54},"01M70P6WVMCT5JG4SACTM69AF9","docs-reference-check","Dangling doc-reference gate: flag markdown naming repo paths or relative links that no longer exist. Use when docs cite moved\u002Fdeleted files, or wiring a doc-drift lint.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fdocumentation-plugin\u002Fskills\u002Fdocs-reference-check\u002FSKILL.md",[],[160,161,162,163,164,165,166,167,168,169,45,38,44,170,110,171,172,173,174,175],"docs reference check","check","reference check","reference","docs","links","python3","repo","files","auto","drift","lint","wiring","chezmoi","references","cp",{"skillNo":177,"name":178,"nameZh":179,"description":180,"descriptionZh":181,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":182,"categories":183,"keywords":190,"publishedAt":54},"01M6C6NDE7DAQGNWSF22J5CJ0Z","youtube-upload","YouTube 视频上传与编辑","Upload a video to YouTube via the Data API v3 and edit its title, description, tags or thumbnail afterwards. Use when publishing or retitling a YouTube video.","通过 Data API v3 将视频上传到 YouTube，并在之后编辑其标题、描述、标签或缩略图。适用于发布 YouTube 视频或修改其标题。","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fyoutube-plugin\u002Fskills\u002Fyoutube-upload\u002FSKILL.md",[184,187],{"categoryNo":185,"categoryName":186,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQV98WRP4APE9VKKKKJ6FV","社交媒体与内容平台管理",{"categoryNo":188,"categoryName":189,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8C55A3R2M9C8CAKG3W16HTA","内容创作者",[191,192,193,194,166,195,49,196,132,197,198,199,45,44,110,200,201,38,202,203,204,114,115],"youtube upload","upload","youtube","Video","run","uv run","publishing","data","uv","api","v3","tags","id","title"]