[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6BZF86F54V9BZCW3MJW82VY":3,"skill-same:01M6BZF86F54V9BZCW3MJW82VY":85},{"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":23,"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":6,"updatedAt":56,"install":57,"resources":70},"01M6BZF86F54V9BZCW3MJW82VY","test",null,"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-io\u002Fclice","clice-io","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F176553789?v=4","01M6BZEJH3SKDZ3SMSS1V6CKKB","clice","01M6BZEJN97S3AQVRQ4V7GGE5C",1383,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fclice-io\u002Fclice\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ftest\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",[5,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42],"build","suite","fork","local run","unit","how to","id","type","local","digest","default","only","context","returns","how","box","run","debug","windows","2026-11-10 10:12:30",false,"---\nname: test\ndescription: 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.\ncontext: fork\n---\n\nRun the requested suites (default: all) against the requested build type (default `RelWithDebInfo`).\n\n## Where it runs\n\nOn the box that built clice (the build skill; the caller passes its id), not on this machine unless truly necessary; the tools' own tests need no build and run here. A box this skill leases because the caller passed none is reported with its id, like the build skill's, and never downed. Run the suites as CI does, in the `test-run` environment: `box run $id 'pixi run -e test-run test RelWithDebInfo'`.\n\nWindows: build on a linux box, run on a windows box, as CI does. A windows box builds nothing (no Bazel cache, only `test-run`).\n\n```bash\nlin=$(box up clice-io\u002Fclice)                 # the linux box also restores CI's Windows cache\nwin=$(box up clice-io\u002Fclice --os windows)    # arm64: --os windows-arm, aarch64-w64-mingw32 below\nbox push $lin && box push $win\nbox run $lin 'pixi run build RelWithDebInfo -- --platforms=@xclang\u002F\u002Fplatforms:x86_64-w64-mingw32'\nbox cp $lin $win build\u002FRelWithDebInfo\u002Fbin\u002Fbin build\u002FRelWithDebInfo\u002Fbin\u002Flib --exclude '*.runfiles'\nbox run $win 'pixi run -e test-run unit-test RelWithDebInfo'\n```\n\nThe copy is a few hundred MB (the debug info), a few minutes through the two tunnels.\n\n## Commands\n\n- Unit tests: `pixi run -e test-run unit-test [type]`\n- Cases: `pixi run -e test-run cases-test [type]`\n- Both: `pixi run -e test-run test [type]`\n- The tools' own tests, which need no build: `pixi run npm test -w tools`\n\nFiltering specific tests:\n\n- Unit: `pixi run -e test-run unit-test [type] -- --test-filter=SuiteName.CaseName` (also `SuiteName.*`)\n- Cases: `CLICE_CASES=\u003Cpath prefix> pixi run -e test-run cases-test [type]`, e.g. `CLICE_CASES=hover\u002F` or `CLICE_CASES=hover\u002Ftemplates\u002F06_template_forms`; the \"Running\" section of `tests\u002FREADME.md` lists the rest.\n\nThe compat suite (`pixi run compat-test`) and the editors' end-to-end tests (`pixi run -e editor editor-test`) need build systems and editors installed; run them only when the caller names them.\n\nThis skill runs and reports — nothing else. Never fix code or tests from here, never set `UPDATE_SNAPSHOTS`. Fixing happens in the main conversation with full context.\n\nReport back, per suite: pass\u002Ffail and counts. For each failure: the test name (a case's is `\u003Ctopic>\u002F\u003Csubtopic>\u002F\u003Ccase> > \u003Ctest>`), the assertion message or `snap.toml` diff excerpt (trimmed), and the exact filter command to reproduce it.\n","Run the requested suites (default: all) against the requested build type (default `RelWithDebInfo`).\n\n## Where it runs\n\nOn the box that built clice (the build skill; the caller passes its id), not on this machine unless truly necessary; the tools' own tests need no build and run here. A box this skill leases because the caller passed none is reported with its id, like the build skill's, and never downed. Run the suites as CI does, in the `test-run` environment: `box run $id 'pixi run -e test-run test RelWithDebInfo'`.\n\nWindows: build on a linux box, run on a windows box, as CI does. A windows box builds nothing (no Bazel cache, only `test-run`).\n\n```bash\nlin=$(box up clice-io\u002Fclice)                 # the linux box also restores CI's Windows cache\nwin=$(box up clice-io\u002Fclice --os windows)    # arm64: --os windows-arm, aarch64-w64-mingw32 below\nbox push $lin && box push $win\nbox run $lin 'pixi run build RelWithDebInfo -- --platforms=@xclang\u002F\u002Fplatforms:x86_64-w64-mingw32'\nbox cp $lin $win build\u002FRelWithDebInfo\u002Fbin\u002Fbin build\u002FRelWithDebInfo\u002Fbin\u002Flib --exclude '*.runfiles'\nbox run $win 'pixi run -e test-run unit-test RelWithDebInfo'\n```\n\nThe copy is a few hundred MB (the debug info), a few minutes through the two tunnels.\n\n## Commands\n\n- Unit tests: `pixi run -e test-run unit-test [type]`\n- Cases: `pixi run -e test-run cases-test [type]`\n- Both: `pixi run -e test-run test [type]`\n- The tools' own tests, which need no build: `pixi run npm test -w tools`\n\nFiltering specific tests:\n\n- Unit: `pixi run -e test-run unit-test [type] -- --test-filter=SuiteName.CaseName` (also `SuiteName.*`)\n- Cases: `CLICE_CASES=\u003Cpath prefix> pixi run -e test-run cases-test [type]`, e.g. `CLICE_CASES=hover\u002F` or `CLICE_CASES=hover\u002Ftemplates\u002F06_template_forms`; the \"Running\" section of `tests\u002FREADME.md` lists the rest.\n\nThe compat suite (`pixi run compat-test`) and the editors' end-to-end tests (`pixi run -e editor editor-test`) need build systems and editors installed; run them only when the caller names them.\n\nThis skill runs and reports — nothing else. Never fix code or tests from here, never set `UPDATE_SNAPSHOTS`. Fixing happens in the main conversation with full context.\n\nReport back, per suite: pass\u002Ffail and counts. For each failure: the test name (a case's is `\u003Ctopic>\u002F\u003Csubtopic>\u002F\u003Ccase> > \u003Ctest>`), the assertion message or `snap.toml` diff excerpt (trimmed), and the exact filter command to reproduce it.\n",{"name":5,"context":26,"description":7},"main","ff37a8a321b684fde2cf6b228bb7ed735f85f30d",".claude\u002Fskills\u002Ftest",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":8,"skillName":5,"commands":58,"prompt":68,"zipAvailable":69},[59,62,65],{"tool":60,"command":61},"npx","npx skills add clice-io\u002Fclice --skill test",{"tool":63,"command":64},"bunx","bunx skills add clice-io\u002Fclice --skill test",{"tool":66,"command":67},"pnpm","pnpm dlx skills add clice-io\u002Fclice --skill test","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fclice-io\u002Fclice\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ftest\u002FSKILL.md",true,[71,77,81],{"path":72,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":75,"sourceHtmlUrl":76},"references\u002Fcourse-book.md","REFERENCE","参考文档",3643,"https:\u002F\u002Fgithub.com\u002Fyodem\u002Facademic-writer\u002Fblob\u002Fmain\u002Fplugins\u002Facademic-writer\u002Fskills\u002Fcourses\u002Freferences\u002Fcourse-book.md",{"path":78,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":79,"sourceHtmlUrl":80},"references\u002Flemida-watch.md",17199,"https:\u002F\u002Fgithub.com\u002Fyodem\u002Facademic-writer\u002Fblob\u002Fmain\u002Fplugins\u002Facademic-writer\u002Fskills\u002Fcourses\u002Freferences\u002Flemida-watch.md",{"path":82,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":83,"sourceHtmlUrl":84},"references\u002Flibrary-refs.md",21933,"https:\u002F\u002Fgithub.com\u002Fyodem\u002Facademic-writer\u002Fblob\u002Fmain\u002Fplugins\u002Facademic-writer\u002Fskills\u002Fcourses\u002Freferences\u002Flibrary-refs.md",[86,112,132,148,167,186],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":100,"publishedAt":43},"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.","https:\u002F\u002Fgithub.com\u002Fclice-io\u002Fclice\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fwrite-tests\u002FSKILL.md",[92,95],{"categoryNo":93,"categoryName":94,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000018","写作与文案",{"categoryNo":96,"categoryName":97,"taxonomyType":98,"taxonomyTypeDesc":99},"01JBSEEDCAT000000000000036","内容创作者","PROFESSION","适用职业",[101,102,103,104,105,106,107,28,108,109,110,111],"write tests","tests","write","writing","pitfalls","read","case","unit tests","Tools","workflow","Rules",{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":43},"01M6BZFEQ2NCYCKQX0RTMQM55A","upgrade-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.","https:\u002F\u002Fgithub.com\u002Fclice-io\u002Fclice\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fupgrade-llvm\u002FSKILL.md",[],[119,120,121,122,123,124,125,126,127,128,106,24,129,130,131],"upgrade","llvm","upgrade llvm","bazel","macro","library","bump","modules","it","export","version","when","module",{"skillNo":133,"name":134,"nameZh":6,"description":135,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":136,"categories":137,"keywords":138,"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.","https:\u002F\u002Fgithub.com\u002Fclice-io\u002Fclice\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ftriage\u002FSKILL.md",[],[134,139,35,140,130,36,141,106,33,26,142,143,144,37,145,146,147],"labels","use","activity","with","triage issues","issues","codex","activity digest","read-only",{"skillNo":149,"name":150,"nameZh":6,"description":151,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":152,"categories":153,"keywords":154,"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.","https:\u002F\u002Fgithub.com\u002Fclice-io\u002Fclice\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ftranslate-docs\u002FSKILL.md",[],[155,156,157,158,159,160,161,106,162,163,164,165,111,166],"translate docs","translate","docs","top","io","conventions","zh","translation","shared","editing","page","glossary",{"skillNo":168,"name":169,"nameZh":6,"description":170,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":171,"categories":172,"keywords":173,"publishedAt":43},"01M6BZF5WRJ6PKYJVW4YKPYD20","resolve-comments","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.","https:\u002F\u002Fgithub.com\u002Fclice-io\u002Fclice\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fresolve-comments\u002FSKILL.md",[],[174,175,176,177,178,37,179,180,181,182,183,140,184,185],"comments","resolve comments","summary","fixes","threads","review","open pr","worktree","pr","open","watch","compact",{"skillNo":187,"name":188,"nameZh":6,"description":189,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":190,"categories":191,"keywords":192,"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",[],[188,193,194,195,196,197,106,198,199,200],"log","user","crash","tags","publishing","workflows","instant","work"]