[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M69B6Y1QRKYPAVF881FQ7SG0":3,"skill-same:01M69B6Y1QRKYPAVF881FQ7SG0":110},{"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":55,"linkOnly":56,"markdownContent":57,"markdownBody":58,"frontMatter":59,"refName":60,"commitSha":61,"skillDirectory":62,"forksCount":63,"repositoryHtmlUrl":64,"repositoryHomepageUrl":65,"ownerHtmlUrl":66,"ownerBlogUrl":67,"ownerDescription":68,"updatedAt":69,"install":70,"resources":83},"01M69B6Y1QRKYPAVF881FQ7SG0","code-review","TypeSpec PR 代码审查","Review TypeSpec pull requests against the project's own rules: the Tier 0-3 breaking change policy, `.chronus` changelog requirements, compiler API usage, test framework conventions, and emitter output stability. Use when reviewing a diff or pull request in this repository.","依据项目自身规则审查 TypeSpec 拉取请求：Tier 0-3 破坏性变更策略、`.chronus` 变更日志要求、编译器 API 使用、测试框架约定以及 emitter 输出稳定性。在本仓库中审查 diff 或拉取请求时使用。","microsoft\u002Ftypespec","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M69B6S8HEDME7WWCNE7RGPJF",5948,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ftypespec\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fcode-review\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,54],"review","code review","code","when","usage","output","change policy","requirements","project","diff","use","Rules","breaking change","api","compiler","pull","typespec","pull request","test framework","change","pull requests","test","stability","policy","2026-11-10 10:12:30",false,"---\nname: code-review\ndescription: >\n  Review TypeSpec pull requests against the project's own rules: the Tier 0-3 breaking change\n  policy, `.chronus` changelog requirements, compiler API usage, test framework conventions, and\n  emitter output stability. Use when reviewing a diff or pull request in this repository.\n---\n\n# TypeSpec code review\n\nReview the diff against the rules this project actually enforces. Every comment must point at a\nconcrete problem in the changed code and cite the rule or code that makes it a problem — if you\ncannot cite it, do not post it.\n\n## Scope\n\nApplies to the whole repository: the pnpm workspace packages (`packages\u002Fcompiler`, `packages\u002Fhttp`,\n`packages\u002Fopenapi3`, `packages\u002Fjson-schema`, `packages\u002Fversioning`, …), the language emitter\npackages (`packages\u002Fhttp-client-{csharp,java,python}`), `.chronus\u002Fchanges\u002F**`, and their tests.\n\nFor the language emitter packages, §1 (tier policy) does not apply to their internal APIs and their\nown rules in `.github\u002Finstructions\u002F*.instructions.md` take precedence — but §2 (changeset), §3\n(compiler API usage) and §4 (tests) apply everywhere.\n\nOut of scope — do not comment on:\n\n- Generated artifacts: `pnpm-lock.yaml`, generated Python\u002FC#\u002FJava code under `generator\u002F`,\n  `tests\u002Fgenerated\u002F`, and generated reference docs under\n  `website\u002Fsrc\u002Fcontent\u002Fdocs\u002Fdocs\u002Flibraries\u002F*\u002Freference\u002F**`.\n- Formatting and lint-covered issues — prettier (`pnpm format`) and oxlint own those.\n- Naming\u002Fstyle preferences, or unchanged code surrounding the diff.\n\n## Read before judging\n\nConsult these and cite them in findings:\n\n- `website\u002Fsrc\u002Fcontent\u002Fdocs\u002Fdocs\u002Fhandbook\u002Fbreaking-change-policy.mdx` — the authoritative tier table\n  and the bug exception.\n- `.chronus\u002Fconfig.yaml` — the valid `changeKind` values and the `changedFiles` exclusions.\n- `.github\u002Fcopilot-instructions.md` — changelog message guidelines and the TDD expectation.\n- Sibling tests in the touched package — the established tester\u002Fassertion patterns.\n- The public compiler API (`@typespec\u002Fcompiler`) and `@typespec\u002Fcompiler\u002Ftesting` exports — to\n  confirm a used API exists and behaves as the change assumes.\n\n## 1. Breaking changes and public surface\n\nDecide which tier each change touches, then whether it breaks an _existing_ spec or consumer.\nAdding new syntax, types, or capabilities is not breaking; changing how something that already\nworked behaves is.\n\n- **Tier 0 — language syntax\u002Fsemantics, the type graph (`Type`), default TypeKits, exported helper\n  and accessor functions.** Flag: an existing valid spec that now parses differently, fails, or\n  produces a different type graph; a removed\u002Frenamed export or changed signature; a changed runtime\n  result for existing input; a removed or repurposed field on a `Type`. Adding a _required_ field to\n  a `Type` is allowed by policy but breaks downstream construction — call it out.\n- **Tier 1 — the AST (`Node`, `SyntaxKind`).** Appended enum members and new union variants are\n  allowed (TypeScript exhaustiveness errors are explicitly not breaking). Flag renumbered enums\n  (members inserted rather than appended), removed node kinds, and changed shapes of existing nodes.\n- **Tier 2 — checker, symbols, `@internal` \u002F `\u002Finternals` \u002F `\u002Fexperimental` exports, template\n  declarations, stdout\u002Fstderr output.** Not breaking; mention only if a change here silently alters\n  observable behavior.\n- **Tier 3 — formatter and emitter output.** Semantically equivalent output changes are not\n  breaking; see §5 for the risk that matters.\n- **Bug exception.** A technically breaking change that fixes clearly unintended behavior is not a\n  breaking change — but say so explicitly rather than staying silent.\n\nA change you judge breaking that has no `breaking` changeset is the highest-value finding in a\nreview. Raise it first.\n\n## 2. Changeset (`.chronus`)\n\n- Valid `changeKind` values are exactly: `internal`, `fix`, `dependencies`, `feature`,\n  `deprecation`, `breaking`. Anything else (`feat`, `docs`, `patch`, `minor`, `major`) is invalid.\n- The kind must match reality: a new capability is `feature`, a fix is `fix`, and anything breaking\n  per §1 is `breaking`.\n- One entry **per package and per change type**. A single entry bundling a feature in one package\n  with a fix in another must be split.\n- `packages:` must list exactly the affected packages.\n- Every package with a user-visible change needs an entry. Missing one is a finding — but note the\n  exclusions in `.chronus\u002Fconfig.yaml`: `**\u002F*.md`, test files, and `packages\u002F*\u002Ftest\u002F**` don't\n  require a changeset, so docs-only or test-only changes legitimately have none.\n- Message quality: describes the change from the user's perspective; area tag only when targeting a\n  secondary area of a multi-area package, in `[bracket]` form (e.g. `[converter]`, `[formatter]`) —\n  no generic `core -` prefixes; a `feature` entry includes a short illustrative code block, a simple\n  fix does not.\n\n## 3. Compiler API usage\n\nJudge whether the change uses the TypeSpec compiler API the way the compiler expects, not merely\nwhether it type-checks.\n\n- **Diagnostic targets decide whether a diagnostic can be suppressed.** A diagnostic reported with `NoTarget` can never be\n  suppressed (`packages\u002Fcompiler\u002Fsrc\u002Fcore\u002Fprogram.ts` — `target === NoTarget` returns early before\n  the `#suppress` lookup), and a diagnostic with `severity: \"error\"` can never be suppressed either\n  (suppressing one produces `suppress-error`). So a diagnostic the user is meant to be able to\n  silence must be a `warning` **and** carry a real node\u002Ftype target. Flag any target that resolves\n  to `NoTarget` on a realistic input as \"not actually suppressible\".\n- **Pick the most precise target available**, falling back deliberately: the offending type → the\n  service namespace → `program.getGlobalNamespaceType()` → `NoTarget` only for genuinely\n  program-wide failures with no node to point at.\n- **Don't assume the program has a service.** `listServices(program)` returns a possibly empty\n  array; `[0]` is `undefined` for model-only or service-less programs. Same for any lookup that can\n  return `undefined` — ask what happens in that case, and whether the diagnostic is still reachable\n  and suppressible there.\n- **Severity changes have control-flow consequences.** `error` blocks emission via\n  `program.hasError()`; downgrading to `warning` means everything downstream now runs in a state it\n  previously never saw. Verify the continue path is safe and intended.\n- **Diagnostic hygiene.** Report through the library's `reportDiagnostic`\u002F`createDiagnostic` with a\n  catalog entry and stable code; never `throw` for a user error. The message text must still match\n  the behavior after the change — a message saying the emitter \"requires\" something it now merely\n  warns about is a finding.\n- **Prefer stable public APIs.** Use exported helpers and TypeKits over the checker, symbols, or AST\n  (Tier 2, see §1); use `resolvePath`\u002F`joinPaths` rather than `node:path`; exclude template\n  declarations with `isTemplateDeclaration` when navigating types.\n\n## 4. Tests\n\n- Every new code path, branch, diagnostic, and public API needs a test co-located in the package's\n  `test\u002F**`. New behavior with no test is a finding.\n- **Reuse the package's shared tester.** Packages export one from `test\u002Ftest-host.ts` or\n  `test\u002Ftester.ts` (e.g. `packages\u002Fhttp\u002Ftest\u002Ftest-host.ts`, `packages\u002Fcompiler\u002Ftest\u002Ftester.ts`).\n  Calling `createTester(...)` inline in a new test file duplicates library\u002Fimport setup and drifts —\n  flag it and point at the existing module.\n- **Assert diagnostics with the helpers.** Use `expectDiagnostics` \u002F `expectDiagnosticEmpty` from\n  `@typespec\u002Fcompiler\u002Ftesting`, not hand-rolled checks like\n  `program.diagnostics.some((x) => x.code.endsWith(...))`, which silently pass when the code,\n  severity, or target is wrong.\n- **Exercise the real entrypoint.** A test must drive the shipped path (`$onEmit`, the decorator,\n  the emitter run) rather than re-implement the logic or call a helper in isolation — otherwise it\n  passes while the actual behavior is broken.\n- **Verify imports resolve.** If a test imports a helper from `src`, confirm that symbol is actually\n  exported there; an import of a non-existent export makes the whole file fail to load.\n- Tests must be meaningful: they should fail if the change were reverted. Flag tests that only smoke\n  run or assert nothing specific to the new behavior.\n- Beyond the happy path: error and diagnostic paths, empty\u002Fanonymous forms, templates, and negative\n  cases — including the fallback branches identified in §3.\n- Flag any weakening of existing coverage: `.skip`\u002F`.only`, deleted assertions, or matchers\n  broadened to make a change pass.\n\n## 5. Emitter output stability\n\nFor `packages\u002F{openapi3,openapi,json-schema,http,http-server-*}`:\n\n- **Unexplained snapshot changes are the headline risk.** Every changed snapshot must be an\n  intentional, explained consequence of the change. A snapshot diff for specs unrelated to the\n  feature means existing users' output changed — raise it.\n- Inline-vs-hoist, component naming, and declaration-creation changes must preserve behavior for\n  existing named types and only affect genuinely new inputs. Anonymous\u002Fempty-named types inline;\n  named types hoist without key collisions.\n- `$ref` and component-key correctness: reordering name validation relative to ref generation must\n  not silently drop validation that previously errored — if that is an intended fix, it needs to be\n  called out and changeset'd.\n- Emitters must handle new type-graph shapes defensively (new node kinds, new union variants)\n  rather than crash on them.\n\n## How to comment\n\n- One issue per comment, anchored on the offending line.\n- State the problem, cite the rule (policy section, `.chronus\u002Fconfig.yaml`, guideline) or the\n  relevant `file:line`, and suggest the concrete fix.\n- One or two sentences. No preamble, no summarizing the diff back to the author.\n- Don't repeat a point another comment already makes.\n- Lead with correctness, compatibility, and coverage. Minor suggestions are welcome only when they\n  are actionable and specific.\n","# TypeSpec code review\n\nReview the diff against the rules this project actually enforces. Every comment must point at a\nconcrete problem in the changed code and cite the rule or code that makes it a problem — if you\ncannot cite it, do not post it.\n\n## Scope\n\nApplies to the whole repository: the pnpm workspace packages (`packages\u002Fcompiler`, `packages\u002Fhttp`,\n`packages\u002Fopenapi3`, `packages\u002Fjson-schema`, `packages\u002Fversioning`, …), the language emitter\npackages (`packages\u002Fhttp-client-{csharp,java,python}`), `.chronus\u002Fchanges\u002F**`, and their tests.\n\nFor the language emitter packages, §1 (tier policy) does not apply to their internal APIs and their\nown rules in `.github\u002Finstructions\u002F*.instructions.md` take precedence — but §2 (changeset), §3\n(compiler API usage) and §4 (tests) apply everywhere.\n\nOut of scope — do not comment on:\n\n- Generated artifacts: `pnpm-lock.yaml`, generated Python\u002FC#\u002FJava code under `generator\u002F`,\n  `tests\u002Fgenerated\u002F`, and generated reference docs under\n  `website\u002Fsrc\u002Fcontent\u002Fdocs\u002Fdocs\u002Flibraries\u002F*\u002Freference\u002F**`.\n- Formatting and lint-covered issues — prettier (`pnpm format`) and oxlint own those.\n- Naming\u002Fstyle preferences, or unchanged code surrounding the diff.\n\n## Read before judging\n\nConsult these and cite them in findings:\n\n- `website\u002Fsrc\u002Fcontent\u002Fdocs\u002Fdocs\u002Fhandbook\u002Fbreaking-change-policy.mdx` — the authoritative tier table\n  and the bug exception.\n- `.chronus\u002Fconfig.yaml` — the valid `changeKind` values and the `changedFiles` exclusions.\n- `.github\u002Fcopilot-instructions.md` — changelog message guidelines and the TDD expectation.\n- Sibling tests in the touched package — the established tester\u002Fassertion patterns.\n- The public compiler API (`@typespec\u002Fcompiler`) and `@typespec\u002Fcompiler\u002Ftesting` exports — to\n  confirm a used API exists and behaves as the change assumes.\n\n## 1. Breaking changes and public surface\n\nDecide which tier each change touches, then whether it breaks an _existing_ spec or consumer.\nAdding new syntax, types, or capabilities is not breaking; changing how something that already\nworked behaves is.\n\n- **Tier 0 — language syntax\u002Fsemantics, the type graph (`Type`), default TypeKits, exported helper\n  and accessor functions.** Flag: an existing valid spec that now parses differently, fails, or\n  produces a different type graph; a removed\u002Frenamed export or changed signature; a changed runtime\n  result for existing input; a removed or repurposed field on a `Type`. Adding a _required_ field to\n  a `Type` is allowed by policy but breaks downstream construction — call it out.\n- **Tier 1 — the AST (`Node`, `SyntaxKind`).** Appended enum members and new union variants are\n  allowed (TypeScript exhaustiveness errors are explicitly not breaking). Flag renumbered enums\n  (members inserted rather than appended), removed node kinds, and changed shapes of existing nodes.\n- **Tier 2 — checker, symbols, `@internal` \u002F `\u002Finternals` \u002F `\u002Fexperimental` exports, template\n  declarations, stdout\u002Fstderr output.** Not breaking; mention only if a change here silently alters\n  observable behavior.\n- **Tier 3 — formatter and emitter output.** Semantically equivalent output changes are not\n  breaking; see §5 for the risk that matters.\n- **Bug exception.** A technically breaking change that fixes clearly unintended behavior is not a\n  breaking change — but say so explicitly rather than staying silent.\n\nA change you judge breaking that has no `breaking` changeset is the highest-value finding in a\nreview. Raise it first.\n\n## 2. Changeset (`.chronus`)\n\n- Valid `changeKind` values are exactly: `internal`, `fix`, `dependencies`, `feature`,\n  `deprecation`, `breaking`. Anything else (`feat`, `docs`, `patch`, `minor`, `major`) is invalid.\n- The kind must match reality: a new capability is `feature`, a fix is `fix`, and anything breaking\n  per §1 is `breaking`.\n- One entry **per package and per change type**. A single entry bundling a feature in one package\n  with a fix in another must be split.\n- `packages:` must list exactly the affected packages.\n- Every package with a user-visible change needs an entry. Missing one is a finding — but note the\n  exclusions in `.chronus\u002Fconfig.yaml`: `**\u002F*.md`, test files, and `packages\u002F*\u002Ftest\u002F**` don't\n  require a changeset, so docs-only or test-only changes legitimately have none.\n- Message quality: describes the change from the user's perspective; area tag only when targeting a\n  secondary area of a multi-area package, in `[bracket]` form (e.g. `[converter]`, `[formatter]`) —\n  no generic `core -` prefixes; a `feature` entry includes a short illustrative code block, a simple\n  fix does not.\n\n## 3. Compiler API usage\n\nJudge whether the change uses the TypeSpec compiler API the way the compiler expects, not merely\nwhether it type-checks.\n\n- **Diagnostic targets decide whether a diagnostic can be suppressed.** A diagnostic reported with `NoTarget` can never be\n  suppressed (`packages\u002Fcompiler\u002Fsrc\u002Fcore\u002Fprogram.ts` — `target === NoTarget` returns early before\n  the `#suppress` lookup), and a diagnostic with `severity: \"error\"` can never be suppressed either\n  (suppressing one produces `suppress-error`). So a diagnostic the user is meant to be able to\n  silence must be a `warning` **and** carry a real node\u002Ftype target. Flag any target that resolves\n  to `NoTarget` on a realistic input as \"not actually suppressible\".\n- **Pick the most precise target available**, falling back deliberately: the offending type → the\n  service namespace → `program.getGlobalNamespaceType()` → `NoTarget` only for genuinely\n  program-wide failures with no node to point at.\n- **Don't assume the program has a service.** `listServices(program)` returns a possibly empty\n  array; `[0]` is `undefined` for model-only or service-less programs. Same for any lookup that can\n  return `undefined` — ask what happens in that case, and whether the diagnostic is still reachable\n  and suppressible there.\n- **Severity changes have control-flow consequences.** `error` blocks emission via\n  `program.hasError()`; downgrading to `warning` means everything downstream now runs in a state it\n  previously never saw. Verify the continue path is safe and intended.\n- **Diagnostic hygiene.** Report through the library's `reportDiagnostic`\u002F`createDiagnostic` with a\n  catalog entry and stable code; never `throw` for a user error. The message text must still match\n  the behavior after the change — a message saying the emitter \"requires\" something it now merely\n  warns about is a finding.\n- **Prefer stable public APIs.** Use exported helpers and TypeKits over the checker, symbols, or AST\n  (Tier 2, see §1); use `resolvePath`\u002F`joinPaths` rather than `node:path`; exclude template\n  declarations with `isTemplateDeclaration` when navigating types.\n\n## 4. Tests\n\n- Every new code path, branch, diagnostic, and public API needs a test co-located in the package's\n  `test\u002F**`. New behavior with no test is a finding.\n- **Reuse the package's shared tester.** Packages export one from `test\u002Ftest-host.ts` or\n  `test\u002Ftester.ts` (e.g. `packages\u002Fhttp\u002Ftest\u002Ftest-host.ts`, `packages\u002Fcompiler\u002Ftest\u002Ftester.ts`).\n  Calling `createTester(...)` inline in a new test file duplicates library\u002Fimport setup and drifts —\n  flag it and point at the existing module.\n- **Assert diagnostics with the helpers.** Use `expectDiagnostics` \u002F `expectDiagnosticEmpty` from\n  `@typespec\u002Fcompiler\u002Ftesting`, not hand-rolled checks like\n  `program.diagnostics.some((x) => x.code.endsWith(...))`, which silently pass when the code,\n  severity, or target is wrong.\n- **Exercise the real entrypoint.** A test must drive the shipped path (`$onEmit`, the decorator,\n  the emitter run) rather than re-implement the logic or call a helper in isolation — otherwise it\n  passes while the actual behavior is broken.\n- **Verify imports resolve.** If a test imports a helper from `src`, confirm that symbol is actually\n  exported there; an import of a non-existent export makes the whole file fail to load.\n- Tests must be meaningful: they should fail if the change were reverted. Flag tests that only smoke\n  run or assert nothing specific to the new behavior.\n- Beyond the happy path: error and diagnostic paths, empty\u002Fanonymous forms, templates, and negative\n  cases — including the fallback branches identified in §3.\n- Flag any weakening of existing coverage: `.skip`\u002F`.only`, deleted assertions, or matchers\n  broadened to make a change pass.\n\n## 5. Emitter output stability\n\nFor `packages\u002F{openapi3,openapi,json-schema,http,http-server-*}`:\n\n- **Unexplained snapshot changes are the headline risk.** Every changed snapshot must be an\n  intentional, explained consequence of the change. A snapshot diff for specs unrelated to the\n  feature means existing users' output changed — raise it.\n- Inline-vs-hoist, component naming, and declaration-creation changes must preserve behavior for\n  existing named types and only affect genuinely new inputs. Anonymous\u002Fempty-named types inline;\n  named types hoist without key collisions.\n- `$ref` and component-key correctness: reordering name validation relative to ref generation must\n  not silently drop validation that previously errored — if that is an intended fix, it needs to be\n  called out and changeset'd.\n- Emitters must handle new type-graph shapes defensively (new node kinds, new union variants)\n  rather than crash on them.\n\n## How to comment\n\n- One issue per comment, anchored on the offending line.\n- State the problem, cite the rule (policy section, `.chronus\u002Fconfig.yaml`, guideline) or the\n  relevant `file:line`, and suggest the concrete fix.\n- One or two sentences. No preamble, no summarizing the diff back to the author.\n- Don't repeat a point another comment already makes.\n- Lead with correctness, compatibility, and coverage. Minor suggestions are welcome only when they\n  are actionable and specific.\n",{"name":5,"description":7},"main","05b9bad7c57b9b58e8fb5390f9bab081a1a9ac31",".github\u002Fskills\u002Fcode-review",423,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ftypespec","https:\u002F\u002Ftypespec.io\u002F","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-11-14 06:59:49",{"source":9,"skillName":5,"commands":71,"prompt":81,"zipAvailable":82},[72,75,78],{"tool":73,"command":74},"npx","npx skills add microsoft\u002Ftypespec --skill code-review",{"tool":76,"command":77},"bunx","bunx skills add microsoft\u002Ftypespec --skill code-review",{"tool":79,"command":80},"pnpm","pnpm dlx skills add microsoft\u002Ftypespec --skill code-review","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ftypespec\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fcode-review\u002FSKILL.md",true,[84,90,94,98,102,106],{"path":85,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":88,"sourceHtmlUrl":89},"scripts\u002Ffind_by_name.py","SCRIPT","脚本",7501,"https:\u002F\u002Fgithub.com\u002Fmdnaimul22\u002Fhuman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fstorage\u002Fmy_skills\u002Fhuman-skills-tools\u002Fscripts\u002Ffind_by_name.py",{"path":91,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":92,"sourceHtmlUrl":93},"scripts\u002Fgrep_search.py",8914,"https:\u002F\u002Fgithub.com\u002Fmdnaimul22\u002Fhuman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fstorage\u002Fmy_skills\u002Fhuman-skills-tools\u002Fscripts\u002Fgrep_search.py",{"path":95,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":96,"sourceHtmlUrl":97},"scripts\u002Flist_dir.py",3867,"https:\u002F\u002Fgithub.com\u002Fmdnaimul22\u002Fhuman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fstorage\u002Fmy_skills\u002Fhuman-skills-tools\u002Fscripts\u002Flist_dir.py",{"path":99,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":100,"sourceHtmlUrl":101},"scripts\u002Fpatch_text.py",11928,"https:\u002F\u002Fgithub.com\u002Fmdnaimul22\u002Fhuman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fstorage\u002Fmy_skills\u002Fhuman-skills-tools\u002Fscripts\u002Fpatch_text.py",{"path":103,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":104,"sourceHtmlUrl":105},"scripts\u002Fview_file.py",5294,"https:\u002F\u002Fgithub.com\u002Fmdnaimul22\u002Fhuman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fstorage\u002Fmy_skills\u002Fhuman-skills-tools\u002Fscripts\u002Fview_file.py",{"path":107,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":108,"sourceHtmlUrl":109},"scripts\u002Fwrite_to_file.py",3492,"https:\u002F\u002Fgithub.com\u002Fmdnaimul22\u002Fhuman-skills\u002Fblob\u002Fmain\u002Fskills\u002Fstorage\u002Fmy_skills\u002Fhuman-skills-tools\u002Fscripts\u002Fwrite_to_file.py",[111,143,169,191,214,233],{"skillNo":112,"name":113,"nameZh":114,"description":115,"descriptionZh":116,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":117,"categories":118,"keywords":123,"publishedAt":55},"01M69B7KKBZE845SFNJQ5H992V","test-unbranded-emitter","http-client-python Emitter 构建与测试","Build and test the @typespec\u002Fhttp-client-python emitter. Use this skill whenever the user wants to test their local changes to the emitter, run the generator test suite, check if their http-client-python changes are passing, or validate a fix. Triggers on phrases like \"test the emitter\", \"run tests\", \"check if my changes pass\", \"run test:generator\", \"run CI\", or any mention of testing\u002Fvalidating changes in the emitter package.","构建并测试 @typespec\u002Fhttp-client-python emitter。当用户想要测试其对 emitter 的本地变更、运行生成器测试套件、检查其 http-client-python 变更是否通过，或验证某项修复时使用。触发短语包括“test the emitter”（测试 emitter）、“run tests”（运行测试）、“check if my changes pass”（检查我的变更是否通过）、“run test:generator”（运行 test:generator）、“run CI”（运行 CI），或在 emitter 包中提及任何测试\u002F验证变更的表述。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ftypespec\u002Fblob\u002Fmain\u002Fpackages\u002Fhttp-client-python\u002F.github\u002Fskills\u002Ftest-unbranded-emitter\u002FSKILL.md",[119,120],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":121,"categoryName":122,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQJH394GT47X57A9Q8G7HX","测试与质量保障",[52,124,125,126,127,128,129,130,47,131,132,133,134,135,41,136,137,138,139,140,141,142],"test unbranded emitter","testing","python","build and test","validate","run tests","http","run","package","ci","check","fix","test suite","build","local","tests","triggers","generator","changes",{"skillNo":144,"name":145,"nameZh":146,"description":147,"descriptionZh":148,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":149,"categories":150,"keywords":155,"publishedAt":55},"01M69B7H23BJ7ART6SA67EFJ5W","generate-from-typespec","TypeSpec 生成 Python SDK 代码","Generate Python SDK code from a TypeSpec specification using the local emitter. Use this skill when the user wants to generate\u002Fregenerate a Python client from a TypeSpec spec, provides a GitHub URL or local path to a TypeSpec project, or says things like \"generate from this spec\", \"emit Python from this tsp\", \"regenerate the SDK\", or \"compile this TypeSpec for Python\".","使用本地 emitter 从 TypeSpec 规范生成 Python SDK 代码。当用户想要从 TypeSpec 规范生成或重新生成 Python 客户端，提供了 TypeSpec 项目的 GitHub URL 或本地路径，或说出类似“generate from this spec”（从此规范生成）、“emit Python from this tsp”（从此 tsp 生成 Python）、“regenerate the SDK”（重新生成 SDK）、“compile this TypeSpec for Python”（将此 TypeSpec 编译为 Python）等表述时使用。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ftypespec\u002Fblob\u002Fmain\u002Fpackages\u002Fhttp-client-python\u002F.github\u002Fskills\u002Fgenerate-from-typespec\u002FSKILL.md",[151,152],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":153,"categoryName":154,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BT7QVANT4709358VEJK53E","代码实现",[47,156,157,158,126,159,160,33,161,162,163,41,164,138,39,165,166,167,168,34],"generate from typespec","generate","spec","github","sdk","compile","python sdk","user","specification","client","URL","for","things",{"skillNo":170,"name":171,"nameZh":172,"description":173,"descriptionZh":174,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":175,"categories":176,"keywords":179,"publishedAt":55},"01M69B7EJ0F9HGY2Y8RMX9C4E6","diff-upstream","Emitter 生成代码与上游基线对比","Regenerate the local emitter and diff the generated code against the upstream baseline checked into autorest.python. Use this skill when the user wants to see how their emitter changes affect generated code compared to what's currently in production, says things like \"diff upstream\", \"compare to baseline\", \"what changed vs production\", \"show me the diff\", \"how does this affect generated code\", or wants to validate their changes produce the expected output differences.","重新生成本地 emitter，并将生成的代码与已检入 autorest.python 的上游基线进行对比。当用户想查看其 emitter 变更对生成代码的影响（相较于当前生产环境的差异），或说出类似“diff upstream”（与上游对比）、“compare to baseline”（与基线比较）、“what changed vs production”（相较生产环境有哪些变化）、“show me the diff”（给我看差异）、“how does this affect generated code”（这如何影响生成代码）等表述，或希望验证其变更能产生预期的输出差异时使用。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ftypespec\u002Fblob\u002Fmain\u002Fpackages\u002Fhttp-client-python\u002F.github\u002Fskills\u002Fdiff-upstream\u002FSKILL.md",[177,178],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":153,"categoryName":154,"taxonomyType":28,"taxonomyTypeDesc":29},[180,40,181,126,128,33,182,183,184,185,186,41,187,188,138,189,36,168,142,190,34],"diff upstream","upstream","produce","baseline","show me","how","generated","show","me","compare","expected",{"skillNo":192,"name":193,"nameZh":194,"description":195,"descriptionZh":196,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":197,"categories":198,"keywords":203,"publishedAt":55},"01M69B7BHV2RTK64BZ8NQGFPNE","writing-python-sdk-spector-mock-api-tests","Python SDK Spector 模拟 API 测试编写","Writes TypeSpec http-client-python generator mock API tests (azure\u002Funbranded\u002Fshared) from a Spector case. Use when given a Spector case link or a PR link that modifies Spector cases under http-specs\u002Fazure-http-specs.","根据 Spector 用例编写 TypeSpec http-client-python generator 的模拟 API 测试（azure\u002Funbranded\u002Fshared）。当给定 Spector 用例链接，或修改 http-specs\u002Fazure-http-specs 下 Spector 用例的 PR 链接时使用。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ftypespec\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fpython-sdk-spector-mock-api-tests\u002FSKILL.md",[199,202],{"categoryNo":200,"categoryName":201,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD5WG86P4AQ5GPSSKBFR","测试工程师",{"categoryNo":121,"categoryName":122,"taxonomyType":28,"taxonomyTypeDesc":29},[204,126,160,205,44,162,206,139,207,208,209,130,210,47,41,211,212,213,141,34],"writing","writing python sdk spector mock api tests","writing python","mock","mock api","azure","pr","shared","link","case",{"skillNo":215,"name":216,"nameZh":217,"description":218,"descriptionZh":219,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":220,"categories":221,"keywords":226,"publishedAt":55},"01M69B79NV57JMNA7RS13MAE5P","pnpm-format","pnpm 代码格式化","Format the codebase with pnpm and recover from common formatting failures.","使用 pnpm 格式化代码库，并从常见的格式化失败中恢复。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ftypespec\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fpnpm-format\u002FSKILL.md",[222,223],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":224,"categoryName":225,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSTR9G4A4GZ0VB2DFN9490","开发环境与工具链管理",[227,228,79,229,230,231,232],"pnpm format","format","common","formatting","with","codebase",{"skillNo":234,"name":235,"nameZh":236,"description":237,"descriptionZh":238,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":239,"categories":240,"keywords":245,"publishedAt":55},"01M69B784PEAQ45ZKNZAX9NCA9","minimal-repro","TypeSpec Bug 最小复现构建","Help create a minimal reproduction for a TypeSpec compiler or emitter bug. Use when a user provides TypeSpec source (pasted code or a GitHub URL) and describes an issue. Reproduces locally and reduces to a single-file repro.","帮助创建 TypeSpec 编译器或 emitter bug 的最小复现。当用户提供 TypeSpec 源码（粘贴的代码或 GitHub URL）并描述问题时使用。在本地复现并缩减为单文件复现。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Ftypespec\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fminimal-repro\u002FSKILL.md",[241,242],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":243,"categoryName":244,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRSRYQ3M8N5063NNQPF2B1","调试与故障排查",[246,247,248,159,47,249,33,250,45,251,163,41,252,253,254,166,167,255,256,34],"minimal repro","repro","minimal","create","help","file","single-file","bug","issue","source","single"]