fix: validate-installation scripts now check .github/skills directory (#1010)#1206
Merged
WilliamBerryiii merged 4 commits intomicrosoft:mainfrom Mar 26, 2026
Conversation
Contributor
|
Thanks @zeel2104 for picking this up and contributing to the repo. This is looking pretty good! Two requests before we run the workflows and approve:
Thanks! |
Contributor
Author
|
Hey @katriendg |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1206 +/- ##
==========================================
- Coverage 87.65% 87.64% -0.01%
==========================================
Files 61 61
Lines 9313 9315 +2
==========================================
+ Hits 8163 8164 +1
- Misses 1150 1151 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
Contributor
Author
|
Your welcome 😊 |
WilliamBerryiii
approved these changes
Mar 26, 2026
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
The validate-installation.ps1 and validate-installation.sh scripts were silently skipping .github/skills, allowing a "validated successfully" result even when skills were missing from the installation. This fix adds .github/skills to the required directory checks and adds an informational (non-failing) check for optional experimental subdirectories.
Related Issue(s)
Fixes #1010
Type of Change
Select all that apply:
Code & Documentation:
Infrastructure & Configuration:
AI Artifacts:
prompt-builderagent and addressed all feedback.github/instructions/*.instructions.md).github/prompts/*.prompt.md).github/agents/*.agent.md).github/skills/*/SKILL.md)Other:
.ps1,.sh,.py)Testing
Ran the existing Pester test suite with the updated test file. All 14 tests pass:
Tests Passed: 14, Failed: 0, Skipped: 0, Inconclusive: 0, NotRun: 0
New tests added:
->Checks skills directory - creates agents, prompts, instructions but omits skills, asserts output matches Missing.*skills
->Passes validation when experimental directories are absent — confirms absence of experimental dirs does not cause failure
->Reports optional experimental directories when present confirms skills/experimental and agents/experimental are reported with Found optional: when present
Manual Smoke Test
Missing skills — should fail
./validate-installation.ps1 -BasePath ./test-no-skills -Method 1
❌ Missing: .../.github/skills
All dirs present — should pass
./validate-installation.ps1 -BasePath ./hve-core -Method 1
✅ Installation validated successfully
Checklist
Required Checks
Required Automated Checks
The following validation commands must pass before merging:
npm run lint:mdnpm run spell-checknpm run lint:frontmatternpm run validate:skillsnpm run lint:md-linksnpm run lint:psnpm run plugin:generateSecurity Considerations
Additional Notes
All existing tests were updated to include .github/skills in their fixture setup so they continue to pass with the new required directory check.