快速生成可分享的代码或文本差异结果,便于审阅、协作与落地修改。
复制安装指令,让 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.
连接 Discord 驱动的 OpenClaw 会话,直接与智能代理实时交流协作。
帮你通过 remindctl 管理 Apple 提醒事项与清单的增删改查和完成状态。
帮助用户通过 HTTP 或 stdio 管理、鉴权并调用 MCP 服务器与工具。
帮助开发者选择并执行 OpenClaw 测试、CI 校验与发布验证的最优路径。
在终端中搜索、播放和控制 Spotify 音乐,提高专注与操作效率。
通过命令行控制飞利浦 Hue 灯光与场景,便捷实现智能照明操作自动化。
帮助用户解读 Git diff 变更,标注风险并生成代码审查检查清单。
让 AI 在 VS Code 中修改文件,并通过差异面板交互审核与采纳变更。
获取 GitHub PR 差异并直接发布行内审查评论,提升代码评审效率。
用自然语言对 Git 代码差异进行 AI 辅助审查与反馈
对本地或PR分支执行结构化代码审查,帮助提交或发布前发现问题。
快速比较两段文本差异,并输出标准 unified diff 结果