[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6BZFHCK196E4Z66DGN9QDYJ":3,"skill-same:01M6BZFHCK196E4Z66DGN9QDYJ":71},{"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":43,"linkOnly":44,"markdownContent":45,"markdownBody":46,"frontMatter":47,"refName":48,"commitSha":49,"skillDirectory":50,"forksCount":51,"repositoryHtmlUrl":52,"repositoryHomepageUrl":53,"ownerHtmlUrl":54,"ownerBlogUrl":55,"ownerDescription":17,"updatedAt":56,"install":57,"resources":70},"01M6BZFHCK196E4Z66DGN9QDYJ","write-tests","测试用例编写指南","Read before writing or modifying anything under tests\u002F or unittests\u002F, or the tools' own tests — the case workflow, unit tests, hard rules and known pitfalls.","在编写或修改 tests\u002F 或 unittests\u002F 目录下的任何内容，或工具自身的测试之前阅读——包括用例工作流、单元测试、硬性规则以及已知的陷阱。","clice-io\u002Fclice","clice-io","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F176553789?v=4","01M6BZEJH3SKDZ3SMSS1V6CKKB","clice","01M6BZEJN97S3AQVRQ4V7GGE5C",1383,"Apache-2.0",null,"https:\u002F\u002Fgithub.com\u002Fclice-io\u002Fclice\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fwrite-tests\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD5WG86P4AQ5GPSSKBFR","测试工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQJH394GT47X57A9Q8G7HX","测试与质量保障","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42],"write tests","write","tests","writing","Rules","workflow","Tools","unit tests","unit","case","read","pitfalls","2026-11-10 10:12:30",false,"---\nname: write-tests\ndescription: Read before writing or modifying anything under tests\u002F or unittests\u002F, or the tools' own tests — the case workflow, unit tests, hard rules and known pitfalls.\n---\n\n# Writing clice tests\n\nEvery test but the C++ unit tests is a **case**: a directory\n`tests\u002F\u003Ctopic>\u002F\u003Csubtopic>\u002FNN_name\u002F` that is a small project of its own,\nwith the `test.ts` that says what to check (its own or inherited from its\nsubtopic or topic), a `README.md` when it belongs in the docs, and\n`snap.toml`, every output it pins. **`tests\u002FREADME.md` is the\ncontract**: topics, inputs and markers, the two kinds of test (`answers`,\n`test`), the clients, outputs and how they render, docs, waiting and\nteardown. Read it before writing a case; this skill adds only the workflow,\nthe hard rules and the pitfalls. The framework is `tools\u002Ftesting\u002F`\n(`@clice\u002Ftools\u002Ftesting`). `tests\u002F` keeps the compat and Zed suites.\n\n## Workflow\n\n1. Place the case by product area, not by the way it checks: the topic and\n   subtopic of the behavior (`tools\u002Ftesting\u002Fcases\u002Ftopics.ts` lists the\n   topics). Copy the shape of 2-3 neighboring cases; one project per case,\n   shared by several tests.\n2. Write the inputs, with `§` markers where the tests ask; a `test.ts` only\n   when the inherited script does not fit; a `README.md` only when the case\n   shows a capability a reader should see. A case that pins an edge or a\n   fixed bug has no README.\n3. Run it alone, on the box the build ran on (the test skill):\n   `CLICE_CASES=\u003Ctopic>\u002F\u003Csubtopic>\u002FNN_name pixi run -e test-run cases-test`.\n   `UPDATE_SNAPSHOTS=1` writes its `snap.toml` and prints what changed:\n   review every block like code. It is written on the box:\n   `box cp $id . \u003Ccase dir>` brings it back before the next `box push`\n   overwrites it. Every run also writes a documented case's card under\n   `docs\u002Fcards\u002F`, which git ignores: CI makes the cards the site draws. What clice gets wrong stays in the output, with\n   `wrong = \"\u003Creason>\"` on the block.\n4. Gate: `pixi run npm run check` at the repo root (strict tsc + ESLint,\n   zero tolerance). Page regions and translations are synced, and\n   `docs-check` run, once at the end of the branch (the docs skill's\n   \"Syncing docs at the end of a branch\").\n\n## Hard rules\n\n- `.fails`, `.todo` and a weakened assertion or snapshot are skipping a\n  test (CLAUDE.md). `except: { \u003Cplatform>: \"why\" }` is for a test with no\n  meaning on a platform, never for one that fails there.\n- An `answers` test whose inspect and server outputs differ shows a real\n  divergence: fix it, or declare `paths` with the reason. Never\n  `UPDATE_SNAPSHOTS` over it.\n- URIs in server replies are validated strictly\n  (`tools\u002Ftesting\u002Frender\u002Fpaths.ts`). Do not \"normalize away\" a malformed\n  URI; a raw path or unencoded space is a server bug.\n- Comments: `\u002F\u002F\u002F` for doc comments, `\u002F\u002F` inline; explain constraints the\n  code can't show, nothing else. A documented case's sources are what its\n  card shows: its maintainer notes go in its `test.ts`. An undocumented\n  case keeps them in its sources, never in a `test.ts` that only copies the\n  inherited script to hold them.\n- Every test runs on a fresh copy of its case. Probes and experiments work\n  on a copy too (`CLICE_KEEP_WORKSPACE=1` keeps a test's copy and prints\n  where); never point a server at a case directory itself.\n- Tear down servers by the PIDs you recorded (and their subtree) — never\n  `pkill` by name. A pattern sweep kills a sibling run's servers, and those\n  deaths look exactly like the bug being hunted.\n\n## Known pitfalls (each cost a real debugging session)\n\n- JS numbers mangle 64-bit values: parse such JSON with `JSON.rawJSON` or a\n  BigInt reviver; the CLI's answers name symbols by `#\u003Chex>` locator strings\n  for this reason.\n- Python-style truthiness does not port: `expect([]).toBeFalsy()` fails —\n  assert `length` explicitly.\n- LSP positions are UTF-16 code units, or UTF-8 bytes or code points on a\n  server started with `positionEncoding`; ASCII sources keep them equal to\n  string indices — non-ASCII sources need real conversion. A test sending\n  raw positions through `s.client` converts them itself (`SourceText.encode`).\n- `Diagnostic.message` is `string | MarkupContent` — narrow before\n  `.includes`.\n- Child stdout\u002Fstderr backpressure is real: an undrained pipe blocks the\n  server; `spawnSync` has a 1MB default `maxBuffer` that silently kills\n  children.\n- `§` is always a marker: a literal `(` right after an unnamed one is\n  written `§()`, and case text never contains a literal `§`, comments\n  included.\n- Include-completion cases use an include prefix unique to the case: the\n  pixi env's `$PREFIX\u002Finclude` leaks into the search path and `-nostdinc`\n  does not stop it. Completion statements end with `;` — an unterminated\n  statement drags the next marker into recovery context.\n- Windows file timestamps tick at ~15.6 ms: two touches inside one tick\n  stat equal, so a test that needs distinct mtimes sets them explicitly.\n- LMDB reads come from a resident snapshot: advance it after a write before\n  expecting visibility, and a test double wrapping `BlobDatabase` must\n  forward `advance_read_snapshot`\u002F`retire_old_snapshot`\u002F`grow` or the\n  snapshot never moves. Probe blob\n  keys go through the path pool's canonical spelling (Windows 8.3 short\n  names hash differently).\n- Module tests stay green on lexical tokens alone even when the Tester\n  writes no BMI at all: when touching the Tester compile path, check that a\n  PCM is really produced.\n- Under `-ffreestanding` clang recognizes no library builtins\n  (`getBuiltinID` is 0): logic keyed on builtin recognition behaves\n  differently in unit tests than under a hosted `clice inspect`.\n- A unit test runs in zest's worker process: one that crashes is reported\n  CRASHED under its own name, with what it printed, and the run goes on.\n  A debugger attached to `unittests` sees only the runner — take a\n  backtrace with `--no-isolation --test-filter=Suite.Case`, which runs the\n  test in-process (`lldb --batch -o run -k \"bt 40\" -- ...`).\n- The Tester's driver is the `clang++` on PATH: the cross-built platforms\n  (arm64 Linux, x64 macOS, both Windows; `build_os` in `test.yml`) run\n  their suites with only the `test-run` env active, so on arm64 Linux they compile against the\n  runner's system libstdc++, not conda's, and on Windows with the\n  runner's clang, which targets MSVC. A wrapper script named `clang++` that execs the\n  pixi clang with another `--gcc-install-dir` reproduces one of them locally.\n\n## Answers the index serves\n\nUntil a file's AST is current, the server answers its semantic tokens,\noutline, folding ranges and document links from the index, and what the\neditor shows must not change when the AST arrives. Every answers case checks\nit on inspect (`tests\u002FREADME.md`, \"answers\"): what the index's entries give\nmust be what the AST gives; it may leave things out, and what the lexer alone\ngives where it has no entry does not count. A difference is a bug of one answer\nor the other, fixed, never declared away. `clice\ninspect \u003Cfeature> \u003Cfile> --index` answers from the file's own TU index as the\nserver does; when a change touches these features or the index facts they\nread, also compare it with the plain answer over real code — the\nrepository's sources, the libc++ and libstdc++ headers, LLVM's (a header\noutside every project takes its command from a `clice.toml` above it whose\nrule sets `default_command`) — and pin each difference that matters in a\ncase.\n\n## C++ unit tests (zest)\n\n- Names of at most four words; what belongs in a unit test rather than a\n  case is in `tests\u002FREADME.md`, \"Unit tests\".\n- zest constructs a fresh suite object for every `ZEST_CASE`: no `reset()`\n  \u002F `clear()` helpers, shared initialization goes in the suite's\n  constructor (`ZEST_SUITE(Name)` declares `struct NameTEST`). A\n  default-constructed `Workspace` already carries the real configuration\n  defaults (`Config` guarantees it; `BornValidDefaults` pins it) — no\n  defaults initialization is needed.\n- A check takes one expression and shows the operands of its top-level\n  comparison: `ZEXPECT(a == b)`, `ZASSERT(result)`. `&&`, `||`, bitwise\n  operators and shifts at the top level do not compile — split the check,\n  or parenthesize it to check one bool.\n- A failed `ZASSERT` ends the test's worker process at once, without\n  unwinding: it works the same in a coroutine, a helper or another thread,\n  but the suite's destructor does not run — cleanup that must happen then\n  goes in a `zest::FatalHook`. Under `--no-isolation` it ends the\n  whole run.\n- Filter with `--test-filter=\u003Cname>`; a bare positional name is a usage\n  error (exit 2).\n- `select(\"m\")` looks up a point while `§(m)⟦...⟧` registers only a range:\n  a test that needs both annotates both (`§(m)⟦§(m)foo⟧`).\n\n## Tooling code (`tools\u002F`)\n\n- Framework > mature library > handwritten: vitest's own concurrency\n  (`test.concurrent`, `maxConcurrency`) over a custom pool, `jsdiff` over a\n  hand-rolled diff, `util.parseArgs` over a custom argv parser; say why a\n  library is trustworthy (downloads, maintenance, already in the tree). The\n  one exception is byte-level twin code — the C++\u002FTS annotation parsers —\n  whose contract is byte identity and which a library would break.\n- `tools\u002F` runs under node's strip-only TypeScript: erasable syntax only (no\n  constructor parameter properties, no enums).\n- Naming: no abbreviated file names, no decorative section comments. New\n  modules join the subsystem directory they belong to (`tools\u002Ftesting`,\n  `tools\u002Fclient`, `tools\u002Fdocs`, `tools\u002Fprotocol`, `tools\u002Fcompat`,\n  `tools\u002Fecosystem`); a new directory needs a new subsystem, not a new file.\n  Framework and domain logic live in `tools\u002F`; test directories keep only\n  what must be there (package.json, tsconfig, thin vitest glue).\n- The tools' own tests sit beside the code they test as `*.test.ts`;\n  `npm test -w tools` runs them all, with no clice build.\n","# Writing clice tests\n\nEvery test but the C++ unit tests is a **case**: a directory\n`tests\u002F\u003Ctopic>\u002F\u003Csubtopic>\u002FNN_name\u002F` that is a small project of its own,\nwith the `test.ts` that says what to check (its own or inherited from its\nsubtopic or topic), a `README.md` when it belongs in the docs, and\n`snap.toml`, every output it pins. **`tests\u002FREADME.md` is the\ncontract**: topics, inputs and markers, the two kinds of test (`answers`,\n`test`), the clients, outputs and how they render, docs, waiting and\nteardown. Read it before writing a case; this skill adds only the workflow,\nthe hard rules and the pitfalls. The framework is `tools\u002Ftesting\u002F`\n(`@clice\u002Ftools\u002Ftesting`). `tests\u002F` keeps the compat and Zed suites.\n\n## Workflow\n\n1. Place the case by product area, not by the way it checks: the topic and\n   subtopic of the behavior (`tools\u002Ftesting\u002Fcases\u002Ftopics.ts` lists the\n   topics). Copy the shape of 2-3 neighboring cases; one project per case,\n   shared by several tests.\n2. Write the inputs, with `§` markers where the tests ask; a `test.ts` only\n   when the inherited script does not fit; a `README.md` only when the case\n   shows a capability a reader should see. A case that pins an edge or a\n   fixed bug has no README.\n3. Run it alone, on the box the build ran on (the test skill):\n   `CLICE_CASES=\u003Ctopic>\u002F\u003Csubtopic>\u002FNN_name pixi run -e test-run cases-test`.\n   `UPDATE_SNAPSHOTS=1` writes its `snap.toml` and prints what changed:\n   review every block like code. It is written on the box:\n   `box cp $id . \u003Ccase dir>` brings it back before the next `box push`\n   overwrites it. Every run also writes a documented case's card under\n   `docs\u002Fcards\u002F`, which git ignores: CI makes the cards the site draws. What clice gets wrong stays in the output, with\n   `wrong = \"\u003Creason>\"` on the block.\n4. Gate: `pixi run npm run check` at the repo root (strict tsc + ESLint,\n   zero tolerance). Page regions and translations are synced, and\n   `docs-check` run, once at the end of the branch (the docs skill's\n   \"Syncing docs at the end of a branch\").\n\n## Hard rules\n\n- `.fails`, `.todo` and a weakened assertion or snapshot are skipping a\n  test (CLAUDE.md). `except: { \u003Cplatform>: \"why\" }` is for a test with no\n  meaning on a platform, never for one that fails there.\n- An `answers` test whose inspect and server outputs differ shows a real\n  divergence: fix it, or declare `paths` with the reason. Never\n  `UPDATE_SNAPSHOTS` over it.\n- URIs in server replies are validated strictly\n  (`tools\u002Ftesting\u002Frender\u002Fpaths.ts`). Do not \"normalize away\" a malformed\n  URI; a raw path or unencoded space is a server bug.\n- Comments: `\u002F\u002F\u002F` for doc comments, `\u002F\u002F` inline; explain constraints the\n  code can't show, nothing else. A documented case's sources are what its\n  card shows: its maintainer notes go in its `test.ts`. An undocumented\n  case keeps them in its sources, never in a `test.ts` that only copies the\n  inherited script to hold them.\n- Every test runs on a fresh copy of its case. Probes and experiments work\n  on a copy too (`CLICE_KEEP_WORKSPACE=1` keeps a test's copy and prints\n  where); never point a server at a case directory itself.\n- Tear down servers by the PIDs you recorded (and their subtree) — never\n  `pkill` by name. A pattern sweep kills a sibling run's servers, and those\n  deaths look exactly like the bug being hunted.\n\n## Known pitfalls (each cost a real debugging session)\n\n- JS numbers mangle 64-bit values: parse such JSON with `JSON.rawJSON` or a\n  BigInt reviver; the CLI's answers name symbols by `#\u003Chex>` locator strings\n  for this reason.\n- Python-style truthiness does not port: `expect([]).toBeFalsy()` fails —\n  assert `length` explicitly.\n- LSP positions are UTF-16 code units, or UTF-8 bytes or code points on a\n  server started with `positionEncoding`; ASCII sources keep them equal to\n  string indices — non-ASCII sources need real conversion. A test sending\n  raw positions through `s.client` converts them itself (`SourceText.encode`).\n- `Diagnostic.message` is `string | MarkupContent` — narrow before\n  `.includes`.\n- Child stdout\u002Fstderr backpressure is real: an undrained pipe blocks the\n  server; `spawnSync` has a 1MB default `maxBuffer` that silently kills\n  children.\n- `§` is always a marker: a literal `(` right after an unnamed one is\n  written `§()`, and case text never contains a literal `§`, comments\n  included.\n- Include-completion cases use an include prefix unique to the case: the\n  pixi env's `$PREFIX\u002Finclude` leaks into the search path and `-nostdinc`\n  does not stop it. Completion statements end with `;` — an unterminated\n  statement drags the next marker into recovery context.\n- Windows file timestamps tick at ~15.6 ms: two touches inside one tick\n  stat equal, so a test that needs distinct mtimes sets them explicitly.\n- LMDB reads come from a resident snapshot: advance it after a write before\n  expecting visibility, and a test double wrapping `BlobDatabase` must\n  forward `advance_read_snapshot`\u002F`retire_old_snapshot`\u002F`grow` or the\n  snapshot never moves. Probe blob\n  keys go through the path pool's canonical spelling (Windows 8.3 short\n  names hash differently).\n- Module tests stay green on lexical tokens alone even when the Tester\n  writes no BMI at all: when touching the Tester compile path, check that a\n  PCM is really produced.\n- Under `-ffreestanding` clang recognizes no library builtins\n  (`getBuiltinID` is 0): logic keyed on builtin recognition behaves\n  differently in unit tests than under a hosted `clice inspect`.\n- A unit test runs in zest's worker process: one that crashes is reported\n  CRASHED under its own name, with what it printed, and the run goes on.\n  A debugger attached to `unittests` sees only the runner — take a\n  backtrace with `--no-isolation --test-filter=Suite.Case`, which runs the\n  test in-process (`lldb --batch -o run -k \"bt 40\" -- ...`).\n- The Tester's driver is the `clang++` on PATH: the cross-built platforms\n  (arm64 Linux, x64 macOS, both Windows; `build_os` in `test.yml`) run\n  their suites with only the `test-run` env active, so on arm64 Linux they compile against the\n  runner's system libstdc++, not conda's, and on Windows with the\n  runner's clang, which targets MSVC. A wrapper script named `clang++` that execs the\n  pixi clang with another `--gcc-install-dir` reproduces one of them locally.\n\n## Answers the index serves\n\nUntil a file's AST is current, the server answers its semantic tokens,\noutline, folding ranges and document links from the index, and what the\neditor shows must not change when the AST arrives. Every answers case checks\nit on inspect (`tests\u002FREADME.md`, \"answers\"): what the index's entries give\nmust be what the AST gives; it may leave things out, and what the lexer alone\ngives where it has no entry does not count. A difference is a bug of one answer\nor the other, fixed, never declared away. `clice\ninspect \u003Cfeature> \u003Cfile> --index` answers from the file's own TU index as the\nserver does; when a change touches these features or the index facts they\nread, also compare it with the plain answer over real code — the\nrepository's sources, the libc++ and libstdc++ headers, LLVM's (a header\noutside every project takes its command from a `clice.toml` above it whose\nrule sets `default_command`) — and pin each difference that matters in a\ncase.\n\n## C++ unit tests (zest)\n\n- Names of at most four words; what belongs in a unit test rather than a\n  case is in `tests\u002FREADME.md`, \"Unit tests\".\n- zest constructs a fresh suite object for every `ZEST_CASE`: no `reset()`\n  \u002F `clear()` helpers, shared initialization goes in the suite's\n  constructor (`ZEST_SUITE(Name)` declares `struct NameTEST`). A\n  default-constructed `Workspace` already carries the real configuration\n  defaults (`Config` guarantees it; `BornValidDefaults` pins it) — no\n  defaults initialization is needed.\n- A check takes one expression and shows the operands of its top-level\n  comparison: `ZEXPECT(a == b)`, `ZASSERT(result)`. `&&`, `||`, bitwise\n  operators and shifts at the top level do not compile — split the check,\n  or parenthesize it to check one bool.\n- A failed `ZASSERT` ends the test's worker process at once, without\n  unwinding: it works the same in a coroutine, a helper or another thread,\n  but the suite's destructor does not run — cleanup that must happen then\n  goes in a `zest::FatalHook`. Under `--no-isolation` it ends the\n  whole run.\n- Filter with `--test-filter=\u003Cname>`; a bare positional name is a usage\n  error (exit 2).\n- `select(\"m\")` looks up a point while `§(m)⟦...⟧` registers only a range:\n  a test that needs both annotates both (`§(m)⟦§(m)foo⟧`).\n\n## Tooling code (`tools\u002F`)\n\n- Framework > mature library > handwritten: vitest's own concurrency\n  (`test.concurrent`, `maxConcurrency`) over a custom pool, `jsdiff` over a\n  hand-rolled diff, `util.parseArgs` over a custom argv parser; say why a\n  library is trustworthy (downloads, maintenance, already in the tree). The\n  one exception is byte-level twin code — the C++\u002FTS annotation parsers —\n  whose contract is byte identity and which a library would break.\n- `tools\u002F` runs under node's strip-only TypeScript: erasable syntax only (no\n  constructor parameter properties, no enums).\n- Naming: no abbreviated file names, no decorative section comments. New\n  modules join the subsystem directory they belong to (`tools\u002Ftesting`,\n  `tools\u002Fclient`, `tools\u002Fdocs`, `tools\u002Fprotocol`, `tools\u002Fcompat`,\n  `tools\u002Fecosystem`); a new directory needs a new subsystem, not a new file.\n  Framework and domain logic live in `tools\u002F`; test directories keep only\n  what must be there (package.json, tsconfig, thin vitest glue).\n- The tools' own tests sit beside the code they test as `*.test.ts`;\n  `npm test -w tools` runs them all, with no clice build.\n",{"name":5,"description":7},"main","c13f75373e6ebc1525862eeb7f4ac5da8affd3cc",".claude\u002Fskills\u002Fwrite-tests",89,"https:\u002F\u002Fgithub.com\u002Fclice-io\u002Fclice","https:\u002F\u002Fdocs.clice.io\u002Fclice\u002F","https:\u002F\u002Fgithub.com\u002Fclice-io","https:\u002F\u002Fclice.io\u002F","2026-11-15 03:05:59",{"source":9,"skillName":5,"commands":58,"prompt":68,"zipAvailable":69},[59,62,65],{"tool":60,"command":61},"npx","npx skills add clice-io\u002Fclice --skill write-tests",{"tool":63,"command":64},"bunx","bunx skills add clice-io\u002Fclice --skill write-tests",{"tool":66,"command":67},"pnpm","pnpm dlx skills add clice-io\u002Fclice --skill write-tests","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fclice-io\u002Fclice\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fwrite-tests\u002FSKILL.md",true,[],[72,101,128,155,178,203],{"skillNo":73,"name":74,"nameZh":75,"description":76,"descriptionZh":77,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":78,"categories":79,"keywords":86,"publishedAt":43},"01M6BZFEQ2NCYCKQX0RTMQM55A","upgrade-llvm","LLVM 升级指南","Read before upgrading xclang\u002FLLVM (arg = the xclang version, e.g. 23.1.2.1), touching MODULE.bazel, .bazelrc, BUILD.bazel or bazel\u002F, or regenerating modules\u002F — after a library bump, or when clice needs a header or macro it does not export.","在升级 xclang\u002FLLVM（参数 = xclang 版本，例如 23.1.2.1）、修改 MODULE.bazel、.bazelrc、BUILD.bazel 或 bazel\u002F，或重新生成 modules\u002F 之前阅读——适用于库版本升级之后，或 clice 需要某个其未导出的头文件或宏的情况。","https:\u002F\u002Fgithub.com\u002Fclice-io\u002Fclice\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fupgrade-llvm\u002FSKILL.md",[80,83],{"categoryNo":81,"categoryName":82,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师",{"categoryNo":84,"categoryName":85,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSTR9G4A4GZ0VB2DFN9490","开发环境与工具链管理",[87,88,89,90,41,91,92,93,94,95,96,97,98,99,100],"upgrade llvm","llvm","upgrade","build","export","it","modules","bump","bazel","macro","library","module","when","version",{"skillNo":102,"name":103,"nameZh":104,"description":105,"descriptionZh":106,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":107,"categories":108,"keywords":113,"publishedAt":43},"01M6BZFCM31QYASHF2XF6G105C","triage","问题工单分诊","Use when asked to triage issues — classifies untriaged issues with codex, validates the labels, and returns proposed labels plus an activity digest. Read-only; runs in a forked context.","当用户要求对问题进行分诊时使用——使用 codex 对未分诊的问题进行分类，验证标签，并返回建议的标签以及活动摘要。只读；在分叉（forked）上下文中运行。","https:\u002F\u002Fgithub.com\u002Fclice-io\u002Fclice\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ftriage\u002FSKILL.md",[109,110],{"categoryNo":81,"categoryName":82,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":111,"categoryName":112,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C2MZSDTE56BDKER3VPW2JM","工单与问题跟踪管理",[103,114,115,116,117,118,119,120,121,122,41,123,124,125,99,126,127],"issues","returns","triage issues","codex","activity digest","read-only","activity","context","labels","digest","fork","with","use","only",{"skillNo":129,"name":130,"nameZh":131,"description":132,"descriptionZh":133,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":134,"categories":135,"keywords":142,"publishedAt":43},"01M6BZFAW6TTR0FK91HZ0TVNFS","translate-docs","中文文档翻译与审校指南","Read before translating, reviewing or editing any docs\u002Fzh page — clice's glossary and page conventions, on top of the shared translation rules of clice-io\u002Fdocs.","在翻译、审查或编辑任何 docs\u002Fzh 页面之前阅读——涵盖 clice 的术语表与页面约定，以及 clice-io\u002Fdocs 的共享翻译规则。","https:\u002F\u002Fgithub.com\u002Fclice-io\u002Fclice\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ftranslate-docs\u002FSKILL.md",[136,139],{"categoryNo":137,"categoryName":138,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C664561CFRMXSC8XDFDZKD","语言翻译与本地化",{"categoryNo":140,"categoryName":141,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8C66465GSN4VFJAQ1QMA8HD","翻译",[143,144,145,146,147,148,41,149,150,151,152,153,154,35],"translate docs","translate","docs","zh","io","conventions","top","translation","shared","editing","page","glossary",{"skillNo":156,"name":157,"nameZh":158,"description":159,"descriptionZh":160,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":161,"categories":162,"keywords":165,"publishedAt":43},"01M6BZF86F54V9BZCW3MJW82VY","test","clice 测试套件运行","Run the clice test suites, on a box unless a local run is truly necessary; also how to test on Windows. Optional args = suite (unit | cases | all, default all) build type (Debug | RelWithDebInfo, default RelWithDebInfo) and the box id the build ran on. Runs in a forked context; only a digest returns.","运行 clice 测试套件，除非确实有必要本地运行，否则应在远程机器（box）上执行；另附在 Windows 上测试的方法。可选参数 = 套件（unit | cases | all，默认 all）、构建类型（Debug | RelWithDebInfo，默认 RelWithDebInfo）以及运行构建的机器 id。该技能在 fork 上下文中运行，仅返回摘要。","https:\u002F\u002Fgithub.com\u002Fclice-io\u002Fclice\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ftest\u002FSKILL.md",[163,164],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[157,166,167,121,168,123,90,124,169,170,127,171,172,39,115,173,174,175,176,177],"how to","local run","suite","id","type","local","default","run","how","debug","box","windows",{"skillNo":179,"name":180,"nameZh":181,"description":182,"descriptionZh":183,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":184,"categories":185,"keywords":190,"publishedAt":43},"01M6BZF5WRJ6PKYJVW4YKPYD20","resolve-comments","PR 审查意见修复与解决","Use in each watch round of an open PR — pulls its unresolved review threads, fixes them in the worktree, resolves them, and returns a compact summary.","在已打开 PR 的每一轮跟进中使用——拉取其中未解决的审查讨论线程，在工作树中修复并解决它们，然后返回一份简明的摘要。","https:\u002F\u002Fgithub.com\u002Fclice-io\u002Fclice\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fresolve-comments\u002FSKILL.md",[186,187],{"categoryNo":81,"categoryName":82,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":188,"categoryName":189,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BR5V701HCN066VEP7H4812","代码仓库协作管理",[191,192,193,194,126,195,196,197,115,198,199,200,201,202],"comments","resolve comments","open","compact","summary","fixes","threads","review","open pr","worktree","pr","watch",{"skillNo":204,"name":205,"nameZh":206,"description":207,"descriptionZh":208,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":209,"categories":210,"keywords":217,"publishedAt":43},"01M6BZF3RPE8A4Z9KMJJBJPCPD","release","版本发布与崩溃日志符号化","Read before any release work — instant builds, nightlies, stable tags, publishing, release workflows — or symbolizing a user's crash log.","在进行任何发布工作之前阅读——包括即时构建、夜间版本、稳定标签、发布上线、发布工作流——或用于符号化用户的崩溃日志。","https:\u002F\u002Fgithub.com\u002Fclice-io\u002Fclice\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frelease\u002FSKILL.md",[211,214],{"categoryNo":212,"categoryName":213,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQNXPY1AV6BSR5VKHDMWRH","部署与发布管理",{"categoryNo":215,"categoryName":216,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8C78XMS93X21V52649FP9VH","发布经理",[205,218,219,220,221,222,41,223,224,225],"log","user","crash","tags","publishing","workflows","instant","work"]