[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M70M4B08NKPMGBMPK7M1HDDV":3,"skill-same:01M70M4B08NKPMGBMPK7M1HDDV":79},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":30,"publishedAt":36,"linkOnly":37,"markdownContent":38,"markdownBody":39,"frontMatter":40,"refName":41,"commitSha":42,"skillDirectory":43,"forksCount":44,"repositoryHtmlUrl":45,"repositoryHomepageUrl":46,"ownerHtmlUrl":47,"ownerBlogUrl":48,"ownerDescription":49,"updatedAt":50,"install":51,"resources":64},"01M70M4B08NKPMGBMPK7M1HDDV","design-token-ledger",null,"shengdabai\u002FTony-Claude-Code-Skills","shengdabai","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F116417419?v=4","01M70F6D2WY5PQV5A92BKYJQEW","Tony Sheng","01M70F6D3GAAAYZ5H4CC1G8VXM",3,"MIT","https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fdesign-token-ledger\u002FSKILL.md",[17,22,25],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000015","视觉设计","SCENARIO","使用场景",{"categoryNo":23,"categoryName":24,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000023","Skill与智能体开发",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01JBSEEDCAT000000000000032","设计师","PROFESSION","适用职业",[31,32,33,34,35],"design","token","ledger","design token","design token ledger","2026-11-10 10:12:30",false,"---\nname: design-token-ledger\ndescription: Two stdlib-Python gates borrowed from the architecture checks in xiaolai\u002Fsonovo. token_ledger.py audits CSS\u002FHTML\u002FJS against the project's design-token contract and emits a ledger (tokens, uses, unused, raw literals, undefined refs, documented exceptions, media-query thresholds) so a \"100% tokenized\" claim has evidence; import_allowlist.py enforces declared layer boundaries from architecture.json for JS\u002FTS\u002FPython imports. Use before claiming a web UI is tokenized, when wiring a verify\u002FCI step for a web project, or when a repo needs import-direction rules. Not a formatter and not a CSS parser for every framework: text-level audit, read-only.\n---\n\n# design-token-ledger — token 台账 + import 边界\n\nTony 的 `web-design-tokens` 规则要求:声称 100% tokenized 前,对完整范围做审计并给证据;有持续项目时把检查接进 verify\u002FCI。这两个脚本就是那份证据的生成器。\n\n## 1. token_ledger.py — 设计 token 台账\n\n```bash\npython3 -I scripts\u002Ftoken_ledger.py styles.css index.html app.js            # Markdown 台账到 stdout\npython3 -I scripts\u002Ftoken_ledger.py styles.css index.html app.js --quiet    # 一行结论 + 前 20 条违规(接 verify 用)\npython3 -I scripts\u002Ftoken_ledger.py src\u002F --json --out ledger.json           # 目录递归 + JSON\n```\n\n查什么:\n\n| 项 | 说明 |\n|---|---|\n| tokens | 每个 `--name: value`,定义位置、作用域、被引用次数;定义在 `:root` \u002F 主题选择器之外的记为 `component-token` 违规 |\n| raw-literal | 非 token 定义里的颜色、长度、字体族、数值字重\u002F行高\u002Fz-index\u002Fopacity、时长、阴影函数 |\n| raw-fallback | `var(--x, #fff)` 这类带原始值的回退 |\n| undefined-token | 引用了未定义的 token |\n| unused | 定义了却没人用(信息,不算违规;JS 里用模板字符串拼的 token 名探测不到) |\n| breakpoints | `@media` 里的阈值:`var()` 用不了,单列不算违规,要求在 token 源头注释里记录 |\n| exceptions | 同行或上一行有 `\u002F* token-exception: 原因 *\u002F` 的字面值,单列,不算 tokenized |\n\n结构性值(`0`、`100%`、`auto`、`1fr`、`none`、`inherit`、`currentColor`…)和结构性属性(`display`、`position`、`flex`、`grid-template-*`…)不算设计决策。只含 `var()`\u002F关键字的颜色函数(如 `color-mix(in srgb, currentColor var(--tint), transparent)`)不算字面值。\n\n退出码:0 无违规;1 有违规;2 输入错误。结论措辞固定三种:`100% tokenized` \u002F `compliant except for documented exceptions` \u002F `violations`。\n\n## 2. import_allowlist.py — 分层 import 白名单\n\n```bash\npython3 -I scripts\u002Fimport_allowlist.py architecture.json\n```\n\n`architecture.json` 放在项目根:\n\n```json\n{\n  \"modules\":  { \"app\": [\"app.js\"], \"logic\": [\"src\u002Flogic.js\"], \"data\": [\"src\u002Fdata.js\"], \"tests\": [\"tests\u002F*\"] },\n  \"allowed\":  { \"app\": [\"logic\", \"data\"], \"logic\": [\"data\"], \"data\": [], \"tests\": [\"*\"] },\n  \"external\": { \"*\": [], \"tests\": [\"node:*\", \"playwright\"] },\n  \"ignore\":   [\"node_modules\u002F**\", \".git\u002F**\"]\n}\n```\n\n- 每个源文件按 glob 归到一个模块;归不进去 → `unassigned` 违规(补进 modules 或 ignore)。\n- `allowed[m]` 是 m 可以 import 的内部模块;`\"*\"` 任意;没列的模块什么内部模块都不能 import。\n- `external[m]` 是 m 可以 import 的外部包(fnmatch);`node:*` 覆盖 Node 内建;`\"*\"` 键是所有模块的默认。\n- 识别 ESM `import … from`、`export … from`、`require()`、动态 `import()`,以及 Python `import` \u002F `from … import`(标准库自动放行)。\n\n退出码:0 干净;1 有违规;2 配置错误。\n\n## 接进项目\n\npackage.json 示例(35-workbench-command-center 已接):\n\n```json\n\"check:architecture\": \"python3 -I \\\"${DESIGN_TOKEN_LEDGER_DIR:-$HOME\u002F.agents\u002Fskills\u002Fdesign-token-ledger\u002Fscripts}\u002Fimport_allowlist.py\\\" architecture.json\",\n\"check:tokens\": \"python3 -I \\\"${DESIGN_TOKEN_LEDGER_DIR:-$HOME\u002F.agents\u002Fskills\u002Fdesign-token-ledger\u002Fscripts}\u002Ftoken_ledger.py\\\" styles.css index.html app.js --quiet\",\n\"verify\": \"npm run lint && npm run check:architecture && npm run check:tokens && npm test\"\n```\n\n## Agent 侧用法\n\n1. 改了 web UI 后先跑 `token_ledger.py`,把结论原话写进交付说明;有违规就补 token 或加 `token-exception` 注释并说明原因,不把例外算进 100%。\n2. 新项目第一次接入:先 `import_allowlist.py` 看 `unassigned` 列表,照实际依赖写 `architecture.json`,再收紧。\n3. 两个脚本都是文本级审计,不替代浏览器里的视觉和可访问性验证。\n\n## 验证\n\n```bash\ncd skills\u002Fdesign-token-ledger && python3 -I -m unittest discover -s tests\n```\n","# design-token-ledger — token 台账 + import 边界\n\nTony 的 `web-design-tokens` 规则要求:声称 100% tokenized 前,对完整范围做审计并给证据;有持续项目时把检查接进 verify\u002FCI。这两个脚本就是那份证据的生成器。\n\n## 1. token_ledger.py — 设计 token 台账\n\n```bash\npython3 -I scripts\u002Ftoken_ledger.py styles.css index.html app.js            # Markdown 台账到 stdout\npython3 -I scripts\u002Ftoken_ledger.py styles.css index.html app.js --quiet    # 一行结论 + 前 20 条违规(接 verify 用)\npython3 -I scripts\u002Ftoken_ledger.py src\u002F --json --out ledger.json           # 目录递归 + JSON\n```\n\n查什么:\n\n| 项 | 说明 |\n|---|---|\n| tokens | 每个 `--name: value`,定义位置、作用域、被引用次数;定义在 `:root` \u002F 主题选择器之外的记为 `component-token` 违规 |\n| raw-literal | 非 token 定义里的颜色、长度、字体族、数值字重\u002F行高\u002Fz-index\u002Fopacity、时长、阴影函数 |\n| raw-fallback | `var(--x, #fff)` 这类带原始值的回退 |\n| undefined-token | 引用了未定义的 token |\n| unused | 定义了却没人用(信息,不算违规;JS 里用模板字符串拼的 token 名探测不到) |\n| breakpoints | `@media` 里的阈值:`var()` 用不了,单列不算违规,要求在 token 源头注释里记录 |\n| exceptions | 同行或上一行有 `\u002F* token-exception: 原因 *\u002F` 的字面值,单列,不算 tokenized |\n\n结构性值(`0`、`100%`、`auto`、`1fr`、`none`、`inherit`、`currentColor`…)和结构性属性(`display`、`position`、`flex`、`grid-template-*`…)不算设计决策。只含 `var()`\u002F关键字的颜色函数(如 `color-mix(in srgb, currentColor var(--tint), transparent)`)不算字面值。\n\n退出码:0 无违规;1 有违规;2 输入错误。结论措辞固定三种:`100% tokenized` \u002F `compliant except for documented exceptions` \u002F `violations`。\n\n## 2. import_allowlist.py — 分层 import 白名单\n\n```bash\npython3 -I scripts\u002Fimport_allowlist.py architecture.json\n```\n\n`architecture.json` 放在项目根:\n\n```json\n{\n  \"modules\":  { \"app\": [\"app.js\"], \"logic\": [\"src\u002Flogic.js\"], \"data\": [\"src\u002Fdata.js\"], \"tests\": [\"tests\u002F*\"] },\n  \"allowed\":  { \"app\": [\"logic\", \"data\"], \"logic\": [\"data\"], \"data\": [], \"tests\": [\"*\"] },\n  \"external\": { \"*\": [], \"tests\": [\"node:*\", \"playwright\"] },\n  \"ignore\":   [\"node_modules\u002F**\", \".git\u002F**\"]\n}\n```\n\n- 每个源文件按 glob 归到一个模块;归不进去 → `unassigned` 违规(补进 modules 或 ignore)。\n- `allowed[m]` 是 m 可以 import 的内部模块;`\"*\"` 任意;没列的模块什么内部模块都不能 import。\n- `external[m]` 是 m 可以 import 的外部包(fnmatch);`node:*` 覆盖 Node 内建;`\"*\"` 键是所有模块的默认。\n- 识别 ESM `import … from`、`export … from`、`require()`、动态 `import()`,以及 Python `import` \u002F `from … import`(标准库自动放行)。\n\n退出码:0 干净;1 有违规;2 配置错误。\n\n## 接进项目\n\npackage.json 示例(35-workbench-command-center 已接):\n\n```json\n\"check:architecture\": \"python3 -I \\\"${DESIGN_TOKEN_LEDGER_DIR:-$HOME\u002F.agents\u002Fskills\u002Fdesign-token-ledger\u002Fscripts}\u002Fimport_allowlist.py\\\" architecture.json\",\n\"check:tokens\": \"python3 -I \\\"${DESIGN_TOKEN_LEDGER_DIR:-$HOME\u002F.agents\u002Fskills\u002Fdesign-token-ledger\u002Fscripts}\u002Ftoken_ledger.py\\\" styles.css index.html app.js --quiet\",\n\"verify\": \"npm run lint && npm run check:architecture && npm run check:tokens && npm test\"\n```\n\n## Agent 侧用法\n\n1. 改了 web UI 后先跑 `token_ledger.py`,把结论原话写进交付说明;有违规就补 token 或加 `token-exception` 注释并说明原因,不把例外算进 100%。\n2. 新项目第一次接入:先 `import_allowlist.py` 看 `unassigned` 列表,照实际依赖写 `architecture.json`,再收紧。\n3. 两个脚本都是文本级审计,不替代浏览器里的视觉和可访问性验证。\n\n## 验证\n\n```bash\ncd skills\u002Fdesign-token-ledger && python3 -I -m unittest discover -s tests\n```\n",{},"main","7850740bd837adb32f0a109ab2af82482196c6f2","skills\u002Fdesign-token-ledger",1,"https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills","https:\u002F\u002Fzturnsgo.com","https:\u002F\u002Fgithub.com\u002Fshengdabai","https:\u002F\u002Fzturnsgo.com\u002F","AI × education creator — producer, not consumer. Taught 6,000+ learners; shipping learning tools & daily essays with Claude Code, practicing @xiaolai's way 🥋","2026-11-01 21:28:23",{"source":7,"skillName":5,"commands":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add shengdabai\u002FTony-Claude-Code-Skills --skill design-token-ledger",{"tool":57,"command":58},"bunx","bunx skills add shengdabai\u002FTony-Claude-Code-Skills --skill design-token-ledger",{"tool":60,"command":61},"pnpm","pnpm dlx skills add shengdabai\u002FTony-Claude-Code-Skills --skill design-token-ledger","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fdesign-token-ledger\u002FSKILL.md",true,[65,71,75],{"path":66,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":69,"sourceHtmlUrl":70},"scripts\u002Fimport_allowlist.py","SCRIPT","脚本",9648,"https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fdesign-token-ledger\u002Fscripts\u002Fimport_allowlist.py",{"path":72,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":73,"sourceHtmlUrl":74},"scripts\u002Ftoken_ledger.py",23398,"https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fdesign-token-ledger\u002Fscripts\u002Ftoken_ledger.py",{"path":76,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":77,"sourceHtmlUrl":78},"tests\u002Ftest_gates.py",9614,"https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fdesign-token-ledger\u002Ftests\u002Ftest_gates.py",[80,89,97,105,113,121],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":84,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":88},"01M73H7XKBHE1ETQDZT94MF9HH","seedance-prompt-en","Write effective prompts for Jimeng Seedance 2.0 multimodal AI video generation. Use when users want to create video prompts using text, images, videos, and audio inputs with the @ reference system. Covers camera movements, effects replication, video extension, editing, music beat-matching, e-commerce ads, short dramas, and educational content.","https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fseedance-prompt-en\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fseedance-prompt-en\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":93,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":88},"01M73GRE9998Q1DZWC71N41JWG","onepage-pdf","Convert an HTML page into a single continuous-page PDF (one tall page, no pagination breaks), preserving desktop layout, backgrounds and selectable text. Use when the user asks to turn an HTML file\u002Freport\u002Fproposal into a \"single-page PDF\", \"long PDF\", \"不分页 PDF\", \"单页 PDF\", \"长图式 PDF\", or complains that an HTML-to-PDF export breaks into pages or cuts content. Supports optional string redaction with leak verification.","https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fonepage-pdf\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fonepage-pdf\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":101,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":88},"01M73GQG1KZDADVPV3MHAT1J5A","native-feel-cross-platform-desktop","Use when the user is designing, prototyping, or rewriting a desktop app that must run on multiple OSes (macOS + Windows, optionally Linux) AND feel indistinguishable from a native app to its users — fast launch, native windowing, native input handling, native materials. Trigger words include \"cross-platform desktop\", \"Electron alternative\", \"Tauri vs native\", \"WebView wrapper\", \"near-native performance\", \"Raycast architecture\", \"WebKit\u002FWebView2 quirks\", \"WKWebView\", \"system tray app\", \"global hotkey app\", \"launcher app\". Do NOT trigger this skill for pure web apps, pure mobile apps, or for greenfield projects that have no native-feel requirement.","https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fnative-feel-cross-platform-desktop\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fnative-feel-cross-platform-desktop\u002FSKILL.md",[],[],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":109,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":88},"01M73G87PDNSMKG2FHWCYER6N8","gstack","Router for the gstack skill suite. (gstack)","https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgstack\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fgstack\u002FSKILL.md",[],[],{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":117,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":88},"01M73G3EAQWKCM8DB8D0N0QSVG","fireworks-tech-graph","Use when the user wants to create any technical diagram - architecture, data flow, flowchart, sequence, agent\u002Fmemory, or concept map - and export as SVG+PNG. Trigger on: \"画图\" \"帮我画\" \"生成图\" \"做个图\" \"架构图\" \"流程图\" \"可视化一下\" \"出图\" \"generate diagram\" \"draw diagram\" \"visualize\" or any system\u002Fflow description the user wants illustrated.","https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Ffireworks-tech-graph\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Ffireworks-tech-graph\u002FSKILL.md",[],[],{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":88},"01M73G086AXAH9DW1H5G5N3CPB","dbs-video-extract","接收抖音、小红书、微信视频号等短视频链接或分享文案，查询作品／账号数据并提取语音文字稿，按作者和标题归档为 Markdown。用户希望完整解析短视频、取得数据或文字稿时使用；运行前检查 TikHub 与轻抖使用凭证，缺少时用新手能理解的方式引导购买和安全配置。","https:\u002F\u002Fgithub.com\u002Fshengdabai\u002FTony-Claude-Code-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fdbs-video-extract\u002FSKILL.md",[],[]]