Refactor skills installation/status around shared multi-agent catalog#549
Open
mariusvniekerk wants to merge 4 commits intomainfrom
Open
Refactor skills installation/status around shared multi-agent catalog#549mariusvniekerk wants to merge 4 commits intomainfrom
mariusvniekerk wants to merge 4 commits intomainfrom
Conversation
roborev: Combined Review (
|
- Replace duplicated Claude/Codex install and status logic with shared agent specs - Build skill metadata and installed-path checks from embedded skills dynamically - Update tests to use agent table cases and runtime-derived expected skills
IsInstalled and Update only need directory names to check filesystem paths, not full SKILL.md content. Add embeddedSkillDirNames() that enumerates directories without reading files, so a missing or unreadable embedded file no longer breaks installation detection. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replace embeddedSkillCatalog's field-by-field merge with a simpler seen-set dedup in ListSkills, making it explicit that the first agent's metadata wins when frontmatter differs across agents. Add tests covering: deduplication across agents, first-agent-wins metadata selection, and a mock-FS regression test verifying that installation detection (embeddedSkillDirNames/currentInstalledSkillFilePaths) succeeds even when embedded SKILL.md files are absent. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1b6d941 to
6531468
Compare
roborev: Combined Review (
|
Address modernize and testifylint findings from CI. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
roborev: Combined Review (
|
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
supportedAgentscatalog and a unifiedinstallAgentflow.ListSkillsto build metadata from a combined embedded catalog across agents instead of a Claude-only source.StatusandUpdateto use shared catalog-driven logic, including legacy-only installs viaanyFileExistschecks.ListSkills.Testing