diff-skill

Compare two versions of a skill's instructions to detect regressions and increased complexity. Triggered when a user requests a diff, comparison, or review of a skill's Markdown instructions. The check is asymmetric—only regressions are recorded; additions, clarifications, and reinforcements are not considered regressions. Default comparison is HEAD → working tree, traversing reachable files via Markdown links in SKILL.md. Produce report files under docs/reviews/diff-skill/ and provide an inline summary.

Last repository push
GitHub Stars
156
Forks
29
Issues / PRs
37

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "diff-skill" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-71f71a5513f2ec93bfeb7661ff2b03754411a9e976c4e756d7c291732e17e5cd. Verify the upstream source and version against https://github.com/serpro69/claude-toolbox before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Compare two versions of a skill's instructions to detect regressions and increased complexity. Triggered when a user requests a diff, comparison, or review of a skill's Markdown instructions. The check is asymmetric—only regressions are recorded; additions, clarifications, and reinforcements are not considered regressions. Default comparison is HEAD → working tree, traversing reachable files via Markdown links in SKILL.md. Produce report files under docs/reviews/diff-skill/ and provide an inline summary.

0 Downloads

Introduction source: third_party · serpro69 · 0.0.1 Reference

SkillPi interpretation

Tasks
<!-- codex: tool-name mapping applied. See .codex/scripts/session-start.sh -->
Inputs and outputs
[ ] Report written to `docs/reviews/diff-skill/<slug>-<sha-a>-<sha-b>.md` [ ] Inline summary presented (under 10 lines: verdict, finding counts, report path) [ ] Capy indexed under `kk:review-findings` if any degradation or complexity regression findings exist (skip on clean results and pre-existing advisories)
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: diff-skill
description: |
  Compare two versions of a skill's instructions to detect degradations and complexity increases.
  TRIGGER when: user asks to diff, compare, or review changes to a skill's markdown instructions.
  Asymmetric check — only regressions count. Additions, clarifications, and strengthenings are not degradations.
  Compares HEAD → working tree by default. Walks the full reachable file set from SKILL.md via markdown links.
  Produces a report file under docs/reviews/diff-skill/ and an inline summary.

<!-- codex: tool-name mapping applied. See .codex/scripts/session-start.sh -->

Diff Skill Instructions

Goal: Detect whether an edit to a skill's markdown instructions introduced degradations or made the skill harder for an LLM to follow.

Two judgment axes:

  1. Degradation (asymmetric) — load-bearing instruction dropped, constraint weakened, verification step removed, scope narrowed, required output dropped, or reference broken. Content relocated but preserved is neutral.
  2. Complexity — split into regressions (introduced or worsened by the edit, affects verdict) and pre-existing advisories (exist regardless of the edit, surfaced as improvement opportunities, does NOT affect verdict).

Conventions

Required Outputs

  • [ ] Report written to docs/reviews/diff-skill/<slug>-<sha-a>-<sha-b>.md
  • [ ] Inline summary presented (under 10 lines: verdict, finding counts, report path)
  • [ ] Capy indexed under kk:review-findings if any degradation or complexity regression findings exist (skip on clean results and pre-existing advisories)

Invocation

$kk:diff-skill <skill-name>

Convenience shortcut: resolves klaude-plugin/skills/<skill-name>/SKILL.md. If not found, asks the user for the skill directory path.

Defaults: HEAD (before) → working tree (after). User can specify different refs in the prompt.

Workflow

Mandatory order — load instructions before acting on subject matter. The phases below are strictly sequential. Do not read skill content, build file sets, or produce judgments until you have loaded and internalized the full process file. The only early contact with the target skill is its name and SKILL.md path — enough to validate, not enough to judge.

See diff-process.md for the detailed step-by-step process.

Version history

  1. v0.25.4 GitHub ↗
    Original release notes

    ## What's Changed * Protect repo-local kubeconfig files as guard secrets by @serpro69 in https://github.com/serpro69/claude-toolbox/pull/190 * Remove ignored Codex auto-review settings by @serpro69 in https://github.com/serpro69/claude-toolbox/pull/193 * Apply destructive rules to commands spawned from inline code by @serpro69 in https://github.com/serpro69/claude-toolbox/pull/191 * Add docs explore page around real catches from capy by @serpro69 in https://github.com/serpro69/claude-toolbox/pull/194 **Full Changelog**: https://github.com/serpro69/claude-toolbox/compare/v0.25.3...v0.25.4

  2. v0.25.3 GitHub ↗
    Original release notes

    ## What's Changed * Apply YAGNI to design plans and make scope reviews two-sided by @serpro69 in https://github.com/serpro69/claude-toolbox/pull/189 **Full Changelog**: https://github.com/serpro69/claude-toolbox/compare/v0.25.2...v0.25.3

  3. v0.25.2 GitHub ↗
    Original release notes

    ## What's Changed * Add manual task handoffs through secret gists by @serpro69 in https://github.com/serpro69/claude-toolbox/pull/187 **Full Changelog**: https://github.com/serpro69/claude-toolbox/compare/v0.25.1...v0.25.2

  4. v0.25.1 GitHub ↗
    Original release notes

    ## What's Changed * Preserve guard denial diagnostics in Codex adapters by @serpro69 in https://github.com/serpro69/claude-toolbox/pull/185 * Keep vendored Go profile references self-contained by @serpro69 in https://github.com/serpro69/claude-toolbox/pull/186 **Full Changelog**: https://github.com/serpro69/claude-toolbox/compare/v0.25.0...v0.25.1

  5. v0.25.0 GitHub ↗
    Original release notes

    ## What's Changed * Revamp permission guard engine by @serpro69 in https://github.com/serpro69/claude-toolbox/pull/178 **Full Changelog**: https://github.com/serpro69/claude-toolbox/compare/v0.24.1...v0.25.0

Only the five most recent versions are shown. View full version history at the source ↗

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value65/100

Highlights

  • 提供技能指令退化检测能力,有助于维护技能质量
  • 支持复杂度分析,区分退化与改进
Trigger Precision90/100

Highlights

  • 触发条件描述清晰,覆盖 diff/compare/review 等关键词
  • 边界定义明确,不易误触
Structure and Standards75/100

Areas to improve

  • 缺少 When to Use 章节 Reported severity: Minor

    文档未包含 When to Use 章节,影响用户快速理解使用场景

    Recommendation: 补充 When to Use 章节,说明典型使用场景和最佳实践

  • 文档过长 Reported severity: Minor

    文档约 400 行,超出推荐长度

    Recommendation: 考虑将详细流程移至单独文档,主文档保留核心流程

Highlights

  • Phase 流程清晰,有明确的顺序要求
  • 输出要求明确,包含报告文件、内联摘要和索引
Execution Reliability70/100

Areas to improve

  • 未显式处理 Git 操作失败、文件读写权限等异常 Reported severity: Minor

    执行流程中未显式处理 Git 操作失败、文件读写权限等常见异常

    Recommendation: 增加异常处理逻辑,确保在 Git 操作失败或文件权限不足时提供友好提示

Highlights

  • 工具来源明确,通过 $kk:diff-skill 调用
  • 参数正确,支持用户指定不同 refs
  • 覆盖主要异常场景(如技能路径未找到时询问用户)
Evidence Verifiability (mean of the first four)75/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.