The diff-skill is a specialized utility designed to safeguard the quality of Claude Code skills by auditing changes made to markdown instruction files. It performs an asymmetric comparison between version states—typically from HEAD to the current working tree—to identify load-bearing instruction drops, weakened constraints, or increased complexity that might hinder LLM performance. By automating the review process and generating detailed reports, it ensures that skill iterations result in improvements rather than accidental regressions.
主要功能
01146 GitHub stars
02Analyzes complexity regressions to prevent skills from becoming harder for LLMs to follow
03Detects asymmetric degradations where critical instructions or constraints are lost
04Generates comprehensive audit reports with SHA-based version tracking
05Walks through full reachable file sets via markdown links for deep inspection
06Integrates with Capy indexing for searchable review findings
使用场景
01Reviewing changes to a complex skill before committing to ensure no core functionality was lost
02Benchmarking new iterations of a prompt or skill against established load-bearing constraints
03Auditing a skill after a refactor to confirm that instruction relocation didn't result in instruction dilution