feat/use skill includes excludes 319 - #323
Merged
Merged
Conversation
mrwogu
commented
Jul 23, 2026
Owner
- feat(resolver): support includes/excludes skill filters in @use
- docs: add version+params syntax and playground skill filtering example
- test(compiler): add skill filtering smoke tests
Add includes/excludes reserved parameters to @use directives for filtering individual skills from directory and remote repo imports. Mirrors the existing only/exclude block-level filters but operates on the @skills block ObjectContent properties. - Extend extractReservedParams to strip includes/excludes params - Add filterSkillsBlock in resolver and browser-compiler - Extend PS021 validator for mutual exclusion and type checks - Document skill filtering in language reference Closes #319
Document that version pinning must come before filter params in @use: @use github.com/owner/repo@2.10.0(includes: [skill1]) Add 'Skill Filtering' example to playground ExampleGallery showing includes/excludes with a local skill library. Update badge detection to recognize includes:/excludes: patterns.
Full pipeline smoke tests (parser -> resolver -> validator -> formatter) for includes/excludes skill filters: - includes: only specified skills appear in compiled output - excludes: excluded skills absent from output - no filter: all skills present (backward compat) - combined with only block filter - reserved params do not leak to template interpolation
mrwogu
force-pushed
the
feat/use-skill-includes-excludes-319
branch
from
July 23, 2026 22:20
7fb61c1 to
b96d1a2
Compare
Bundle ReportChanges will increase total bundle size by 3.23kB (0.19%) ⬆️. This is within the configured threshold ✅ Detailed changes
Affected Assets, Files, and Routes:view changes for bundle: promptscript-cliAssets Changed:
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Remove unreachable no-filter guard (caller already gates on includes || excludes). Add test for includes filter on source without @skills block to cover the no-skills-block early return.
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.