skills-experimental/absolute-rects-tracking/SKILL.md
# absoluteRects Tracking Skill absoluteRects Tracking - absoluteRectsPrev/Cur arrays + position:absolute tracking + ScrollBox blit+shift repair + three recording paths + full-render nodeCache.set + blit early-return + blitEscapingAbsoluteDescendants + clean-overlay consecutive scrolls。 ## 功能概述 从Claude Code的ink/render-node-to-output.ts提取的absoluteRects追踪模式,用于OpenClaw的滚动渲染修复。 ## 核心机制 ### absoluteRectsPrev/Cur Arrays ```typescript // Rects of position:absolute nodes from the PREVIOUS frame, us
npx skillsauth add bianhaifeng789-hue/openclaw-config skills-experimental/absolute-rects-trackingInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
absoluteRects Tracking - absoluteRectsPrev/Cur arrays + position:absolute tracking + ScrollBox blit+shift repair + three recording paths + full-render nodeCache.set + blit early-return + blitEscapingAbsoluteDescendants + clean-overlay consecutive scrolls。
从Claude Code的ink/render-node-to-output.ts提取的absoluteRects追踪模式,用于OpenClaw的滚动渲染修复。
// Rects of position:absolute nodes from the PREVIOUS frame, used by
// ScrollBox's blit+shift third-pass repair (see usage site).
let absoluteRectsPrev: Rectangle[] = []
let absoluteRectsCur: Rectangle[] = []
// Track position:absolute nodes
// Previous and current frame rects
# ScrollBox blit+shift repair
// Rects of position:absolute nodes
// Absolute positioned nodes overlay content
// Scroll needs repair for overlay
// Track rects for repair
// Used by ScrollBox's blit+shift third-pass repair
// ScrollBox content scrolls, absolute overlays shift differently
// Third-pass repair corrects overlay
// blit + shift pattern
// ScrollBox scrolling
# Absolute overlay repair
// Recorded at three paths — full-render nodeCache.set,
// node-level blit early-return, blitEscapingAbsoluteDescendants
// — so clean-overlay consecutive scrolls still have the rect
// Three recording locations:
// 1. full-render nodeCache.set
// 2. node-level blit early-return
// 3. blitEscapingAbsoluteDescendants
# Clean-overlay support
// full-render nodeCache.set
// Full render records absolute rects
// nodeCache update path
// node-level blit early-return
// Blit optimization records absolute rects
// Early return path
// blitEscapingAbsoluteDescendants
// Absolute descendants escaping scroll
// Special blit path
// So clean-overlay consecutive scrolls still have the rect
// Consecutive scrolls need previous rect
// clean-overlay pattern
# Rects preserved across frames
export function resetScrollHint(): void {
scrollHint = null
absoluteRectsPrev = absoluteRectsCur // Swap prev with cur
absoluteRectsCur = [] // Reset cur for new frame
}
// Swap prev with cur each frame
// Reset cur for new frame
# Previous rects available
{
"absoluteRectsPrev": [{"x": 10, "y": 5, "width": 20, "height": 10}],
"absoluteRectsCur": [{"x": 10, "y": 15, "width": 20, "height": 10}]
}
absoluteRectsPrev = absoluteRectsCur | absoluteRectsCur = [] → prev available for repair
# 每帧swap prev和cur
# cur reset
# prev可用于repair
nodeCache.set + blit early-return + blitEscapingAbsoluteDescendants → cover all cases
# 三个记录路径覆盖所有场景
# full-render
# blit optimization
# escaping descendants
ScrollBox blit+shift → absolute overlay needs repair → use absoluteRectsPrev
# ScrollBox滚动时
# absolute overlay需要repair
# 使用prev rects
consecutive scrolls → previous rect needed → three paths ensure rect available
# 连续滚动需要previous rect
# 三路径确保rect可用
# clean-overlay pattern
ink/render-node-to-output.ts (1462 lines)business
IAA 日报飞书输出能力。 支持把固定 CSV 模板一键转换成: - 中文运营结论 - 飞书卡片 JSON - 飞书发送载荷 Use when: - 需要把 IAA 日报直接发到飞书 - 需要从 CSV 一键生成运营日报
data-ai
IAA日报分析模型 功能: - 渠道日报自动分析 - 小时级+日级ROI联动判断 - 按地区输出加量/降量/停投建议 - 按产品类型输出阈值 - 自动识别利润区/观察区/止损区 Use when: - 分析每天投放数据 - 生成运营日报结论 - 判断是否加量/降量/停投 - 对比美加澳/日韩表现 Keywords: - 日报模型, 投放日报, 加量, 降量, 停投, ROI日报, 分地区分析
data-ai
IAA固定日报分析模板 功能: - 固定字段模板(可直接贴每天数据) - 自动输出总盘结论 - 自动输出美加澳/日韩结论 - 自动给出加量/降量/停投建议 - 适配文件修复/清理两类产品 Use when: - 需要固定日报格式 - 每天复盘渠道表现 - 给运营团队出统一结论 Keywords: - 固定模板, 日报模板, ROI模板, IAA日报, 运营模板
development
# HyperlinkPool Pattern Skill HyperlinkPool Pattern - HyperlinkPool class + strings array + stringMap + Index 0 no hyperlink + intern(hyperlink) + get(id) + undefined handling + 5-minute reset + OSC8 hyperlink interning。 ## 功能概述 从Claude Code的ink/screen.ts提取的HyperlinkPool模式,用于OpenClaw的OSC8超链接池管理。 ## 核心机制 ### HyperlinkPool Class ```typescript export class HyperlinkPool { private strings: string[] = [''] // Index 0 = no hyperlink private stringMap = new Map<string, number>() // strings