[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7A9FYGMX4QSWSCW2Z09RFN1":3,"skill-same:01M7A9FYGMX4QSWSCW2Z09RFN1":72},{"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":29,"commitSha":30,"skillDirectory":31,"forksCount":32,"repositoryHtmlUrl":33,"repositoryHomepageUrl":34,"ownerHtmlUrl":35,"ownerBlogUrl":36,"ownerDescription":37,"updatedAt":38,"install":39,"resources":51},"01M7A9FYGMX4QSWSCW2Z09RFN1","mcore-split-pr",null,"Split a PR into multiple PRs to reduce the number of required CODEOWNERS reviewer groups.","themusebook\u002Fskills","themusebook","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F349927247?v=4","01M7A5C1RV5S3V5FF6ZACVDNRN","musebook","01M7A5C1SFC3KRZAXNN60XJ7KM",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fthemusebook\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fnvidia\u002Fmcore-split-pr\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: mcore-split-pr\ndescription: Split a PR into multiple PRs to reduce the number of required CODEOWNERS reviewer groups.\nlicense: Apache-2.0\nwhen_to_use: User asks to split a PR, reduce reviewer groups, or break up a large PR; 'too many CODEOWNERS', 'split this PR', 'break up PR', 'reduce reviewers needed'.\nuser_invocable: true\nargument: \"PR URL or number\"\nmetadata:\n  author: Philip Petrakian \u003Cppetrakian@nvidia.com>\n---\n\n# Split PR by CODEOWNERS Groups\n\nSplit a large pull request into multiple smaller PRs, where each PR touches\nthe fewest possible CODEOWNERS reviewer groups. The goal is to reduce review\nburden: a PR that only touches `megatron\u002Fcore\u002F` needs only the core reviewers,\nwhile a PR that also touches `examples\u002F`, `tools\u002F`, and `megatron\u002Ftraining\u002F`\npulls in many additional groups.\n\n## Answer-First Constraints\n\nFor split-planning questions, lead with these constraints before the full\nworkflow:\n\n- Minimize CODEOWNERS reviewer groups per PR, but each resulting PR must still\n  be independently mergeable and reviewable.\n- Tests travel with the production code they validate; do not split tests into a\n  separate PR just to reduce reviewer groups.\n- If PR B depends on symbols renamed in PR A, call out the dependency and put\n  backward-compatible aliases, re-exports, or shims in PR A when needed.\n- Wait for user approval before execution.\n- Execution creates draft PRs from the right base, applies file-scoped diffs\n  with `git diff upstream\u002Fmain..\u003Csource-branch> -- \u003Cpaths> | git apply`, pushes\n  to the user's fork, and never pushes directly to upstream.\n\n## Workflow\n\n### 1. Analyze the PR\n\n1. Fetch the PR details: `gh pr view \u003Cnumber> --repo NVIDIA\u002FMegatron-LM --json title,body,headRefName,author` and `gh pr diff \u003Cnumber> --repo NVIDIA\u002FMegatron-LM --stat`. Also determine the current GitHub user with `gh api user --jq .login`.\n2. Parse `.github\u002FCODEOWNERS` to build a mapping from file path patterns to owner groups.\n3. For each changed file in the PR, determine which CODEOWNERS groups would be required to review it.\n4. Build a summary table grouped by CODEOWNERS group, showing which files pull in which groups.\n5. Count the total number of distinct reviewer groups the PR currently requires.\n\n### 2. Propose a split that minimizes reviewer groups per PR\n\nThe primary optimization goal: **minimize the number of CODEOWNERS reviewer groups required for each resulting PR**.\n\nStrategy:\n1. Cluster files by their CODEOWNERS groups. Files owned by the same set of groups naturally belong together.\n2. Identify the largest cluster — this becomes the first (and usually largest) PR.\n3. Remaining files form one or more additional PRs, each ideally requiring only one or two reviewer groups.\n4. If a split creates a dependency (e.g., PR B uses symbols renamed in PR A), the dependent PR must be merged after the first. Note this explicitly.\n5. Each PR must be independently mergeable to main — no broken imports, no missing symbols. Backward-compatible aliases and re-export stubs in the first PR can make this possible.\n\nPresent the proposed split as a table:\n- PR name\u002Fdescription\n- Files included\n- CODEOWNERS groups required\n- Dependencies on other PRs (if any)\n\nWait for user approval before proceeding.\n\n### 3. Execute the split (after user approval)\n\nFor each new PR:\n1. Create a new branch from the appropriate base (`main`, or a dependency PR's branch).\n2. Extract the relevant changes: `git diff upstream\u002Fmain..\u003Csource-branch> -- \u003Cfile paths> | git apply`.\n3. Stage, commit with a clear message, and push to the user's fork.\n4. Create the PR as a **draft** (per repo contributing guidelines).\n5. If the original PR needs to be narrowed in scope, confirm with the user before force-pushing.\n6. Report all PR URLs when done.\n\n## Important guidelines\n\n- Always create PRs as **drafts** and push to the user's fork, never directly to upstream.\n- Backward-compatible changes (aliases, re-exports, deprecation shims) should go in the first PR so subsequent PRs can depend on them.\n- Test files should go with the production code they test, not in a separate PR.\n- Prefer a single clean commit per split PR over replaying the original commit history.\n- If a file is hard to categorize (e.g., it touches two groups), ask the user which PR it should go in.\n- If the current GitHub user is not the author of the original PR, each new PR's description must explicitly credit the original author (e.g., \"Original changes by @\u003Cauthor> in #\u003Cnumber>\").\n","# Split PR by CODEOWNERS Groups\n\nSplit a large pull request into multiple smaller PRs, where each PR touches\nthe fewest possible CODEOWNERS reviewer groups. The goal is to reduce review\nburden: a PR that only touches `megatron\u002Fcore\u002F` needs only the core reviewers,\nwhile a PR that also touches `examples\u002F`, `tools\u002F`, and `megatron\u002Ftraining\u002F`\npulls in many additional groups.\n\n## Answer-First Constraints\n\nFor split-planning questions, lead with these constraints before the full\nworkflow:\n\n- Minimize CODEOWNERS reviewer groups per PR, but each resulting PR must still\n  be independently mergeable and reviewable.\n- Tests travel with the production code they validate; do not split tests into a\n  separate PR just to reduce reviewer groups.\n- If PR B depends on symbols renamed in PR A, call out the dependency and put\n  backward-compatible aliases, re-exports, or shims in PR A when needed.\n- Wait for user approval before execution.\n- Execution creates draft PRs from the right base, applies file-scoped diffs\n  with `git diff upstream\u002Fmain..\u003Csource-branch> -- \u003Cpaths> | git apply`, pushes\n  to the user's fork, and never pushes directly to upstream.\n\n## Workflow\n\n### 1. Analyze the PR\n\n1. Fetch the PR details: `gh pr view \u003Cnumber> --repo NVIDIA\u002FMegatron-LM --json title,body,headRefName,author` and `gh pr diff \u003Cnumber> --repo NVIDIA\u002FMegatron-LM --stat`. Also determine the current GitHub user with `gh api user --jq .login`.\n2. Parse `.github\u002FCODEOWNERS` to build a mapping from file path patterns to owner groups.\n3. For each changed file in the PR, determine which CODEOWNERS groups would be required to review it.\n4. Build a summary table grouped by CODEOWNERS group, showing which files pull in which groups.\n5. Count the total number of distinct reviewer groups the PR currently requires.\n\n### 2. Propose a split that minimizes reviewer groups per PR\n\nThe primary optimization goal: **minimize the number of CODEOWNERS reviewer groups required for each resulting PR**.\n\nStrategy:\n1. Cluster files by their CODEOWNERS groups. Files owned by the same set of groups naturally belong together.\n2. Identify the largest cluster — this becomes the first (and usually largest) PR.\n3. Remaining files form one or more additional PRs, each ideally requiring only one or two reviewer groups.\n4. If a split creates a dependency (e.g., PR B uses symbols renamed in PR A), the dependent PR must be merged after the first. Note this explicitly.\n5. Each PR must be independently mergeable to main — no broken imports, no missing symbols. Backward-compatible aliases and re-export stubs in the first PR can make this possible.\n\nPresent the proposed split as a table:\n- PR name\u002Fdescription\n- Files included\n- CODEOWNERS groups required\n- Dependencies on other PRs (if any)\n\nWait for user approval before proceeding.\n\n### 3. Execute the split (after user approval)\n\nFor each new PR:\n1. Create a new branch from the appropriate base (`main`, or a dependency PR's branch).\n2. Extract the relevant changes: `git diff upstream\u002Fmain..\u003Csource-branch> -- \u003Cfile paths> | git apply`.\n3. Stage, commit with a clear message, and push to the user's fork.\n4. Create the PR as a **draft** (per repo contributing guidelines).\n5. If the original PR needs to be narrowed in scope, confirm with the user before force-pushing.\n6. Report all PR URLs when done.\n\n## Important guidelines\n\n- Always create PRs as **drafts** and push to the user's fork, never directly to upstream.\n- Backward-compatible changes (aliases, re-exports, deprecation shims) should go in the first PR so subsequent PRs can depend on them.\n- Test files should go with the production code they test, not in a separate PR.\n- Prefer a single clean commit per split PR over replaying the original commit history.\n- If a file is hard to categorize (e.g., it touches two groups), ask the user which PR it should go in.\n- If the current GitHub user is not the author of the original PR, each new PR's description must explicitly credit the original author (e.g., \"Original changes by @\u003Cauthor> in #\u003Cnumber>\").\n",{"name":5,"license":15,"argument":24,"metadata":25,"description":7,"when_to_use":27,"user_invocable":28},"PR URL or number",{"author":26},"Philip Petrakian \u003Cppetrakian@nvidia.com>","User asks to split a PR, reduce reviewer groups, or break up a large PR; 'too many CODEOWNERS', 'split this PR', 'break up PR', 'reduce reviewers needed'.",true,"main","1c523aba5cdf867a79f078847075492d7778092a","skills\u002Fnvidia\u002Fmcore-split-pr",1,"https:\u002F\u002Fgithub.com\u002Fthemusebook\u002Fskills","https:\u002F\u002Fskills.x402.wtf","https:\u002F\u002Fgithub.com\u002Fthemusebook","https:\u002F\u002Fmusebook.trade","The official Github of musebook","2026-11-02 23:42:26",{"source":8,"skillName":5,"commands":40,"prompt":50,"zipAvailable":28},[41,44,47],{"tool":42,"command":43},"npx","npx skills add themusebook\u002Fskills --skill mcore-split-pr",{"tool":45,"command":46},"bunx","bunx skills add themusebook\u002Fskills --skill mcore-split-pr",{"tool":48,"command":49},"pnpm","pnpm dlx skills add themusebook\u002Fskills --skill mcore-split-pr","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fthemusebook\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fnvidia\u002Fmcore-split-pr\u002FSKILL.md",[52,58,62,66],{"path":53,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":56,"sourceHtmlUrl":57},"BENCHMARK.md","REFERENCE","参考文档",2762,"https:\u002F\u002Fgithub.com\u002Fthemusebook\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fnvidia\u002Fmcore-split-pr\u002FBENCHMARK.md",{"path":59,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":60,"sourceHtmlUrl":61},"evals\u002Fevals.json",3,"https:\u002F\u002Fgithub.com\u002Fthemusebook\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fnvidia\u002Fmcore-split-pr\u002Fevals\u002Fevals.json",{"path":63,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":64,"sourceHtmlUrl":65},"skill-card.md",2463,"https:\u002F\u002Fgithub.com\u002Fthemusebook\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fnvidia\u002Fmcore-split-pr\u002Fskill-card.md",{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"skill.oms.sig","OTHER","其他",4581,"https:\u002F\u002Fgithub.com\u002Fthemusebook\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fnvidia\u002Fmcore-split-pr\u002Fskill.oms.sig",[73,82,89,96,103,110],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":77,"licenseFileUrl":78,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7AB34SPKVSDRRG009PM1CZH","youtube-clipper","YouTube 视频智能剪辑工具。下载视频和字幕，AI 分析生成精细章节（几分钟级别）， 用户选择片段后自动剪辑、翻译字幕为中英双语、烧录字幕到视频，并生成总结文案。 使用场景：当用户需要剪辑 YouTube 视频、生成短视频片段、制作双语字幕版本时。 关键词：视频剪辑、YouTube、字幕翻译、双语字幕、视频下载、clip video","MIT","https:\u002F\u002Fgithub.com\u002Fthemusebook\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fyoutube-clipper\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fthemusebook\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fyoutube-clipper\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":77,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7AB18BH6N7KR7939HRNWVMQ","viem-integration","Integrate EVM blockchains using viem. Use when user says \"read blockchain data\", \"send transaction\", \"interact with smart contract\", \"connect to Ethereum\", \"use viem\", \"use wagmi\", \"wallet integration\", \"viem setup\", or mentions blockchain\u002FEVM development with TypeScript.","https:\u002F\u002Fgithub.com\u002Fthemusebook\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fviem-integration\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":77,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M7AB12GHGP48WCNXDQQ9222H","v4-security-foundations","Security-first Uniswap v4 hook development. Use when user mentions \"v4 hooks\", \"hook security\", \"PoolManager\", \"beforeSwap\", \"afterSwap\", or asks about V4 hook best practices, vulnerabilities, or audit requirements.","https:\u002F\u002Fgithub.com\u002Fthemusebook\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fv4-security-foundations\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":77,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":19},"01M7AB0XM3PSR7V3Q2ZRR0Q0FB","v4-sdk-integration","App-layer SDK guide for building swap and liquidity experiences directly with the Uniswap v4 SDK. Use when user asks about \"v4 sdk\", \"uniswap v4\", \"v4 swap\", \"v4 liquidity\", \"PoolManager\", \"V4Planner\", \"StateView\", \"PositionManager\", \"pool state\", \"v4 position\", \"uniswap sdk\", or when building swap\u002Fliquidity UX directly with SDKs rather than via the Trading API.","https:\u002F\u002Fgithub.com\u002Fthemusebook\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fv4-sdk-integration\u002FSKILL.md",[],[],{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":77,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":19},"01M7AB0SGA93ASA588DJW4P9WT","v4-hook-generator","Generate Uniswap v4 hook contracts via OpenZeppelin MCP. Use when building custom swap logic, async swaps, hook-owned liquidity, custom curves, dynamic fees, MEV protection, limit orders, or oracle hooks.","https:\u002F\u002Fgithub.com\u002Fthemusebook\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fv4-hook-generator\u002FSKILL.md",[],[],{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":77,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":19},"01M7AAZYH75H4CS03WSW2EZ8DM","testing","For testing with Light Protocol programs and clients on localnet, devnet, and mainnet validation.","https:\u002F\u002Fgithub.com\u002Fthemusebook\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Ftesting\u002FSKILL.md",[],[]]