[codex] Fix nested skill bundle scanning#11
Open
Wenjunyun123 wants to merge 1 commit into
Open
Conversation
Why: Skills X-ray currently treats repository-style skill bundles as broken when the bundle root lacks SKILL.md, even if the real skills live under skills/*/SKILL.md. What: Detect nested skill bundles before marking a directory as residue, then scan the nested skills root with a bundle-aware label. Tested: node --check server.js Tested: npm run check:vendor-patch Tested: temporary fixture confirmed superpowers-style bundles no longer produce a missing-SKILL.md residue while ordinary broken skill directories still do. Co-authored-by: OmX <omx@oh-my-codex.dev>
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/*/SKILL.mdSKILL.mdwarning for ordinary broken skill directoriesRoot cause
Skills X-ray scans one directory level under roots such as
~/.codex/skills. A collection repo likesuperpowershas no rootSKILL.md, but contains valid skills insuperpowers/skills/*/SKILL.md, so FanBox showed the collection root as an invalid skill.Validation
node --check server.jsnpm run check:vendor-patchsuperpowers/skills/demo-skill/SKILL.mdbundle is reported asdemo-skill, while a normal missing-SKILL.mddirectory still reports the original warning