HYPERFLEET-1236 - fix(dynamic-context): resolve hyperfleet-architecture skill availability dynamically#64
Conversation
…re skill availability dynamically The dynamic context check for hyperfleet-architecture skill availability used a relative filesystem path from CLAUDE_SKILL_DIR that only worked in local dev. Installed plugins include a version directory in the path, making the relative depth different and causing the check to always return "NOT available". Replace with a two-tier detection: first check the installed plugins registry (~/.claude/plugins/installed_plugins.json), then fall back to the relative path for local dev. Also document the pattern and testing scenarios in CONTRIBUTING.md.
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Central YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (7)
🔗 Linked repositories identifiedCodeRabbit considers these linked repositories for cross-repo context during reviews:
📝 WalkthroughSummary by CodeRabbit
Walkthrough
Supply chain note: This adds plugin-discovery logic dependent on the installed-plugins registry file ( Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes 🚥 Pre-merge checks | ✅ 11✅ Passed checks (11 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
✨ Simplify code
Comment |
|
@coderabbitai review |
✅ Action performedReview finished.
|
Summary
hyperfleet-architectureskill availability detection in dynamic context across 4 skills in 3 plugins (hyperfleet-code-review,hyperfleet-operational-readiness,hyperfleet-adapter-authoring)CLAUDE_SKILL_DIR, which failed for installed plugins because the install path includes a version directory (<plugin>/<version>/skills/...)~/.claude/plugins/installed_plugins.jsonfirst (installed plugins), fall back to relative path (local dev)CONTRIBUTING.mdTest plan
hyperfleet-code-reviewandhyperfleet-architectureplugins, run/review-pr— architecture check should execute (not skip)/review-local— architecture check should execute (not skip)--plugin-dirin local dev — detection should work via relative path fallbackhyperfleet-architectureplugin — detection should correctly return "NOT available"