[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78J1V3PKY417C3BZHT0BG86":3,"skill-same:01M78J1V3PKY417C3BZHT0BG86":68},{"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":28,"commitSha":29,"skillDirectory":30,"forksCount":13,"repositoryHtmlUrl":31,"repositoryHomepageUrl":32,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":34,"install":35,"resources":47},"01M78J1V3PKY417C3BZHT0BG86","mcore-split-pr",null,"Split a PR into multiple PRs to reduce the number of required CODEOWNERS reviewer groups.","matheussluzz\u002FZeuZ-Agent","matheussluzz","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F209255758?v=4","01M78HKHH1D1ASC9KC9BG583DH","01M78HKHHP6W7XRXQM2SBCAM3R",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fmatheussluzz\u002FZeuZ-Agent\u002Fblob\u002Fmain\u002Fcatalog\u002Fbundles\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":14,"argument":23,"metadata":24,"description":7,"when_to_use":26,"user_invocable":27},"PR URL or number",{"author":25},"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","fc4f2c7759ae400c66cd38656db70ead882a0d08","catalog\u002Fbundles\u002Fnvidia\u002Fmcore-split-pr","https:\u002F\u002Fgithub.com\u002Fmatheussluzz\u002FZeuZ-Agent","https:\u002F\u002Fgithub.com\u002Fmatheussluzz\u002FZeuZ-Agent#readme","https:\u002F\u002Fgithub.com\u002Fmatheussluzz","2026-08-27 05:21:51",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":27},[37,40,43],{"tool":38,"command":39},"npx","npx skills add matheussluzz\u002FZeuZ-Agent --skill mcore-split-pr",{"tool":41,"command":42},"bunx","bunx skills add matheussluzz\u002FZeuZ-Agent --skill mcore-split-pr",{"tool":44,"command":45},"pnpm","pnpm dlx skills add matheussluzz\u002FZeuZ-Agent --skill mcore-split-pr","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmatheussluzz\u002FZeuZ-Agent\u002Fblob\u002Fmain\u002Fcatalog\u002Fbundles\u002Fnvidia\u002Fmcore-split-pr\u002FSKILL.md",[48,54,58,64],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"BENCHMARK.md","REFERENCE","参考文档",2762,"https:\u002F\u002Fgithub.com\u002Fmatheussluzz\u002FZeuZ-Agent\u002Fblob\u002Fmain\u002Fcatalog\u002Fbundles\u002Fnvidia\u002Fmcore-split-pr\u002FBENCHMARK.md",{"path":55,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":56,"sourceHtmlUrl":57},"skill-card.md",2463,"https:\u002F\u002Fgithub.com\u002Fmatheussluzz\u002FZeuZ-Agent\u002Fblob\u002Fmain\u002Fcatalog\u002Fbundles\u002Fnvidia\u002Fmcore-split-pr\u002Fskill-card.md",{"path":59,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":62,"sourceHtmlUrl":63},"skill.oms.sig","OTHER","其他",4581,"https:\u002F\u002Fgithub.com\u002Fmatheussluzz\u002FZeuZ-Agent\u002Fblob\u002Fmain\u002Fcatalog\u002Fbundles\u002Fnvidia\u002Fmcore-split-pr\u002Fskill.oms.sig",{"path":65,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":66,"sourceHtmlUrl":67},"zeuz.manifest.yaml",172,"https:\u002F\u002Fgithub.com\u002Fmatheussluzz\u002FZeuZ-Agent\u002Fblob\u002Fmain\u002Fcatalog\u002Fbundles\u002Fnvidia\u002Fmcore-split-pr\u002Fzeuz.manifest.yaml",[69,77,84,91,98,105],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":73,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":18},"01M78JQ2R0QR8H2Z6662RFX804","gamma","Fixture skill gamma for discovery benchmarks.","MIT","https:\u002F\u002Fgithub.com\u002Fmatheussluzz\u002FZeuZ-Agent\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fskill-registry-mini\u002Fskills\u002Fgamma\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":73,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":18},"01M78JQ1KCVZ15APZG3FFF29K0","beta","Fixture skill beta for discovery benchmarks.","https:\u002F\u002Fgithub.com\u002Fmatheussluzz\u002FZeuZ-Agent\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fskill-registry-mini\u002Fskills\u002Fbeta\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":73,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":18},"01M78JQ0FJTK4Q9JKZMX9SVSEN","alpha","Fixture skill alpha for discovery benchmarks.","https:\u002F\u002Fgithub.com\u002Fmatheussluzz\u002FZeuZ-Agent\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fskill-registry-mini\u002Fskills\u002Falpha\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":73,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":18},"01M78JPYVYPY7R8QS10KADQPWE","writing-for-agents","Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.","https:\u002F\u002Fgithub.com\u002Fmatheussluzz\u002FZeuZ-Agent\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-for-agents\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":73,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":18},"01M78JPVYHB88RF5ATZVGX84RR","wizard","Generate an interactive bash wizard that walks a human through steps only they can perform. Use when provisioning infrastructure, setting up credentials or CI secrets, walking an unfamiliar third-party dashboard, or running a one-off migration or cutover. Don't invoke this for steps the agent can perform itself.","https:\u002F\u002Fgithub.com\u002Fmatheussluzz\u002FZeuZ-Agent\u002Fblob\u002Fmain\u002Fskills\u002Fwizard\u002FSKILL.md",[],[],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":73,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":18},"01M78JPSSWNTZW89DWGJTX7716","wayfinder","Plan a huge chunk of work (more than one agent session can hold) as a shared map of decision tickets on your issue tracker, and resolve them one at a time until the way to the destination is clear.","https:\u002F\u002Fgithub.com\u002Fmatheussluzz\u002FZeuZ-Agent\u002Fblob\u002Fmain\u002Fskills\u002Fwayfinder\u002FSKILL.md",[],[]]