Token导航 LogoToken导航TokenDH.com
开发操作浏览器github未标认证来源可访问许可证需确认审计提醒

diffity-resolve-tree差异解析树

Agent Skill

diffity-resolve-tree 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

7,099

周安装

290

GitHub Stars

571

下载量

2,297
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:diffity-resolve-tree(差异解析树)
来源仓库:https://github.com/kamranahmedse/diffity
仓库路径:skills/diffity-resolve-tree
安装命令:
npx skills add https://github.com/kamranahmedse/diffity --skill diffity-resolve-tree
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/kamranahmedse/diffity --skill diffity-resolve-tree

简介

diffity-resolve-tree 专注于通过树状视图浏览文件并响应内联评审意见。

  • 适合在代码审查流程中快速定位文件级反馈,并在浏览器环境中完成修改与确认。
  • 基于 diffity tree 浏览器交互机制,支持按线程 ID 筛选评论并批量处理相关变更。
  • 使用前应检查 diffity 服务是否就绪,并确保拥有足够的文件访问与写入权限。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Diffity Resolve Tree Skill

You are reading open comments left on repository files via the diffity tree browser and resolving them by making the requested code changes.

Arguments

  • thread-id (optional): Resolve a specific thread by ID instead of all open threads. Example: /diffity-resolve-tree abc123

CLI Reference

diffity agent list [--status open|resolved|dismissed] [--json]
diffity agent comment --file <path> --line <n> [--end-line <n>] --body "<text>"
diffity agent resolve <id> [--summary "<text>"]
diffity agent dismiss <id> [--reason "<text>"]
diffity agent reply <id> --body "<text>"
  • --file, --line, --body are required for comment
  • --end-line defaults to --line (single-line comment)
  • <id> accepts full UUID or 8-char prefix

Prerequisites

  1. Check that diffity is available: run which diffity. If not found, install it with npm install -g diffity.
  2. Check that a tree session exists: run diffity agent list. If this fails with "No active review session", tell the user to start diffity tree first (e.g. diffity tree).

Instructions

  1. List open comment threads with full details: diffity agent list --status open --json If a thread-id argument was provided, filter to just that thread. The JSON output includes the full comment body, file path, line numbers, and side for each thread.
  2. If there are no open threads, tell the user there's nothing to resolve.
  3. For each open thread: a. Skip general comments (filePath __general__) — these are summaries, not actionable code changes. b. Skip threads where the last comment is an agent reply that asks the user a question and the user hasn't responded yet — the agent is waiting for user input. c. [question] comments (from the user) — read the question, examine the relevant code, and reply with an answer: diffity agent reply <thread-id> --body "Your answer here" Then resolve the thread with a summary of your answer. d. Comments phrased as questions without an explicit [question] tag (e.g. "should we add X?" or "can we rename this?") are suggestions — treat them as actionable requests and make the change. e. Read the comment body from the JSON output and understand what change is requested. The comment is anchored to a specific file and line range — read the full file to understand context: f. After making the change, resolve the thread with a summary: diffity agent resolve <thread-id> --summary "Fixed: <brief description of what was changed>"

- If the comment suggests a code change, refactor, or improvement, make the change. - If the comment suggests adding documentation, add or update the relevant docs. - If the comment is genuinely unclear, reply asking for clarification: diffity agent reply <thread-id> --body "Could you clarify what change you'd like here?"

  1. After resolving all applicable threads, run diffity agent list to confirm status.
  2. Tell the user to check the browser — resolved status will appear within 2 seconds via polling.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.67%
按下载量换算796

Claude

32.53%
按下载量换算747

Cursor

19.94%
按下载量换算458

Gemini CLI

10.53%
按下载量换算242

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

可疑

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills