fix: move SKILL.md to skills/terraform-skill/ for plugin autodiscovery#9
Open
rvoitenko wants to merge 1 commit intoantonbabenko:masterfrom
Open
Conversation
Per the Claude Code plugins reference, skills must be located at skills/<name>/SKILL.md inside the plugin root to be autodiscovered when installed via /plugin install. SKILL.md at the repo root is not picked up by the plugin system. Changes: - Move SKILL.md → skills/terraform-skill/SKILL.md - Move references/ → skills/terraform-skill/references/ - Update CI workflows to reference new paths - Update CLAUDE.md, CONTRIBUTING.md, README.md to reflect new structure - Fix Manual Installation and Private Testing instructions in README.md to use plugin commands instead of ~/.claude/skills/ path
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.
Pull Request
Description
Type of change:
Summary:
SKILL.mdwas located at the repository root, which is not the correct location for Claude Code plugin autodiscovery. Per the plugins reference, skills must live atskills/<skill-name>/SKILL.mdinside the plugin root. With the old structure, installing the plugin via/plugin install terraform-skill@antonbabenkowould succeed but Claude Code would never load the skill — it simply wasn't found.This PR moves the skill to the correct location without changing any content:
SKILL.md→skills/terraform-skill/SKILL.mdreferences/→skills/terraform-skill/references/Relative links within
SKILL.md(e.g.,references/code-patterns.md) remain valid from the new location.Also updated to reflect the new structure:
validate.yml,automated-release.yml) — path referencesREADME.md— Manual Installation and Private Testing now use plugin commands instead of the defunct~/.claude/skills/pathCLAUDE.md— directory diagram and local validation commandsCONTRIBUTING.md— file organization diagram and disable/enable skill commandsTesting Evidence (REQUIRED)
Scenarios Tested
This change does not modify skill content — it fixes whether the skill loads at all. All 8 baseline scenarios were run with the skill loaded from the corrected path to confirm no regression in agent behavior.
Baseline Behavior (WITHOUT changes)
Compliance Behavior (WITH changes)
Evidence of Improvement
Standards Compliance Checklist
Frontmatter (if SKILL.md changed)
SKILL.md content was not modified — only its location changed. N/A.
Token Efficiency
skills/terraform-skill/references/(unchanged)Content Quality
Content not modified. N/A.
File Organization
skills/terraform-skill/SKILL.md(corrected from root)skills/terraform-skill/references/Validation
validate.yml)cd skills/terraform-skilladded to link check step)skills/**/*.mdRationalizations
New rationalizations discovered:
Related Issues
Closes #4
Additional Context
The plugin system documentation that clarifies the required structure:
Source: https://code.claude.com/docs/en/plugins-reference#skills