[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M74HYYZF21A366DR29P8ANWK":3,"skill-same:01M74HYYZF21A366DR29P8ANWK":73},{"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":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":40,"commitSha":41,"skillDirectory":42,"forksCount":43,"repositoryHtmlUrl":44,"repositoryHomepageUrl":45,"ownerHtmlUrl":46,"ownerBlogUrl":6,"ownerDescription":47,"updatedAt":48,"install":49,"resources":62},"01M74HYYZF21A366DR29P8ANWK","infocard-crayon-r5-guard",null,"crayon R5 CSS guard. Audit\u002Fmodify crayon cards. Use when reviewing or patching crayon poster-shell info cards and especially when mobile layout breaks (vertical character stacking, footer\u002Fsave-row collapsed to 15% width).","ccwq\u002Finfocard-pub","ccwq","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F3853416?v=4","01M74HXVGA6GKM3KHHE63QGM4N","Dave C","01M74HXVGWDSB69XNYE41TBQ63",2,"MIT","https:\u002F\u002Fgithub.com\u002Fccwq\u002Finfocard-pub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcontent\u002Finfocard-crayon-r5-guard\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: infocard-crayon-r5-guard\ndescription: crayon R5 CSS guard. Audit\u002Fmodify crayon cards. Use when reviewing or patching crayon poster-shell info cards and especially when mobile layout breaks (vertical character stacking, footer\u002Fsave-row collapsed to 15% width).\nversion: 1.1.0\nauthor: Hermes Agent\nlicense: MIT\nmetadata:\n  hermes:\n    tags: [infocard, crayon, poster-shell, css, guard, mobile, html-structure]\n    related_skills: [infocard-crayon-style, infocard-publish-sop, software-development\u002Fpkwork]\n---\n\n# infocard-crayon-r5-guard · R5\u002FR6 规范守卫\n\n## 触发条件\n\n以下任一发生时，必须加载本 skill 并按规范值执行：\n- 用户要求审查或修改 crayon poster-shell 主题信息卡\n- 用户报告「视觉不符」「不符合主题约束 infocard-crayon-style」\n- 用户报告「逐字竖排」「正文被压缩」「单字竖排」等移动端布局崩溃\n- 开始任何涉及 crayon 主题 CSS 的 patch\u002Fedit\u002Fwrite 操作\n\n## 最高频崩溃模式：逐字竖排 \u002F 正文列塌缩\n\n**症状**：Chrome 移动端（390×844）正文被压缩成极窄列，每个中文单字被迫独占一行，英文单词被从中截断。视觉像\"竖排\"，实为 CSS 布局完全崩溃。\n\n**根因链路（四层叠加）**：\n\n1. **body > main 宽度锚定缺失**：`body` → `main`（无显式宽度，default = fit-content） → `.poster-shell { width: 100% }` → 100% × fit-content main = 最窄子元素宽度 → 正文列完全塌缩。\n\n2. **两个 `@media(max-width:720px)` 块冲突**：历史维护中在两处写了移动端 CSS，后一个块覆盖前一个。若旧块（72px 列宽）未删除，新的 R5 参数（48px）被覆盖。\n\n3. **`@media` 闭合 `}` 后的孤儿规则**：`@media` 块内的样式被错误写到 `}` 后面，变成全局规则，以更高优先级覆盖 `@media` 内的响应式值。\n\n4. **`grid 1fr 被内容驱动的 min-width 劫持**（本次新发现，最难调试）：\n   - `.skill-card { display: grid; grid-template-columns: 48px 1fr; }`\n   - `.card-body { grid-column: 2; }` ← 语法正确\n   - 但当 `.card-body` 内部含长 URL 或代码时，浏览器计算\"内容最小宽度\"后，将 `1fr` 的可用空间压缩为\"总宽度 - 内容最小宽度\"\n   - 在极度窄屏（390px）下，`1fr` 退化为 20–40px\n   - Playwright 诊断：`.card-body` 计算出 `gridTemplateColumns: \"274px\"`（单列），所有子元素变成 grid items 垂直堆叠\n   - 修复：`width: calc(100vw - 64px) !important` 强制正文宽度基于视口而非 1fr 计算\n\n**诊断命令**：\n```bash\n# 确认只有 1 个 @media 块\ngrep -c '@media(max-width:720px)' docs\u002Fxxx.html   # 期待：1\n\n# 确认 @media 闭合后没有 CSS 规则（} 后应是 \u003C\u002Fstyle>）\ngrep -n '@media\\|\u003C\u002Fstyle>' docs\u002Fxxx.html\n```\n\n## 最高危陷阱（HTML 嵌套错误，CSS 修不动）\n\n**症状（必须能识别的 4 个）**：\n1. 移动端底部 footer\u002Fposter-note\u002Fsave-row 被挤成 15% 窄列（左右大量空白）\n2. 页面底部出现孤立编号（如\"05\"\"15\"），编号右侧正文空白\n3. save-row 按钮文字单字竖排保存为 PNG\n4. \"来源:Hugging Face\"被拆成\"来源:H\u002FFace\"\n\n**根因**：HTML 源码里 `\u003Cdiv class=\"cards-grid\">` 未被对应 `\u003C\u002Fdiv>` 关闭。浏览器自动重排嵌套，导致下一个 cards-grid 被吸入前一个；尾部 footer\u002Fposter-note\u002Fsave-row 随之落入未关闭的 skill-card → 被网格化 → 宽度被 56px 编号列限制。\n\n**为什么 CSS 修不动**：你改 `width:100%` 不生效，因为元素的实际父级 grid 容器宽度只有 56px。`grid-column:1\u002F-1` 在直接父级生效，但父级的父级又是另一个 grid 56px。`position:absolute` 是错误解，会把元素移到视口顶部破坏文档流。\n\n**唯一正确的修法**：修 HTML 源码结构，关闭未闭合的 div。\n\n**诊断命令**：\n```bash\n# 用 HTMLParser 找出未闭合的 div（应该看到 0）\npython3 -c \"\nfrom html.parser import HTMLParser\nclass P(HTMLParser):\n    def __init__(self): super().__init__(); self.stk=[]\n    def handle_starttag(self,t,a):\n        if t=='div': self.stk.append(self.getpos())\n    def handle_endtag(self,t):\n        if t=='div' and self.stk: self.stk.pop()\np=P(); p.feed(open('docs\u002Fxxx.html').read())\nprint('unclosed divs:', len(p.stk))\nfor pos in p.stk: print(pos)\n\"\n\n# Playwright 看 .footer \u002F .poster-note \u002F .save-row 的真实父元素\nnode -e '\nconst{chromium}=require(\"playwright\");\n(async()=>{\n  const b=await chromium.launch();\n  const p=await b.newPage();\n  await p.goto(\"https:\u002F\u002Fccwq.github.io\u002Finfocard-pub\u002Fdocs\u002Fxxx.html\");\n  const r=await p.evaluate(()=>{\n    return [\".footer\",\".poster-note\",\".save-row\"].map(s=>{\n      const e=document.querySelector(s);\n      if(!e)return{s,missing:true};\n      const parents=[]; let x=e;\n      while(x&&x.tagName!==\"HTML\"){\n        parents.push(x.tagName+\".\"+(x.className?.split(\" \")[0]||\"\"));\n        x=x.parentElement;\n      }\n      return{s,parents:parents.slice(0,3)};\n    });\n  });\n  console.log(JSON.stringify(r,null,2));\n  await b.close();\n})();'\n```\n\n期望输出：每个元素的 parents 链应是 `MAIN > DIV.poster-shell` 或 `MAIN > DIV.cards-grid`（如果是卡片内）。**绝不能是** `MAIN > DIV.cards-grid > DIV.skill-card > ...`。\n\n**修复算法**：在 HTML 源码中，按缩进级别逐行匹配 `\u003Cdiv class=\"cards-grid\">` 和 `\u003C\u002Fdiv>`。每当遇到相同缩进的新 cards-grid 而前一个未关闭时，插入一个 `\u003C\u002Fdiv>`。\n\n**自动修复脚本**（粘贴到 Python 运行）：\n```python\nimport re\nwith open('docs\u002Fxxx.html') as f:\n    html = f.read()\nbody_start = html.find('\u003Cbody>')\nbody_end = html.rfind('\u003C\u002Fbody>')\nbody = html[body_start + len('\u003Cbody>'):body_end]\n\nlines = body.split('\\n')\nstack = []  # (line_num, indent, class_string)\noutput = []\ninserted = 0\n\nfor i, line in enumerate(lines, 1):\n    s = line.rstrip()\n    raw_indent = len(line) - len(line.lstrip())\n    stripped = s.strip()\n\n    if stripped.startswith('\u003Cdiv') and not stripped.endswith('\u002F>'):\n        m = re.search(r'class=\"([^\"]*)\"', stripped)\n        cls = m.group(1) if m else ''\n        # Detect nested cards-grid at same indent\n        if 'cards-grid' in cls:\n            for item in reversed(stack):\n                ln, ind, item_cls = item\n                if 'cards-grid' in item_cls and ind == raw_indent:\n                    output.append('  \u003C\u002Fdiv>')\n                    inserted += 1\n                    while stack and stack[-1][0] >= ln:\n                        stack.pop()\n                    break\n        stack.append((i, raw_indent, cls))\n\n    if stripped == '\u003C\u002Fdiv>' and stack:\n        stack.pop()\n    output.append(line)\n\nprint(f\"Inserted {inserted} \u003C\u002Fdiv>\")\nnew_body = '\\n'.join(output)\nopen('docs\u002Fxxx.html', 'w').write(html[:body_start + len('\u003Cbody>')] + new_body + html[body_end:])\n```\n\n## 自审铁律（最重要）\n\n**绝不在发布前依赖\"git push 成功 = 修复完成\"。**\n\n- ❌ 错：patch 完 CSS → push → 发截图给用户 → 等用户反馈\n- ✅ 对：patch 完 CSS → push → 自己 vision_analyze 所有屏 → 发现问题立即修 → 全部通过再发截图\n\n**自审清单（每屏必查 4 项）**：\n1. 正文是否横向正常排版，无单字竖排\n2. 编号列与正文比例正常\n3. 是否有内容溢出\u002F截断\u002F孤立空白\n4. 是否有元素重叠\n\n**当用户已经反馈\"还有问题\"后**：立刻停止发帖说自己\"修复了\"。先 vision_analyze 自己刚发的截图 → 列出问题清单 → 一次性修完 → 再次 vision_analyze → 通过后再发。\n\n**PKWork 循环不可压缩**：每个 round 必须包含 自审 → 截图 → 自审 通过才算 round 完成。\n\n## DOM 真相原则\n\n`getComputedStyle().gridTemplateColumns` **可能误导**。它显示的是当前实际网格，但实际\"网格\"可能是浏览器重排嵌套的错误结构。\n\n**真正可靠**：`element.getBoundingClientRect()` + `element.parentElement` 链。检查元素的 `width` 和 `parentClass` 是否符合预期（例如 footer 应是 poster-shell 的直接子元素，宽 100%）。\n\n## 修完后必跑的 4 步验收\n\n```bash\n1. git push 后 sleep 50-60 等 CDN 同步\n2. Playwright 截图 4-5 屏（含 h-844 真正底部）\n3. vision_analyze 每张截图，自查清单 4 项\n4. 全部通过 → 发截图给用户 + commit hash\n```\n\n如果任何一项失败：回到 patch 阶段，不要 push。\n\n## 相关引用\n\n- `references\u002Fposter-shell-mobile-recipe.md` — 2026-07 Qwable-v1 案例完整复盘，含时间线教训、HTMLParser 诊断、自审脚本\n\n**完整修复模板**（直接复制到 CSS 开头）：\n```css\n\u002F* 全链路宽度锚定（必须加到 CSS 顶层） *\u002F\n*,*::before,*::after{box-sizing:border-box}\nhtml,body{min-width:100vw;width:100%;margin:0;padding:0;overflow-x:hidden}\nbody>main,body>.page,.page,main{width:100%;min-width:100%}\n\n\u002F* 移动端响应式必须属性 *\u002F\ncode,pre,table{max-width:100%;overflow:auto}\n.poster-shell,.poster-shell main,.poster-shell .cards-grid,\n.poster-shell .skill-card,.poster-shell .card-body{max-width:100%;min-width:0}\n\n\u002F* poster-shell 桌面 *\u002F\n.poster-shell{width:100%;max-width:760px;min-height:100vh;\n  box-sizing:border-box;margin:0 auto;background:var(--crayon-bg);\n  padding:28px 34px 22px}\n\n\u002F* R5 移动端（只有一个 @media(max-width:720px) 块） *\u002F\n@media(max-width:720px){\n  html,body,main,.page,.poster-shell,.cards-grid,.skill-card,.card-body\n    {width:100% !important;min-width:0 !important;max-width:100% !important;box-sizing:border-box !important}\n  .poster-shell{padding:22px 18px !important}\n  .skill-card{grid-template-columns:48px 1fr !important;min-height:96px}\n  .card-stripe{left:40px !important;top:14px;bottom:14px;width:2px;opacity:.38}\n  .card-stripe::before{top:50%;left:-3px;transform:translateY(-50%);width:8px;height:8px;border:2px solid var(--crayon-bg);z-index:1}\n  .card-num{display:grid !important;grid-column:1 !important;grid-row:1 !important;\n    font:400 49px\u002F.95 Georgia,\"Times New Roman\",serif;letter-spacing:-.07em;\n    text-align:right;align-self:center;width:auto}\n  \u002F* 关键：.card-body 必须 display:grid + grid-column:2，禁止 display:block *\u002F\n  .card-body{display:grid !important;grid-column:2 !important;grid-row:1 !important;\n    min-width:0 !important;max-width:100% !important;\n    padding:14px 10px 14px 22px;width:100% !important;box-sizing:border-box !important}\n  .card-title{font-size:15px;line-height:1.25;margin:0 0 4px;min-width:0}\n  .card-desc{min-width:0;overflow-wrap:anywhere;word-break:normal;font-size:12.5px;line-height:1.55}\n  .stat-row{display:grid;grid-template-columns:1fr;gap:12px;padding-bottom:14px}\n  .stat-item,.stat-item:nth-child(n){min-width:0;width:100%;padding:0 0 10px;\n    border-right:0 !important;border-bottom:1px dashed var(--crayon-dash) !important}\n  .footer{flex-direction:column}\n  .poster-kicker{font-size:9px;letter-spacing:.13em;white-space:nowrap;\n    max-width:100%;overflow:hidden;text-overflow:clip}\n}\n```\n\n**staticCheck 必须通过才能 commit**：\n```bash\nnode -e \"const{staticCheck}=require('.\u002Fscripts\u002Fverify-mobile-batch');...\"\n# 期待：{ok:true, errors:[]}\n# RESPONSIVE_CODE 错误 → 加 code,pre,table{max-width:100%;overflow:auto}\n```\n\n**验收标准**（移动端 390×844 截图全部通过）：\n- ✅ 正文横向正常排版（无逐字竖排）\n- ✅ 编号列（48px）与正文列（1fr）两栏并列\n- ✅ 时间轴虚线（left:40px）与圆点对齐\n- ✅ poster-kicker 单行截断\n- ✅ max-width:760px 生效（左右有边距，右侧无异常空白）\n- ✅ stat-row 单列堆叠\n- ✅ footer \u002F save-row 按钮可见\n\n---\n\n## Agent-authored references\n\n- `references\u002Fcrayon-r6-mobile-fix-20260727.md` — **移动端布局修复（2026-07-27）**\n  三层根因链路 + 完整修复模板 + staticCheck 流程 + 验收标准。\n  触发：用户反馈「逐字竖排」「正文被压缩」「不符合约束 infocard-crayon-style」时使用。\n\n---\n\n## R5 规范精确值（桌面端）\n## R5 规范精确值（桌面端，flex 布局）\n\n> ⚠️ 2026-07-28 修订：序号垂直居中必须用 flex。grid 的 `align-self:center` 在 track 高度由内容撑满时失效。\n\n```css\n.poster-shell .skill-card {\n  display: flex;\n  flex-direction: row;\n  align-items: center;              \u002F* ← 关键：用 flex 而非 grid *\u002F\n  border-bottom: 1px dashed var(--line);\n  padding: 14px 0;\n}\n.poster-shell .card-num {\n  width: 88px;\n  flex-shrink: 0;                  \u002F* ← 禁止被压缩 *\u002F\n  text-align: right;\n  padding-right: 25px;\n  font: 700 58px\u002F.9 Georgia, \"Noto Serif SC\", serif;\n  color: var(--accent);\n}\n.poster-shell .card-stripe {\n  left: 74px;                      \u002F* ← flex 模式下序号宽88+右padding25=113，stripe在113处 *\u002F\n  top: 0; bottom: 0;\n  width: 3px; opacity: .8;\n}\n.poster-shell .card-body {\n  flex: 1;                         \u002F* ← 占据剩余空间 *\u002F\n  min-width: 0;\n  padding: 4px 0 4px 22px;\n}\n.poster-shell .card-title {\n  font: 700 19px\u002F1.35 Georgia, \"Noto Serif SC\", serif;\n  margin: 0 0 8px;\n}\n.poster-shell .card-desc {\n  font: 14px\u002F1.72 Georgia, \"Noto Serif SC\", serif;\n  color: var(--crayon-muted, #514a40);\n  max-width: none;\n}\n```\n\n## R5 规范精确值（移动端 @media(max-width:720px)，flex 继承）\n\n```css\n.poster-shell { padding: 22px 18px; }\n.poster-shell .skill-card { padding: 14px 0; }\n\u002F* display:flex 继承自桌面，不需要重新声明 *\u002F\n.poster-shell .card-num { width: 72px; font-size: 43px; padding-right: 18px; }\n.poster-shell .card-stripe { left: 62px; }\n.poster-shell .card-body { padding: 3px 0 3px 14px; }\n.poster-shell .card-title { font-size: 16px; }\n.poster-shell .card-desc { font-size: 14px; line-height: 1.65; }\n```\n\n## 致命陷阱：移动端 display:block\n\n把 `.skill-card` 移动端设为 `display:block` 会摧毁 flex 布局，使 `.card-body` 失去 flex:1 的宽度分配，导致正文列异常窄。正确做法：**保留 `display:flex` 从桌面继承到移动端**，只调整 `width` \u002F `padding` \u002F `font-size`。\n**正确做法：始终保留 `grid-template-columns`，只改列宽（桌面 56px → 移动 48px）**。\n\n## poster-shell 序号垂直居中：flex 优先，grid 次之\n\n**教训（2026-07-28）**：当 `.card-body` 内容高度大于 `.card-num` 时，grid track 高度由内容撑满，`align-self:center` 无多余空间可分配，等于失效。正确方案是 flex。\n\n**poster-shell .skill-card 规范布局（flex，2026-07-28 修订）**：\n\n```css\n\u002F* ✅ 正确：flex + align-items:center *\u002F\n.skill-card {\n  position: relative;\n  display: flex;\n  flex-direction: row;\n  align-items: center;   \u002F* ← 序号和正文同轴垂直居中 *\u002F\n  min-width: 0;\n  border-bottom: 1px dashed var(--line);\n  padding: 14px 0;\n}\n\n\u002F* 序号：显式宽度 + flex-shrink:0 *\u002F\n.card-num {\n  width: 88px;\n  flex-shrink: 0;\n  text-align: right;\n  padding-right: 25px;\n  font: 700 58px\u002F.9 Georgia, \"Noto Serif SC\", serif;\n  color: var(--accent);\n}\n\n\u002F* 正文：flex:1 填满 *\u002F\n.card-body {\n  flex: 1;\n  min-width: 0;\n  padding: 4px 0 4px 22px;\n}\n\n\u002F* 竖线：相对 skill-card 定位 *\u002F\n.card-stripe {\n  position: absolute;\n  left: 74px;           \u002F* = card-num width(88) + card-num padding-right(25) - stripe_width(3) - gap *\u002F\n  top: 0; bottom: 0;\n  width: 3px; opacity: .8;\n}\n```\n\n**移动端（720px）同样继承 flex，不要切回 grid**：\n\n```css\n@media (max-width: 720px) {\n  .skill-card { padding: 14px 0; }\n  .card-num { width: 72px; font-size: 43px; padding-right: 18px; }\n  .card-stripe { left: 62px; }\n  .card-body { padding: 3px 0 3px 14px; }\n}\n```\n\n**验证方法（console）**：\n\n```js\nJSON.stringify({\n  num_center: Math.round(document.querySelector('.card-num').getBoundingClientRect().top +\n    document.querySelector('.card-num').getBoundingClientRect().height \u002F 2),\n  card_center: Math.round((document.querySelector('.skill-card').getBoundingClientRect().top +\n    document.querySelector('.skill-card').getBoundingClientRect().bottom) \u002F 2),\n  diff: Math.round(\n    (document.querySelector('.card-num').getBoundingClientRect().top +\n     document.querySelector('.card-num').getBoundingClientRect().height \u002F 2) -\n    (document.querySelector('.skill-card').getBoundingClientRect().top +\n     document.querySelector('.skill-card').getBoundingClientRect().bottom) \u002F 2\n  )\n})\n\u002F\u002F 桌面端完美对齐：diff ≤ 2px\n```\n\n**grid 方案为何失效**：`.card-body` 内容更高 → grid track 高度 = body 高度 = 内容高度 → `align-self:center` 在已填满高度的 track 内无多余空白 → 等于 `start`。\n\n## 常见失败模式\n\n| 问题 | 根因 | 修复 |\n|---|---|---|\n| 正文只有 56px 宽 | `.card-body` 无 `grid-column: 2`（grid 模式下） | 加 `grid-column: 2` 或改用 flex |\n| 序号在格内顶部对齐而非垂直居中 | grid + `align-self:center` 当 track 高度=内容高度时失效 | 改用 flex + `align-items:center` |\n| 彩色纵线穿过标题 | `left: 72px` 或 `96px` | `left: 74px`（桌面 flex）\u002F `62px`（移动） |\n| 移动端卡片崩塌 | 移动端用 `display:block` | 保留 flex 继承，`align-items:center` 继续生效 |\n\n| 问题 | 根因 | 修复 |\n|---|---|---|\n| 正文只有 56px 宽 | `.card-body` 无 `grid-column: 2` | 加 `grid-column: 2` |\n| 彩色纵线穿过标题 | `left: 72px` 或 `96px` | `left: 48px`（桌面）\u002F `40px`（移动） |\n| 移动端卡片崩塌 | 移动端用 `display:block` | 保留 `grid-template-columns: 48px 1fr` |\n| 移动端编号与正文错位 | `.card-num` 设为 `text-align:left` | 保持 `text-align:right` |\n| 主题不符合约束 | CSS 值来自不存在的「R6」 | 加载本 skill → 读 spec → 对比实际值 |\n\n## pkwork 双智能体评审流程\n\n用户说「pkwork 使用两个智能体。去评审和开发。」时：\n\n1. 主线程加载 `infocard-crayon-style`（读 R5 spec）\n2. 启动 2 个并行 leaf 子智能体：\n   - **Critic**：对标 R5 spec，审计 CSS 差异，输出 fix list\n   - **Developer**：应用全部修复，运行 `staticCheck` + `npm run build` 验证\n3. 等待结果汇入 → 主线程 commit + push\n\n## R6 污染教训（2026-07-26）\n\n某次会话中引入了「R6」CSS 值（100px 编号列、52px 字、96px stripe left、18px top\u002Fbottom 等），\n这些值从未出现在 crayon-style 规范中，导致用户多次反馈「视觉不符」。\n防止再次发生：每次修改 crayon CSS 前，引用本 skill 规范值，不要凭记忆或「看起来差不多」修改。\n","# infocard-crayon-r5-guard · R5\u002FR6 规范守卫\n\n## 触发条件\n\n以下任一发生时，必须加载本 skill 并按规范值执行：\n- 用户要求审查或修改 crayon poster-shell 主题信息卡\n- 用户报告「视觉不符」「不符合主题约束 infocard-crayon-style」\n- 用户报告「逐字竖排」「正文被压缩」「单字竖排」等移动端布局崩溃\n- 开始任何涉及 crayon 主题 CSS 的 patch\u002Fedit\u002Fwrite 操作\n\n## 最高频崩溃模式：逐字竖排 \u002F 正文列塌缩\n\n**症状**：Chrome 移动端（390×844）正文被压缩成极窄列，每个中文单字被迫独占一行，英文单词被从中截断。视觉像\"竖排\"，实为 CSS 布局完全崩溃。\n\n**根因链路（四层叠加）**：\n\n1. **body > main 宽度锚定缺失**：`body` → `main`（无显式宽度，default = fit-content） → `.poster-shell { width: 100% }` → 100% × fit-content main = 最窄子元素宽度 → 正文列完全塌缩。\n\n2. **两个 `@media(max-width:720px)` 块冲突**：历史维护中在两处写了移动端 CSS，后一个块覆盖前一个。若旧块（72px 列宽）未删除，新的 R5 参数（48px）被覆盖。\n\n3. **`@media` 闭合 `}` 后的孤儿规则**：`@media` 块内的样式被错误写到 `}` 后面，变成全局规则，以更高优先级覆盖 `@media` 内的响应式值。\n\n4. **`grid 1fr 被内容驱动的 min-width 劫持**（本次新发现，最难调试）：\n   - `.skill-card { display: grid; grid-template-columns: 48px 1fr; }`\n   - `.card-body { grid-column: 2; }` ← 语法正确\n   - 但当 `.card-body` 内部含长 URL 或代码时，浏览器计算\"内容最小宽度\"后，将 `1fr` 的可用空间压缩为\"总宽度 - 内容最小宽度\"\n   - 在极度窄屏（390px）下，`1fr` 退化为 20–40px\n   - Playwright 诊断：`.card-body` 计算出 `gridTemplateColumns: \"274px\"`（单列），所有子元素变成 grid items 垂直堆叠\n   - 修复：`width: calc(100vw - 64px) !important` 强制正文宽度基于视口而非 1fr 计算\n\n**诊断命令**：\n```bash\n# 确认只有 1 个 @media 块\ngrep -c '@media(max-width:720px)' docs\u002Fxxx.html   # 期待：1\n\n# 确认 @media 闭合后没有 CSS 规则（} 后应是 \u003C\u002Fstyle>）\ngrep -n '@media\\|\u003C\u002Fstyle>' docs\u002Fxxx.html\n```\n\n## 最高危陷阱（HTML 嵌套错误，CSS 修不动）\n\n**症状（必须能识别的 4 个）**：\n1. 移动端底部 footer\u002Fposter-note\u002Fsave-row 被挤成 15% 窄列（左右大量空白）\n2. 页面底部出现孤立编号（如\"05\"\"15\"），编号右侧正文空白\n3. save-row 按钮文字单字竖排保存为 PNG\n4. \"来源:Hugging Face\"被拆成\"来源:H\u002FFace\"\n\n**根因**：HTML 源码里 `\u003Cdiv class=\"cards-grid\">` 未被对应 `\u003C\u002Fdiv>` 关闭。浏览器自动重排嵌套，导致下一个 cards-grid 被吸入前一个；尾部 footer\u002Fposter-note\u002Fsave-row 随之落入未关闭的 skill-card → 被网格化 → 宽度被 56px 编号列限制。\n\n**为什么 CSS 修不动**：你改 `width:100%` 不生效，因为元素的实际父级 grid 容器宽度只有 56px。`grid-column:1\u002F-1` 在直接父级生效，但父级的父级又是另一个 grid 56px。`position:absolute` 是错误解，会把元素移到视口顶部破坏文档流。\n\n**唯一正确的修法**：修 HTML 源码结构，关闭未闭合的 div。\n\n**诊断命令**：\n```bash\n# 用 HTMLParser 找出未闭合的 div（应该看到 0）\npython3 -c \"\nfrom html.parser import HTMLParser\nclass P(HTMLParser):\n    def __init__(self): super().__init__(); self.stk=[]\n    def handle_starttag(self,t,a):\n        if t=='div': self.stk.append(self.getpos())\n    def handle_endtag(self,t):\n        if t=='div' and self.stk: self.stk.pop()\np=P(); p.feed(open('docs\u002Fxxx.html').read())\nprint('unclosed divs:', len(p.stk))\nfor pos in p.stk: print(pos)\n\"\n\n# Playwright 看 .footer \u002F .poster-note \u002F .save-row 的真实父元素\nnode -e '\nconst{chromium}=require(\"playwright\");\n(async()=>{\n  const b=await chromium.launch();\n  const p=await b.newPage();\n  await p.goto(\"https:\u002F\u002Fccwq.github.io\u002Finfocard-pub\u002Fdocs\u002Fxxx.html\");\n  const r=await p.evaluate(()=>{\n    return [\".footer\",\".poster-note\",\".save-row\"].map(s=>{\n      const e=document.querySelector(s);\n      if(!e)return{s,missing:true};\n      const parents=[]; let x=e;\n      while(x&&x.tagName!==\"HTML\"){\n        parents.push(x.tagName+\".\"+(x.className?.split(\" \")[0]||\"\"));\n        x=x.parentElement;\n      }\n      return{s,parents:parents.slice(0,3)};\n    });\n  });\n  console.log(JSON.stringify(r,null,2));\n  await b.close();\n})();'\n```\n\n期望输出：每个元素的 parents 链应是 `MAIN > DIV.poster-shell` 或 `MAIN > DIV.cards-grid`（如果是卡片内）。**绝不能是** `MAIN > DIV.cards-grid > DIV.skill-card > ...`。\n\n**修复算法**：在 HTML 源码中，按缩进级别逐行匹配 `\u003Cdiv class=\"cards-grid\">` 和 `\u003C\u002Fdiv>`。每当遇到相同缩进的新 cards-grid 而前一个未关闭时，插入一个 `\u003C\u002Fdiv>`。\n\n**自动修复脚本**（粘贴到 Python 运行）：\n```python\nimport re\nwith open('docs\u002Fxxx.html') as f:\n    html = f.read()\nbody_start = html.find('\u003Cbody>')\nbody_end = html.rfind('\u003C\u002Fbody>')\nbody = html[body_start + len('\u003Cbody>'):body_end]\n\nlines = body.split('\\n')\nstack = []  # (line_num, indent, class_string)\noutput = []\ninserted = 0\n\nfor i, line in enumerate(lines, 1):\n    s = line.rstrip()\n    raw_indent = len(line) - len(line.lstrip())\n    stripped = s.strip()\n\n    if stripped.startswith('\u003Cdiv') and not stripped.endswith('\u002F>'):\n        m = re.search(r'class=\"([^\"]*)\"', stripped)\n        cls = m.group(1) if m else ''\n        # Detect nested cards-grid at same indent\n        if 'cards-grid' in cls:\n            for item in reversed(stack):\n                ln, ind, item_cls = item\n                if 'cards-grid' in item_cls and ind == raw_indent:\n                    output.append('  \u003C\u002Fdiv>')\n                    inserted += 1\n                    while stack and stack[-1][0] >= ln:\n                        stack.pop()\n                    break\n        stack.append((i, raw_indent, cls))\n\n    if stripped == '\u003C\u002Fdiv>' and stack:\n        stack.pop()\n    output.append(line)\n\nprint(f\"Inserted {inserted} \u003C\u002Fdiv>\")\nnew_body = '\\n'.join(output)\nopen('docs\u002Fxxx.html', 'w').write(html[:body_start + len('\u003Cbody>')] + new_body + html[body_end:])\n```\n\n## 自审铁律（最重要）\n\n**绝不在发布前依赖\"git push 成功 = 修复完成\"。**\n\n- ❌ 错：patch 完 CSS → push → 发截图给用户 → 等用户反馈\n- ✅ 对：patch 完 CSS → push → 自己 vision_analyze 所有屏 → 发现问题立即修 → 全部通过再发截图\n\n**自审清单（每屏必查 4 项）**：\n1. 正文是否横向正常排版，无单字竖排\n2. 编号列与正文比例正常\n3. 是否有内容溢出\u002F截断\u002F孤立空白\n4. 是否有元素重叠\n\n**当用户已经反馈\"还有问题\"后**：立刻停止发帖说自己\"修复了\"。先 vision_analyze 自己刚发的截图 → 列出问题清单 → 一次性修完 → 再次 vision_analyze → 通过后再发。\n\n**PKWork 循环不可压缩**：每个 round 必须包含 自审 → 截图 → 自审 通过才算 round 完成。\n\n## DOM 真相原则\n\n`getComputedStyle().gridTemplateColumns` **可能误导**。它显示的是当前实际网格，但实际\"网格\"可能是浏览器重排嵌套的错误结构。\n\n**真正可靠**：`element.getBoundingClientRect()` + `element.parentElement` 链。检查元素的 `width` 和 `parentClass` 是否符合预期（例如 footer 应是 poster-shell 的直接子元素，宽 100%）。\n\n## 修完后必跑的 4 步验收\n\n```bash\n1. git push 后 sleep 50-60 等 CDN 同步\n2. Playwright 截图 4-5 屏（含 h-844 真正底部）\n3. vision_analyze 每张截图，自查清单 4 项\n4. 全部通过 → 发截图给用户 + commit hash\n```\n\n如果任何一项失败：回到 patch 阶段，不要 push。\n\n## 相关引用\n\n- `references\u002Fposter-shell-mobile-recipe.md` — 2026-07 Qwable-v1 案例完整复盘，含时间线教训、HTMLParser 诊断、自审脚本\n\n**完整修复模板**（直接复制到 CSS 开头）：\n```css\n\u002F* 全链路宽度锚定（必须加到 CSS 顶层） *\u002F\n*,*::before,*::after{box-sizing:border-box}\nhtml,body{min-width:100vw;width:100%;margin:0;padding:0;overflow-x:hidden}\nbody>main,body>.page,.page,main{width:100%;min-width:100%}\n\n\u002F* 移动端响应式必须属性 *\u002F\ncode,pre,table{max-width:100%;overflow:auto}\n.poster-shell,.poster-shell main,.poster-shell .cards-grid,\n.poster-shell .skill-card,.poster-shell .card-body{max-width:100%;min-width:0}\n\n\u002F* poster-shell 桌面 *\u002F\n.poster-shell{width:100%;max-width:760px;min-height:100vh;\n  box-sizing:border-box;margin:0 auto;background:var(--crayon-bg);\n  padding:28px 34px 22px}\n\n\u002F* R5 移动端（只有一个 @media(max-width:720px) 块） *\u002F\n@media(max-width:720px){\n  html,body,main,.page,.poster-shell,.cards-grid,.skill-card,.card-body\n    {width:100% !important;min-width:0 !important;max-width:100% !important;box-sizing:border-box !important}\n  .poster-shell{padding:22px 18px !important}\n  .skill-card{grid-template-columns:48px 1fr !important;min-height:96px}\n  .card-stripe{left:40px !important;top:14px;bottom:14px;width:2px;opacity:.38}\n  .card-stripe::before{top:50%;left:-3px;transform:translateY(-50%);width:8px;height:8px;border:2px solid var(--crayon-bg);z-index:1}\n  .card-num{display:grid !important;grid-column:1 !important;grid-row:1 !important;\n    font:400 49px\u002F.95 Georgia,\"Times New Roman\",serif;letter-spacing:-.07em;\n    text-align:right;align-self:center;width:auto}\n  \u002F* 关键：.card-body 必须 display:grid + grid-column:2，禁止 display:block *\u002F\n  .card-body{display:grid !important;grid-column:2 !important;grid-row:1 !important;\n    min-width:0 !important;max-width:100% !important;\n    padding:14px 10px 14px 22px;width:100% !important;box-sizing:border-box !important}\n  .card-title{font-size:15px;line-height:1.25;margin:0 0 4px;min-width:0}\n  .card-desc{min-width:0;overflow-wrap:anywhere;word-break:normal;font-size:12.5px;line-height:1.55}\n  .stat-row{display:grid;grid-template-columns:1fr;gap:12px;padding-bottom:14px}\n  .stat-item,.stat-item:nth-child(n){min-width:0;width:100%;padding:0 0 10px;\n    border-right:0 !important;border-bottom:1px dashed var(--crayon-dash) !important}\n  .footer{flex-direction:column}\n  .poster-kicker{font-size:9px;letter-spacing:.13em;white-space:nowrap;\n    max-width:100%;overflow:hidden;text-overflow:clip}\n}\n```\n\n**staticCheck 必须通过才能 commit**：\n```bash\nnode -e \"const{staticCheck}=require('.\u002Fscripts\u002Fverify-mobile-batch');...\"\n# 期待：{ok:true, errors:[]}\n# RESPONSIVE_CODE 错误 → 加 code,pre,table{max-width:100%;overflow:auto}\n```\n\n**验收标准**（移动端 390×844 截图全部通过）：\n- ✅ 正文横向正常排版（无逐字竖排）\n- ✅ 编号列（48px）与正文列（1fr）两栏并列\n- ✅ 时间轴虚线（left:40px）与圆点对齐\n- ✅ poster-kicker 单行截断\n- ✅ max-width:760px 生效（左右有边距，右侧无异常空白）\n- ✅ stat-row 单列堆叠\n- ✅ footer \u002F save-row 按钮可见\n\n---\n\n## Agent-authored references\n\n- `references\u002Fcrayon-r6-mobile-fix-20260727.md` — **移动端布局修复（2026-07-27）**\n  三层根因链路 + 完整修复模板 + staticCheck 流程 + 验收标准。\n  触发：用户反馈「逐字竖排」「正文被压缩」「不符合约束 infocard-crayon-style」时使用。\n\n---\n\n## R5 规范精确值（桌面端）\n## R5 规范精确值（桌面端，flex 布局）\n\n> ⚠️ 2026-07-28 修订：序号垂直居中必须用 flex。grid 的 `align-self:center` 在 track 高度由内容撑满时失效。\n\n```css\n.poster-shell .skill-card {\n  display: flex;\n  flex-direction: row;\n  align-items: center;              \u002F* ← 关键：用 flex 而非 grid *\u002F\n  border-bottom: 1px dashed var(--line);\n  padding: 14px 0;\n}\n.poster-shell .card-num {\n  width: 88px;\n  flex-shrink: 0;                  \u002F* ← 禁止被压缩 *\u002F\n  text-align: right;\n  padding-right: 25px;\n  font: 700 58px\u002F.9 Georgia, \"Noto Serif SC\", serif;\n  color: var(--accent);\n}\n.poster-shell .card-stripe {\n  left: 74px;                      \u002F* ← flex 模式下序号宽88+右padding25=113，stripe在113处 *\u002F\n  top: 0; bottom: 0;\n  width: 3px; opacity: .8;\n}\n.poster-shell .card-body {\n  flex: 1;                         \u002F* ← 占据剩余空间 *\u002F\n  min-width: 0;\n  padding: 4px 0 4px 22px;\n}\n.poster-shell .card-title {\n  font: 700 19px\u002F1.35 Georgia, \"Noto Serif SC\", serif;\n  margin: 0 0 8px;\n}\n.poster-shell .card-desc {\n  font: 14px\u002F1.72 Georgia, \"Noto Serif SC\", serif;\n  color: var(--crayon-muted, #514a40);\n  max-width: none;\n}\n```\n\n## R5 规范精确值（移动端 @media(max-width:720px)，flex 继承）\n\n```css\n.poster-shell { padding: 22px 18px; }\n.poster-shell .skill-card { padding: 14px 0; }\n\u002F* display:flex 继承自桌面，不需要重新声明 *\u002F\n.poster-shell .card-num { width: 72px; font-size: 43px; padding-right: 18px; }\n.poster-shell .card-stripe { left: 62px; }\n.poster-shell .card-body { padding: 3px 0 3px 14px; }\n.poster-shell .card-title { font-size: 16px; }\n.poster-shell .card-desc { font-size: 14px; line-height: 1.65; }\n```\n\n## 致命陷阱：移动端 display:block\n\n把 `.skill-card` 移动端设为 `display:block` 会摧毁 flex 布局，使 `.card-body` 失去 flex:1 的宽度分配，导致正文列异常窄。正确做法：**保留 `display:flex` 从桌面继承到移动端**，只调整 `width` \u002F `padding` \u002F `font-size`。\n**正确做法：始终保留 `grid-template-columns`，只改列宽（桌面 56px → 移动 48px）**。\n\n## poster-shell 序号垂直居中：flex 优先，grid 次之\n\n**教训（2026-07-28）**：当 `.card-body` 内容高度大于 `.card-num` 时，grid track 高度由内容撑满，`align-self:center` 无多余空间可分配，等于失效。正确方案是 flex。\n\n**poster-shell .skill-card 规范布局（flex，2026-07-28 修订）**：\n\n```css\n\u002F* ✅ 正确：flex + align-items:center *\u002F\n.skill-card {\n  position: relative;\n  display: flex;\n  flex-direction: row;\n  align-items: center;   \u002F* ← 序号和正文同轴垂直居中 *\u002F\n  min-width: 0;\n  border-bottom: 1px dashed var(--line);\n  padding: 14px 0;\n}\n\n\u002F* 序号：显式宽度 + flex-shrink:0 *\u002F\n.card-num {\n  width: 88px;\n  flex-shrink: 0;\n  text-align: right;\n  padding-right: 25px;\n  font: 700 58px\u002F.9 Georgia, \"Noto Serif SC\", serif;\n  color: var(--accent);\n}\n\n\u002F* 正文：flex:1 填满 *\u002F\n.card-body {\n  flex: 1;\n  min-width: 0;\n  padding: 4px 0 4px 22px;\n}\n\n\u002F* 竖线：相对 skill-card 定位 *\u002F\n.card-stripe {\n  position: absolute;\n  left: 74px;           \u002F* = card-num width(88) + card-num padding-right(25) - stripe_width(3) - gap *\u002F\n  top: 0; bottom: 0;\n  width: 3px; opacity: .8;\n}\n```\n\n**移动端（720px）同样继承 flex，不要切回 grid**：\n\n```css\n@media (max-width: 720px) {\n  .skill-card { padding: 14px 0; }\n  .card-num { width: 72px; font-size: 43px; padding-right: 18px; }\n  .card-stripe { left: 62px; }\n  .card-body { padding: 3px 0 3px 14px; }\n}\n```\n\n**验证方法（console）**：\n\n```js\nJSON.stringify({\n  num_center: Math.round(document.querySelector('.card-num').getBoundingClientRect().top +\n    document.querySelector('.card-num').getBoundingClientRect().height \u002F 2),\n  card_center: Math.round((document.querySelector('.skill-card').getBoundingClientRect().top +\n    document.querySelector('.skill-card').getBoundingClientRect().bottom) \u002F 2),\n  diff: Math.round(\n    (document.querySelector('.card-num').getBoundingClientRect().top +\n     document.querySelector('.card-num').getBoundingClientRect().height \u002F 2) -\n    (document.querySelector('.skill-card').getBoundingClientRect().top +\n     document.querySelector('.skill-card').getBoundingClientRect().bottom) \u002F 2\n  )\n})\n\u002F\u002F 桌面端完美对齐：diff ≤ 2px\n```\n\n**grid 方案为何失效**：`.card-body` 内容更高 → grid track 高度 = body 高度 = 内容高度 → `align-self:center` 在已填满高度的 track 内无多余空白 → 等于 `start`。\n\n## 常见失败模式\n\n| 问题 | 根因 | 修复 |\n|---|---|---|\n| 正文只有 56px 宽 | `.card-body` 无 `grid-column: 2`（grid 模式下） | 加 `grid-column: 2` 或改用 flex |\n| 序号在格内顶部对齐而非垂直居中 | grid + `align-self:center` 当 track 高度=内容高度时失效 | 改用 flex + `align-items:center` |\n| 彩色纵线穿过标题 | `left: 72px` 或 `96px` | `left: 74px`（桌面 flex）\u002F `62px`（移动） |\n| 移动端卡片崩塌 | 移动端用 `display:block` | 保留 flex 继承，`align-items:center` 继续生效 |\n\n| 问题 | 根因 | 修复 |\n|---|---|---|\n| 正文只有 56px 宽 | `.card-body` 无 `grid-column: 2` | 加 `grid-column: 2` |\n| 彩色纵线穿过标题 | `left: 72px` 或 `96px` | `left: 48px`（桌面）\u002F `40px`（移动） |\n| 移动端卡片崩塌 | 移动端用 `display:block` | 保留 `grid-template-columns: 48px 1fr` |\n| 移动端编号与正文错位 | `.card-num` 设为 `text-align:left` | 保持 `text-align:right` |\n| 主题不符合约束 | CSS 值来自不存在的「R6」 | 加载本 skill → 读 spec → 对比实际值 |\n\n## pkwork 双智能体评审流程\n\n用户说「pkwork 使用两个智能体。去评审和开发。」时：\n\n1. 主线程加载 `infocard-crayon-style`（读 R5 spec）\n2. 启动 2 个并行 leaf 子智能体：\n   - **Critic**：对标 R5 spec，审计 CSS 差异，输出 fix list\n   - **Developer**：应用全部修复，运行 `staticCheck` + `npm run build` 验证\n3. 等待结果汇入 → 主线程 commit + push\n\n## R6 污染教训（2026-07-26）\n\n某次会话中引入了「R6」CSS 值（100px 编号列、52px 字、96px stripe left、18px top\u002Fbottom 等），\n这些值从未出现在 crayon-style 规范中，导致用户多次反馈「视觉不符」。\n防止再次发生：每次修改 crayon CSS 前，引用本 skill 规范值，不要凭记忆或「看起来差不多」修改。\n",{"name":5,"author":24,"license":15,"version":25,"metadata":26,"description":7},"Hermes Agent","1.1.0",{"hermes":27},{"tags":28,"related_skills":36},[29,30,31,32,33,34,35],"infocard","crayon","poster-shell","css","guard","mobile","html-structure",[37,38,39],"infocard-crayon-style","infocard-publish-sop","software-development\u002Fpkwork","main","4ea40456a3623e494105429a3ae13c3ff61f17f5",".agents\u002Fskills\u002Fcontent\u002Finfocard-crayon-r5-guard",1,"https:\u002F\u002Fgithub.com\u002Fccwq\u002Finfocard-pub","https:\u002F\u002Fccwq.github.io\u002Finfocard-pub\u002F","https:\u002F\u002Fgithub.com\u002Fccwq","丐帮37代iphone","2026-11-12 20:21:30",{"source":8,"skillName":5,"commands":50,"prompt":60,"zipAvailable":61},[51,54,57],{"tool":52,"command":53},"npx","npx skills add ccwq\u002Finfocard-pub --skill infocard-crayon-r5-guard",{"tool":55,"command":56},"bunx","bunx skills add ccwq\u002Finfocard-pub --skill infocard-crayon-r5-guard",{"tool":58,"command":59},"pnpm","pnpm dlx skills add ccwq\u002Finfocard-pub --skill infocard-crayon-r5-guard","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fccwq\u002Finfocard-pub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcontent\u002Finfocard-crayon-r5-guard\u002FSKILL.md",true,[63,69],{"path":64,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":67,"sourceHtmlUrl":68},"references\u002Fcrayon-r6-mobile-fix-20260727.md","REFERENCE","参考文档",1540,"https:\u002F\u002Fgithub.com\u002Fccwq\u002Finfocard-pub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcontent\u002Finfocard-crayon-r5-guard\u002Freferences\u002Fcrayon-r6-mobile-fix-20260727.md",{"path":70,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":71,"sourceHtmlUrl":72},"references\u002Fposter-shell-mobile-recipe.md",2947,"https:\u002F\u002Fgithub.com\u002Fccwq\u002Finfocard-pub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcontent\u002Finfocard-crayon-r5-guard\u002Freferences\u002Fposter-shell-mobile-recipe.md",[74,81,88,95,102,109],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M74J5D6V3BJYVJXMMXVJ8H30","authorized-infocard-execution","Use for authorized infocard runs after tool failures.","https:\u002F\u002Fgithub.com\u002Fccwq\u002Finfocard-pub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpublishing\u002Fauthorized-infocard-execution\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M74J5A599BH65TWJZDMTF07S","web-capture","Use when a web page needs screenshots or device simulation. Capture desktop, mobile, and tablet screenshots via agent-browser and return auditable image paths.","https:\u002F\u002Fgithub.com\u002Fccwq\u002Finfocard-pub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fproductivity\u002Fweb-capture\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M74J50DVMHVKYQHC112CYR4K","infocard-x-content-tracing","X content to upstream project\u002Fauthor tracing.","https:\u002F\u002Fgithub.com\u002Fccwq\u002Finfocard-pub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fproductivity\u002Finfocard-x-content-tracing\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":19},"01M74J4WVB5QEJ23QKXKHWT6DK","infocard-visual-pass-loop","Screenshot-and-fix loop when 200 passes but theme is broken.","https:\u002F\u002Fgithub.com\u002Fccwq\u002Finfocard-pub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fproductivity\u002Finfocard-visual-pass-loop\u002FSKILL.md",[],[],{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":19},"01M74J4SF3YN9G53QCRXNNE4CV","infocard-topic-selection","Use when selecting or evaluating information-card topics from the user's profile or explicitly supplied themes; judge value and visual expression potential without choosing a concrete infocard theme or publishing.","https:\u002F\u002Fgithub.com\u002Fccwq\u002Finfocard-pub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fproductivity\u002Finfocard-topic-selection\u002FSKILL.md",[],[],{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":19},"01M74J4KRQYFGM4ZJRRGRV90VE","infocard-theme-validation","Use when changing infocard theme CSS or pushing docs.","https:\u002F\u002Fgithub.com\u002Fccwq\u002Finfocard-pub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fproductivity\u002Finfocard-theme-validation\u002FSKILL.md",[],[]]