Support versioned skill files#68
Merged
Merged
Conversation
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
- Avoid duplicate API calls during init by threading the raw FetchedSkills catalog through LoadSkillsOptions.Fetched so LoadSkills can reuse it instead of re-fetching skill_groups and skills a second time. - Paginate GetSkillGroups via SearchEntities (was silently capped by GetEntities default limit); keep GetEntities as a fallback for older Port instances. - Paginate loadLegacySkillContent via SearchEntities so large legacy skill catalogs are not truncated; all properties returned (no include filter). - Fix compareVersionStrings: a non-numeric pre-release segment at a position where the other version has no segment now sorts lower (1.2.3-alpha < 1.2.3). - Remove dead filesFromEntities function and unreachable second len(parts)==0 guard in normalizeSkillFilePath. - Add cloneBody comment documenting the shallow-clone contract. - Narrow isMissingSkillBlueprintError to match Port-specific error codes (blueprint_not_found) and the HTTP 404 status rather than broad substrings like "not found" that could shadow unrelated errors. - Update and extend tests to cover the legacy search endpoint, pre-release version ordering, and the narrowed blueprint-missing check. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
EricFernandezPort
approved these changes
May 27, 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.
Summary
skills/port/<group>/<skill title>/withskill_file.pathrelative to that folder.Test plan