Merged
Conversation
Implement the SkillPackager interface with deterministic OCI artifact creation from skill directories. Uses canonical ocispec types from github.com/opencontainers/image-spec for OCI 1.1 compliance. Reads SKILL.md YAML frontmatter for metadata, creates per-platform OCI configs (ocispec.Image) with skill metadata in labels, manifests (ocispec.Manifest) with annotations, and multi-platform image indexes (ocispec.Index). Uses digest.FromBytes for diff IDs and specs.Versioned for schema version. Security: rejects symlinks (files and directories), hardlinks, device entries, and path traversal in filesystem reads. Nil store panics at construction. Frontmatter capped at 64KB. New dependencies: github.com/opencontainers/image-spec, gopkg.in/yaml.v3 Resolves: #16 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
17 tasks
rdimitrov
approved these changes
Feb 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
SkillPackagerinterface frominterfaces.goocispectypes fromgithub.com/opencontainers/image-spec/specs-go/v1— no custom OCI struct definitionsocispec.Image) with skill metadata in labelsocispec.Manifest) with skill annotations andartifactTypeocispec.Index)digest.FromBytesfor diff ID computation,specs.Versionedfor schema versionSecurity:
d.Type()check)New dependencies:
github.com/opencontainers/image-spec,gopkg.in/yaml.v3(promoted from indirect)Resolves #16
Test plan
taskpasses (lint + test)task license-checkpasses🤖 Generated with Claude Code