Context
When adding a new skill to a pack, contributors must manually create a catalog-info.yaml Compass manifest following the template documented in CLAUDE.md (section "Adding Compass Manifests for a New Skill"). This involves:
- Setting the correct namespace matching the pack name
- Adding the right
dependsOn references (plugin, MCP servers, other skills)
- Updating the reverse
dependencyOf in the plugin manifest, MCP server manifests, and any referenced skill manifests (bidirectional policy per COMPASS-1288 workaround)
- Adding the file as a target in the pack's
catalog-info.yaml Location
This is error-prone and tedious, especially the bidirectional relationship updates across multiple files.
Proposal
Create a Claude Code skill under .claude/skills/ that automates the generation of Compass manifests for new skills. Given a skill path (e.g., ocp-admin/skills/my-new-skill/), the skill should:
- Read the
SKILL.md frontmatter to extract name, description, and dependencies
- Generate the
catalog-info.yaml with correct namespace, metadata, and relations
- Update the pack's
catalog-info.yaml Location to include the new target
- Update the plugin's
dependencyOf list
- Update any referenced MCP server manifests with
dependencyOf entries
- Update any referenced skill manifests with
dependencyOf entries (for orchestration skills)
Origin
Requested by @dmartinol in PR #133 review feedback.
Context
When adding a new skill to a pack, contributors must manually create a
catalog-info.yamlCompass manifest following the template documented inCLAUDE.md(section "Adding Compass Manifests for a New Skill"). This involves:dependsOnreferences (plugin, MCP servers, other skills)dependencyOfin the plugin manifest, MCP server manifests, and any referenced skill manifests (bidirectional policy per COMPASS-1288 workaround)catalog-info.yamlLocationThis is error-prone and tedious, especially the bidirectional relationship updates across multiple files.
Proposal
Create a Claude Code skill under
.claude/skills/that automates the generation of Compass manifests for new skills. Given a skill path (e.g.,ocp-admin/skills/my-new-skill/), the skill should:SKILL.mdfrontmatter to extract name, description, and dependenciescatalog-info.yamlwith correct namespace, metadata, and relationscatalog-info.yamlLocation to include the new targetdependencyOflistdependencyOfentriesdependencyOfentries (for orchestration skills)Origin
Requested by @dmartinol in PR #133 review feedback.