Skip to content

Add skill diff command (#46)#66

Open
devrimcavusoglu wants to merge 1 commit intomainfrom
feature/skill-diff
Open

Add skill diff command (#46)#66
devrimcavusoglu wants to merge 1 commit intomainfrom
feature/skill-diff

Conversation

@devrimcavusoglu
Copy link
Owner

Summary

  • Add skern skill diff <name> --platform <platform> to compare a registry skill against its installed copy on a platform
  • Add skern skill diff <name-a> <name-b> to compare two registry skills by name
  • Compare metadata fields (name, description, version, author, tags, allowed-tools) and body content
  • Support --json, --scope, and --platform flags

Test plan

  • 12 table-driven tests covering both modes (registry-vs-registry, registry-vs-platform)
  • Tests for identical skills, different metadata, different body, text output, not-found, missing flags, --platform all rejection, default scope
  • make build passes
  • make test passes (all packages)
  • make lint — 0 issues

Closes #46

🤖 Generated with Claude Code

Compare two registry skills or a registry skill against its installed
copy on a platform. Supports --json, --scope, and --platform flags.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add skill diff command

1 participant