[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M69AJR1WA3GZ8FQP3YZSHMRG":3,"skill-same:01M69AJR1WA3GZ8FQP3YZSHMRG":78},{"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":31,"publishedAt":50,"linkOnly":51,"markdownContent":52,"markdownBody":53,"frontMatter":54,"refName":55,"commitSha":56,"skillDirectory":57,"forksCount":58,"repositoryHtmlUrl":59,"repositoryHomepageUrl":6,"ownerHtmlUrl":60,"ownerBlogUrl":61,"ownerDescription":62,"updatedAt":63,"install":64,"resources":77},"01M69AJR1WA3GZ8FQP3YZSHMRG","mxc-code-review",null,"Review MXC pull requests and diffs for SDK breaking changes, CI gate regressions, useful SDK documentation, maintainable design, and containment.","microsoft\u002Fmxc","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M69AJMX06CKKHZM0C3X0VA0X",3142,"MIT","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fmxc\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fmxc-code-review\u002FSKILL.md",[18,23,26],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000007","代码审查","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000015","视觉设计",{"categoryNo":27,"categoryName":28,"taxonomyType":29,"taxonomyTypeDesc":30},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49],"review","mxc code review","code","code review","pull","useful","changes","for","requests","gate","sdk documentation","containment","ci","documentation","pull requests","sdk","diffs","design","2026-11-10 10:12:30",false,"---\nname: mxc-code-review\ndescription: Review MXC pull requests and diffs for SDK breaking changes, CI gate regressions, useful SDK documentation, maintainable design, and containment.\n---\n\n# MXC code review\n\nRead `AGENTS.md`, `.github\u002Fcopilot-instructions.md`, matching language\ninstructions, and the affected subsystem docs. Follow the changed flow through\nits callers, shared code, backends, and failure paths. Do not make edits during\nreview or stop after finding one working path.\n\n## Check SDK compatibility first\n\n- Compare changed public APIs with the existing supported version in Rust,\n  .NET, and Node. Check removals, renames, signatures, types, import paths,\n  serialization, defaults, errors, cancellation, and resource ownership.\n  Look for source, binary, and behavioral breaks, not only compile failures.\n\n- Report every confirmed breaking change to an existing supported SDK API in\n  the **highest review category: P0 \u002F critical**. Put these findings first and\n  label them **SDK breaking change**. This is a maintainer compatibility alert;\n  it does not imply a security vulnerability or universal runtime failure.\n\n- Identify the affected SDK and version, the old and new behavior, and a\n  concrete caller that breaks. Call it out even when the PR describes the\n  change as intentional. Maintainers decide whether to accept it; the reviewer\n  must not silently waive it or assume acceptance.\n\n- Published SDK APIs require a new versioned surface for breaking changes.\n  Check that the existing version and its references remain intact. Adding\n  a new version while preserving the old one is not itself a breaking change.\n\n## Check the design in context\n\n- Does the change fit the existing design and remain understandable to the\n  next maintainer, or does it merely get the requested feature working?\n\n- Look for duplicated paths, feature-specific helper variants, narrow\n  exceptions, and unnecessary abstractions. Prefer fixing the responsible\n  shared component over adding another special case.\n\n- Check responsibility boundaries. Parsing should decode contracts and retain\n  field presence; backend-specific defaults, policy checks, and enforcement\n  belong in the backend, not the shared parser.\n\n- If a feature requires a broad rewrite or large deletion, call out the\n  maintenance risk and recommend smaller, reviewable vertical slices with\n  behavior coverage. Do not demand a rewrite for a local problem.\n\n- When an approved design exists, check that the implementation matches its\n  behavior, compatibility guarantees, backend support, and acceptance criteria.\n\n- For a spec-only PR, use the\n  [feature spec review checklist](..\u002F..\u002F..\u002Fdocs\u002Fdevelopment\u002Farchitecture\u002Fdesigns\u002Ffeature-spec-template.md#review-checklist).\n  Review the proposed behavior and validation plan; do not require completed\n  implementation or present planned tests as results. Check each backend's\n  applicability and proposed capability probes and availability results.\n  Review public API changes against the\n  [API proposal checklist](..\u002F..\u002F..\u002Fdocs\u002Fdevelopment\u002Farchitecture\u002Fdesigns\u002Fapi-spec-template.md#review-checklist).\n\n- Check that public APIs promise only behavior the intended backends provide,\n  with functional validation coverage. Contract changes must not publish or\n  silently accept unenforced policy.\n\n## Check MXC rules\n\n- **Rust package boundaries:** Inspect `src\u002FCargo.toml` workspace members and\n  changed Cargo dependencies. Internal engine, contract, shared-runtime,\n  backend, build, and schema implementations belong as modules in `mxc-sdk`,\n  not new workspace crates or publishable path dependencies. Required process\n  boundaries use existing `[[bin]]` patterns; distinguish legitimate tools and\n  FFI packages from unnecessary SDK implementation crates.\n\n- **Dispatch and build:** `mxc_engine` owns backend routing. No dispatch or\n  backend implementation dependencies in `mxc_common`, backend-selection\n  matches in thin executors, or recursive Cargo invocation in `build.rs`.\n  Keep platform\u002Ffeature gates and build-time staging intact.\n\n- **Containment and errors:** Unsupported policy fails closed before container\n  creation. Preserve failure propagation, cancellation, cleanup, handle\n  ownership, and panic containment across the C ABI. Check each changed\n  execution surface, not only create-and-run.\n\n- **Contracts:** Preserve optional-field presence and version-specific parsing.\n  Do not edit released schemas or hand-edit generated artifacts. Development\n  fields need the proper contract, adapter, regenerated artifacts, and tests;\n  experimental authorization does not replace contract or host validation.\n\n- **SDKs:** Compare affected Rust, .NET, and Node versioned references. Preserve\n  field meanings, optional-field presence, and language-appropriate naming.\n  Confirm .NET JSON source-generation registration and AOT smoke coverage.\n\n- **Host compatibility:** New Windows backend features need concrete host\n  prerequisites, runtime capability checks, actionable unsupported-feature\n  errors, and a brief update to existing user guidance when requirements or\n  behavior change. Document supported builds, limits, and remedies, not a\n  backend implementation walkthrough. SDK\u002Fschema versions alone cannot prove\n  host support. Telemetry requires MXC-owned consent and restrictive admin policy.\n\n## Keep SDK documentation useful\n\nSDK READMEs and versioned API references are consumer-facing entry points.\nReview additions and removals against what a caller needs to install, choose,\nuse, and safely clean up an operation.\n\n- Keep signatures, examples, defaults, prerequisites, limitations, and error\n  remedies accurate and consistent with the supported API. Check affected\n  links and examples when content is moved or removed.\n\n- Flag changes that hide supported behavior, remove necessary usage guidance,\n  contradict the API, or bury instructions under irrelevant implementation\n  detail. Keep backend internals and contributor workflows in developer docs;\n  link them only when they help the reader's task.\n\n- Make additions and removals leave a coherent final document. Avoid agent\n  reasoning, change diaries, discarded designs, and repetition. Do not demand\n  more documentation merely because code changed, or report wording nits as\n  defects.\n\n## Check for weakened CI gates\n\nInspect removed or changed checks, including workflows, reusable jobs, build\nscripts, test commands, and matrix configuration. Do not assume a green check\nmeans the same validation still runs.\n\n- Check trigger and path filters, job conditions and dependencies, platform\n  and feature coverage, test discovery, exclusions, and skipped tests.\n  Look for checks that disappear or stop covering the changed behavior.\n\n- Check failure propagation. `continue-on-error`, ignored exit codes, removed\n  assertions, and success-shaped fallbacks can make a failing build or test\n  appear green. Trace the relevant command through its callers to the final\n  check result.\n\n- Flag removed or weakened validation that lets a concrete regression pass.\n  Name the lost check, the affected path or platform, and what CI no longer\n  detects. Do not accept disabling the failing check as a fix for the failure.\n\n- Legitimate replacement or retirement is allowed. Verify equivalent coverage\n  still runs and gates the result, or that the covered behavior is actually\n  removed. An explanation alone does not establish equivalent coverage.\n\n## Require behavior coverage\n\nFeature changes need functional validation in the applicable CI suite.\nBackend behavior needs coverage in the scheduled\u002Fnightly validation runs on\nsuitable hosts. Bug fixes need a regression scenario for the reported failure,\npreferably shown to fail before the fix and pass afterward. Verify the scenario\nis wired into CI and checks observable behavior through the relevant API or\nbackend, including affected interactions and failures.\n\nDo not accept a collection of tiny unit tests as a substitute for that coverage.\nUnit tests, including those at the bottom of `.rs` files, can support isolated\nlogic; passing tests that mirror new helpers do not establish that a feature\nworks in MXC. Prefer extending existing functional scenarios over test-count\ngrowth. Follow the validation runbook and backend guide; report specific gaps,\nnot demands for unrelated tests. Documentation-only edits need no runtime tests.\n\n## Write useful findings\n\nFocus on high- and medium-severity defects; critical failures always qualify.\nLeave out low-severity issues, style nits, speculative scenarios, and optional\nrefactoring. Apply the highest-priority SDK breaking-change rule above;\notherwise, do not inflate severity just to include a finding.\n\nReview all affected paths before submitting, combine related findings, and\npost one consolidated review. Do not drip-feed findings across rounds or\nreopen resolved points without new evidence. New edits still need review for\nmaterial regressions, not unrelated cleanup.\n\nUse plain language an everyday developer can act on. Give the severity,\nfile\u002Fline, triggering situation, incorrect behavior, and consequence. Include\nenough detail to explain the issue without jargon, long essays, or wording so\nshort that the reader must guess. Do not include an agent's internal reasoning.\n\nKeep comments and requested documentation focused on non-obvious reasons and\nuseful behavior, usage, and limits, not implementation diaries. Separate\nparagraph-length list items with a blank line; keep short lists compact.\nReport concrete defects and material maintenance risks, not speculative bugs\nor style preferences. Distinguish missing test evidence from a confirmed\nruntime failure.\n","# MXC code review\n\nRead `AGENTS.md`, `.github\u002Fcopilot-instructions.md`, matching language\ninstructions, and the affected subsystem docs. Follow the changed flow through\nits callers, shared code, backends, and failure paths. Do not make edits during\nreview or stop after finding one working path.\n\n## Check SDK compatibility first\n\n- Compare changed public APIs with the existing supported version in Rust,\n  .NET, and Node. Check removals, renames, signatures, types, import paths,\n  serialization, defaults, errors, cancellation, and resource ownership.\n  Look for source, binary, and behavioral breaks, not only compile failures.\n\n- Report every confirmed breaking change to an existing supported SDK API in\n  the **highest review category: P0 \u002F critical**. Put these findings first and\n  label them **SDK breaking change**. This is a maintainer compatibility alert;\n  it does not imply a security vulnerability or universal runtime failure.\n\n- Identify the affected SDK and version, the old and new behavior, and a\n  concrete caller that breaks. Call it out even when the PR describes the\n  change as intentional. Maintainers decide whether to accept it; the reviewer\n  must not silently waive it or assume acceptance.\n\n- Published SDK APIs require a new versioned surface for breaking changes.\n  Check that the existing version and its references remain intact. Adding\n  a new version while preserving the old one is not itself a breaking change.\n\n## Check the design in context\n\n- Does the change fit the existing design and remain understandable to the\n  next maintainer, or does it merely get the requested feature working?\n\n- Look for duplicated paths, feature-specific helper variants, narrow\n  exceptions, and unnecessary abstractions. Prefer fixing the responsible\n  shared component over adding another special case.\n\n- Check responsibility boundaries. Parsing should decode contracts and retain\n  field presence; backend-specific defaults, policy checks, and enforcement\n  belong in the backend, not the shared parser.\n\n- If a feature requires a broad rewrite or large deletion, call out the\n  maintenance risk and recommend smaller, reviewable vertical slices with\n  behavior coverage. Do not demand a rewrite for a local problem.\n\n- When an approved design exists, check that the implementation matches its\n  behavior, compatibility guarantees, backend support, and acceptance criteria.\n\n- For a spec-only PR, use the\n  [feature spec review checklist](..\u002F..\u002F..\u002Fdocs\u002Fdevelopment\u002Farchitecture\u002Fdesigns\u002Ffeature-spec-template.md#review-checklist).\n  Review the proposed behavior and validation plan; do not require completed\n  implementation or present planned tests as results. Check each backend's\n  applicability and proposed capability probes and availability results.\n  Review public API changes against the\n  [API proposal checklist](..\u002F..\u002F..\u002Fdocs\u002Fdevelopment\u002Farchitecture\u002Fdesigns\u002Fapi-spec-template.md#review-checklist).\n\n- Check that public APIs promise only behavior the intended backends provide,\n  with functional validation coverage. Contract changes must not publish or\n  silently accept unenforced policy.\n\n## Check MXC rules\n\n- **Rust package boundaries:** Inspect `src\u002FCargo.toml` workspace members and\n  changed Cargo dependencies. Internal engine, contract, shared-runtime,\n  backend, build, and schema implementations belong as modules in `mxc-sdk`,\n  not new workspace crates or publishable path dependencies. Required process\n  boundaries use existing `[[bin]]` patterns; distinguish legitimate tools and\n  FFI packages from unnecessary SDK implementation crates.\n\n- **Dispatch and build:** `mxc_engine` owns backend routing. No dispatch or\n  backend implementation dependencies in `mxc_common`, backend-selection\n  matches in thin executors, or recursive Cargo invocation in `build.rs`.\n  Keep platform\u002Ffeature gates and build-time staging intact.\n\n- **Containment and errors:** Unsupported policy fails closed before container\n  creation. Preserve failure propagation, cancellation, cleanup, handle\n  ownership, and panic containment across the C ABI. Check each changed\n  execution surface, not only create-and-run.\n\n- **Contracts:** Preserve optional-field presence and version-specific parsing.\n  Do not edit released schemas or hand-edit generated artifacts. Development\n  fields need the proper contract, adapter, regenerated artifacts, and tests;\n  experimental authorization does not replace contract or host validation.\n\n- **SDKs:** Compare affected Rust, .NET, and Node versioned references. Preserve\n  field meanings, optional-field presence, and language-appropriate naming.\n  Confirm .NET JSON source-generation registration and AOT smoke coverage.\n\n- **Host compatibility:** New Windows backend features need concrete host\n  prerequisites, runtime capability checks, actionable unsupported-feature\n  errors, and a brief update to existing user guidance when requirements or\n  behavior change. Document supported builds, limits, and remedies, not a\n  backend implementation walkthrough. SDK\u002Fschema versions alone cannot prove\n  host support. Telemetry requires MXC-owned consent and restrictive admin policy.\n\n## Keep SDK documentation useful\n\nSDK READMEs and versioned API references are consumer-facing entry points.\nReview additions and removals against what a caller needs to install, choose,\nuse, and safely clean up an operation.\n\n- Keep signatures, examples, defaults, prerequisites, limitations, and error\n  remedies accurate and consistent with the supported API. Check affected\n  links and examples when content is moved or removed.\n\n- Flag changes that hide supported behavior, remove necessary usage guidance,\n  contradict the API, or bury instructions under irrelevant implementation\n  detail. Keep backend internals and contributor workflows in developer docs;\n  link them only when they help the reader's task.\n\n- Make additions and removals leave a coherent final document. Avoid agent\n  reasoning, change diaries, discarded designs, and repetition. Do not demand\n  more documentation merely because code changed, or report wording nits as\n  defects.\n\n## Check for weakened CI gates\n\nInspect removed or changed checks, including workflows, reusable jobs, build\nscripts, test commands, and matrix configuration. Do not assume a green check\nmeans the same validation still runs.\n\n- Check trigger and path filters, job conditions and dependencies, platform\n  and feature coverage, test discovery, exclusions, and skipped tests.\n  Look for checks that disappear or stop covering the changed behavior.\n\n- Check failure propagation. `continue-on-error`, ignored exit codes, removed\n  assertions, and success-shaped fallbacks can make a failing build or test\n  appear green. Trace the relevant command through its callers to the final\n  check result.\n\n- Flag removed or weakened validation that lets a concrete regression pass.\n  Name the lost check, the affected path or platform, and what CI no longer\n  detects. Do not accept disabling the failing check as a fix for the failure.\n\n- Legitimate replacement or retirement is allowed. Verify equivalent coverage\n  still runs and gates the result, or that the covered behavior is actually\n  removed. An explanation alone does not establish equivalent coverage.\n\n## Require behavior coverage\n\nFeature changes need functional validation in the applicable CI suite.\nBackend behavior needs coverage in the scheduled\u002Fnightly validation runs on\nsuitable hosts. Bug fixes need a regression scenario for the reported failure,\npreferably shown to fail before the fix and pass afterward. Verify the scenario\nis wired into CI and checks observable behavior through the relevant API or\nbackend, including affected interactions and failures.\n\nDo not accept a collection of tiny unit tests as a substitute for that coverage.\nUnit tests, including those at the bottom of `.rs` files, can support isolated\nlogic; passing tests that mirror new helpers do not establish that a feature\nworks in MXC. Prefer extending existing functional scenarios over test-count\ngrowth. Follow the validation runbook and backend guide; report specific gaps,\nnot demands for unrelated tests. Documentation-only edits need no runtime tests.\n\n## Write useful findings\n\nFocus on high- and medium-severity defects; critical failures always qualify.\nLeave out low-severity issues, style nits, speculative scenarios, and optional\nrefactoring. Apply the highest-priority SDK breaking-change rule above;\notherwise, do not inflate severity just to include a finding.\n\nReview all affected paths before submitting, combine related findings, and\npost one consolidated review. Do not drip-feed findings across rounds or\nreopen resolved points without new evidence. New edits still need review for\nmaterial regressions, not unrelated cleanup.\n\nUse plain language an everyday developer can act on. Give the severity,\nfile\u002Fline, triggering situation, incorrect behavior, and consequence. Include\nenough detail to explain the issue without jargon, long essays, or wording so\nshort that the reader must guess. Do not include an agent's internal reasoning.\n\nKeep comments and requested documentation focused on non-obvious reasons and\nuseful behavior, usage, and limits, not implementation diaries. Separate\nparagraph-length list items with a blank line; keep short lists compact.\nReport concrete defects and material maintenance risks, not speculative bugs\nor style preferences. Distinguish missing test evidence from a confirmed\nruntime failure.\n",{"name":5,"description":7},"main","6cc87651b94cc3efe134de42100e236a8ce9633a",".github\u002Fskills\u002Fmxc-code-review",178,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fmxc","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-11-15 03:11:45",{"source":8,"skillName":5,"commands":65,"prompt":75,"zipAvailable":76},[66,69,72],{"tool":67,"command":68},"npx","npx skills add microsoft\u002Fmxc --skill mxc-code-review",{"tool":70,"command":71},"bunx","bunx skills add microsoft\u002Fmxc --skill mxc-code-review",{"tool":73,"command":74},"pnpm","pnpm dlx skills add microsoft\u002Fmxc --skill mxc-code-review","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fmxc\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fmxc-code-review\u002FSKILL.md",true,[],[]]