Repository navigation
fix: prefix plugin file paths with ${CLAUDE_PLUGIN_ROOT} - #38
Merged
Merged
Conversation
Closes #37 Co-authored-by: marcossevilla <marcossevilla@users.noreply.github.com>
Contributor
|
Proposal: teach |
ryzizub
approved these changes
Nov 6, 2026
Merged
7 tasks
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
Skills and the
ffca-layer-auditoragent referenced plugin files (references/…,scripts/…) with bare relative paths. Nothing resolves those to the plugin's own files: Claude Code only expands${CLAUDE_PLUGIN_ROOT}, and an agent working in a user's repo resolves a relative path against that repo. The references only worked when the model guessed the base from an earlier${CLAUDE_PLUGIN_ROOT}mention in the same file. Inffca-audit,dart run scripts/validate_layers.dart --allfailed outright when run from a user's repo.This PR prefixes every such path in
skills/andagents/with${CLAUDE_PLUGIN_ROOT}/. Downstream tools such asvgv_ai_clirewrite that placeholder for Codex, Copilot and Antigravity, so they can now resolve these paths too.Changes
references/…andscripts/…paths with${CLAUDE_PLUGIN_ROOT}/inagents/ffca-layer-auditor.mdand theffca-architecture,ffca-audit,ffca-cross-feature,ffca-featureandffca-routingskills.plugin-pathsCI job that grepsskills/andagents/for a barereferences/orscripts/path and fails with an error message if one is found, so the problem can't regress.Checkssection ofAGENTS.md.The change is path-prefix only, with no change to the wording or the instructions themselves.
Closes #37