快速生成可分享的代码或文本差异结果,便于审阅、协作与落地修改。
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "diffs" 技能: 1. 下载 https://raw.githubusercontent.com/openclaw/openclaw/main/extensions/diffs/skills/diffs/SKILL.md 2. 保存为 ~/.claude/skills/diffs/SKILL.md 3. 装好后重载技能,告诉我可以用了
请基于以下需求修改这段代码,并用 diffs 工具输出可分享的 diff 链接和补丁文件:将登录函数改为支持邮箱或手机号登录,同时保留原有单元测试。
返回可审阅的代码差异结果,包括分享链接、补丁文件或两者。
请将这版产品说明文档按我的修改意见更新,并使用 diffs 工具生成清晰的差异输出,方便团队直接查看改动位置。
返回文档改动的结构化差异,便于团队审阅和确认。
请对比当前版本与目标版本的配置文件差异,并通过 diffs 工具生成可分享结果,用于提交给同事做变更评审。
返回适合评审的版本差异结果,突出新增、删除与修改内容。
When you need to show edits as a real diff, prefer the diffs tool instead of writing a manual summary.
The diffs tool accepts either before + after text, or a unified patch string.
Use mode=view when you want an interactive gateway-hosted viewer. After the tool returns, use details.viewerUrl with the canvas tool via canvas present or canvas navigate.
If the deployment uses a loopback trusted proxy (for example Tailscale Serve with gateway.trustedProxies including 127.0.0.1), raw loopback viewer requests can fail closed without forwarded client-IP headers. In that topology, prefer mode=file / mode=both, or use a configured viewerBaseUrl / explicit proxy/public baseUrl when you need a shareable viewer URL.
Use mode=file when you need a rendered file artifact. Set fileFormat=png (default) or fileFormat=pdf. The tool result includes details.filePath.
For large or high-fidelity files, use fileQuality (standard|hq|print) and optionally override fileScale/fileMaxWidth.
When you need to deliver the rendered file to a user or channel, do not rely on the raw tool-result renderer. Instead, call the message tool and pass details.filePath through path or filePath.
Use mode=both when you want both the gateway viewer URL and the rendered artifact.
If the user has configured diffs plugin defaults, prefer omitting mode, theme, layout, and related presentation options unless you need to override them for this specific diff.
Include path for before/after text when you know the file name.
帮助维护者分诊、清理并解决 GitHub 中的 OpenClaw 密钥泄露告警。
帮助定位 OpenClaw 测试中的内存增长、堆泄漏与 OOM 根因
帮助开发者选择并执行 OpenClaw 测试、CI 校验与发布验证的最优路径。
帮助你发现并控制 Sonos 音箱,执行播放、音量和分组等操作。
按模型汇总 CodexBar 本地费用日志,快速查看 Codex 或 Claude 的成本明细。
用 songsee CLI 从音频生成频谱图与特征面板可视化,便于分析与展示。
对本地或PR分支执行结构化代码审查,帮助提交或发布前发现问题。
快速比较两段文本差异,并输出标准 unified diff 结果
对二进制文件进行只读差异比对与指纹分析,输出结构化差异和分段哈希
通过截图比对与设计令牌提取,定位 UI 偏差并生成 CSS 修复建议
用 AI 比较代码或文本差异,快速生成变更解读与修改建议。
为 AI 代理提供精确文本处理,包括差异比较、补丁应用与正则测试。