← 返回 Skills 市场
75
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install skylv-diff-viewer
功能描述
Generates beautiful side-by-side diff comparisons for code review
安全使用建议
This skill appears to be a straightforward, local Node.js diff tool and is internally consistent. Before installing: (1) Review the remainder of diff_engine.js (the file was truncated in the manifest) to confirm it does not invoke network calls or child_process.exec unexpectedly (particularly for a 'git' subcommand). (2) Verify whether the 'git' integration requires the system git binary — if so, expect the skill to call an external process. (3) Don't pass sensitive file paths (SSH keys, password stores, etc.) to the tool unless you run it in a trusted or sandboxed environment. If you want extra assurance, run the script locally in an isolated container and inspect its behavior with representative inputs.
能力标签
能力评估
Purpose & Capability
The skill is a local Node.js diff viewer (diff_engine.js) and the included code implements LCS diffing, renderers, and HTML export — coherent with the name/description. One minor inconsistency: SKILL.md shows a 'git' command (node diff_engine.js git ./repo --stat), but the registry metadata lists no required binaries; if the implementation invokes the system 'git' binary (child_process), the skill should declare that dependency. Other than that, required env/configs are appropriately empty.
Instruction Scope
Runtime instructions limit actions to comparing files/directories and exporting HTML. The code reads files passed as arguments and renders diffs; this is expected. Note: like any file-diff tool, it will read arbitrary paths you provide — so avoid supplying sensitive file paths unless you trust the environment.
Install Mechanism
No install spec (instruction-only) and the repo includes a single pure-Node.js file with no external package downloads. That is low risk and proportionate to the stated functionality.
Credentials
The skill declares no environment variables, credentials, or config paths and the visible code uses only fs/path/crypto — crypto is plausibly used for binary file hashing. There are no signs of requests for unrelated secrets or external service credentials.
Persistence & Privilege
always is false and the skill does not request elevated persistence or attempt to modify other skills. Autonomous invocation is allowed (platform default) but the skill itself does not ask for persistent privileges.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install skylv-diff-viewer - 安装完成后,直接呼叫该 Skill 的名称或使用
/skylv-diff-viewer触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- Added frontmatter section with description, keywords, name, and triggers at the top of SKILL.md.
- Introduced a new "Usage" section outlining installation, configuration, and usage steps.
- No code or feature changes; documentation only.
v1.0.0
Initial release: professional diff viewer for code and text files.
- Offers LCS-based diff algorithm with syntax highlighting.
- Supports unified and side-by-side views, word-level diffs, and directory comparison.
- Exports diffs as standalone HTML with dark VS Code theme and statistics.
- Integrates with git for repository diffs.
- Handles large files (streaming for >10MB).
- Competitive advantage over simple markdown and diff tools.
元数据
常见问题
Skylv Diff Viewer 是什么?
Generates beautiful side-by-side diff comparisons for code review. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 75 次。
如何安装 Skylv Diff Viewer?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install skylv-diff-viewer」即可一键安装,无需额外配置。
Skylv Diff Viewer 是免费的吗?
是的,Skylv Diff Viewer 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Skylv Diff Viewer 支持哪些平台?
Skylv Diff Viewer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Skylv Diff Viewer?
由 SKY-lv(@sky-lv)开发并维护,当前版本 v1.0.1。
推荐 Skills