Skip to content

Fix sk CLI compatibility with sharded registry artifacts#2

Open
majiayu000 wants to merge 3 commits into
mainfrom
codex/fix-sharded-registry-artifacts
Open

Fix sk CLI compatibility with sharded registry artifacts#2
majiayu000 wants to merge 3 commits into
mainfrom
codex/fix-sharded-registry-artifacts

Conversation

@majiayu000
Copy link
Copy Markdown
Owner

Summary

Closes #1.

  • Follow registry compatibility pointers to search manifests, search shards, category manifests, and category parts.
  • Resolve short-name installs from the current search index instead of the deprecated full registry.json payload.
  • Normalize standard SKILL.md install refs so they install the containing skill directory, while filtering command markdown refs from search/category output.
  • Deduplicate repeated registry entries by install command and prefer the shorter skill display name.
  • Add focused tests for manifest following, category parts, dedupe/filtering, and GitHub path parsing.

Validation

  • go test ./...
  • go build -o /tmp/sk-test . && /tmp/sk-test search testing
  • /tmp/sk-test search --category testing
  • HOME=$(mktemp -d) /tmp/sk-test install docx
  • HOME=$(mktemp -d) /tmp/sk-test install anthropics/skills/skills/docx/SKILL.md --name docx-file-path

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.

Fix sk CLI compatibility with sharded registry artifacts

1 participant