Repository navigation
fix: split colon-separated skill names into namespace and name - #39
Conversation
When SKILL.md frontmatter uses colon-separated names like agnosticv:catalog-builder, split on the colon: prefix becomes namespace, suffix becomes name. This matches the Claude Code plugin namespacing convention. Also fixes provenance path to use the resolved SkillCard name instead of the raw discovered name. Closes #38 Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Pavel Anni <[email protected]>
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (3)
Cache: Disabled due to data retention organization setting Knowledge base: Disabled due to data retention organization setting 📝 WalkthroughWalkthroughThe changes implement support for colon-separated skill names in SKILL.md frontmatter (e.g., Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Review rate limit: 0/1 reviews remaining, refill in 60 minutes.Comment |
Support explicit namespace in SKILL.md frontmatter via the metadata.namespace field, including nested namespaces like business/hr. Precedence: explicit metadata.namespace > colon prefix in name > org from clone URL. Refs: #38 Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Pavel Anni <[email protected]>
Cover multiple colons (foo:bar:baz), leading colon (:bar), and trailing colon (foo:) to document expected behavior. Refs: #38 Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Pavel Anni <[email protected]>
Summary
agnosticv:catalog-builder) intonamespace=agnosticv,name=catalog-builderContext
Skills in repos like rhpds/rhdp-skills-marketplace use colon-separated names following the Claude Code plugin namespacing convention. These failed OCI name validation (
^[a-z0-9]+(-[a-z0-9]+)*$) because colons aren't valid in OCI image names.The colon maps naturally to our existing
namespace+namefields — the prefix becomes namespace, the suffix becomes name.Test plan
generate_test.gocollection installwith rhdp-collection.yaml installs all 5 skillsCloses #38
🤖 Generated with Claude Code
Summary by CodeRabbit
New Features
Tests