fix: keep each skill's links inside its own folder - #12
Merged
Merged
Conversation
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.
Makes every skill pass awesome-copilot's
vally lint, which requires each skill to reference only files inside its own folder. 18 skills linked into other skills (../poteto-mode/...,../principle-*/SKILL.md). The build now rewrites those 37 links into plain pointers such as "seeskills/poteto-mode/references/codex-tools.mdin this plugin", leaving pstack's content otherwise unchanged.Changes
tools/build.mjsrewrites cross-skill Markdown links on every build and fails if none are found, so an upstream style change is noticed.tools/check.mjsfails if any skill links outside its own folder.Verified:
@microsoft/vally0.12.0 lint: 54/54 skills pass (was 36/54).node tools/check.mjs: 22/22. With the rewrite disabled, the new check fails.tools/eval.sh10/10 andnode tools/eval-vscode.mjs10/10.