feat: Documents Skill Library with pack/skill management#18
Draft
falfaddaghi wants to merge 1 commit intomainfrom
Draft
feat: Documents Skill Library with pack/skill management#18falfaddaghi wants to merge 1 commit intomainfrom
falfaddaghi wants to merge 1 commit intomainfrom
Conversation
473333f to
f5018e3
Compare
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
Adds a full Documents Skill Library to Nexus Workflow Studio, allowing users to author, version, organize, publish, and export reusable Markdown skills grouped into packs/plugins. The library supports workspace and user-local scopes with branch/fork flows, three-way Markdown merge, real-time collaborative editing via Hocuspocus/Y.js, and self-contained
.nexusworkflow export artifacts. Workflow Skill nodes are extended to reference skills by stablescope + packId + packVersion + skillIdidentity through a new skill picker dialog.Plan:
docs/tasks/feature-documents-skill-library-60d267bf/plan-feature-documents-skill-library-60d267bf.mdADW tracking ID:
60d267bfImplementation Checklist
src/lib/library-store/) with config, object-store (RustFS-compatible key layout), SHA-256 hashing, type definitions, and Zod v4 schemas for manifests and API payloadsLibraryStoresingleton with pack/skill/document CRUD, optimistic concurrency, soft-delete, fork, merge-base (three-way diff3), publish pack/skill versions, and live skill resolutionsrc/components/workflow/documents-panel/) with pack browser, file tree, Markdown editor, preview, per-document Y.js collab binding, branch/head/base status badges, and presence indicatorsSKILL.mdentrypoints, normalized manifest generation, resolved skill preview, validation panel (missing entrypoint, broken references, duplicate IDs, invalid frontmatter, conflict state), and skill picker dialog wired to the Skill node.nexuszip export (manifest.json,workflow.json,libraries/…,runtime/resolver-metadata.json,hashes.json); Nexus-native archive import and best-effort Agent Skills folder/zip import; integrity validation on import/exportSkillNodeDatawithlibraryRef(scope + packId + packVersion + skillId); generator routes through live resolver when ref is set; pack badge on node renderersrc/store/library-docs/store.tsmirroring API actions with pending-merge and fork-behind-base statesrc/app/api/library/(session, packs, documents, skills, versions, publish, fork, merge, resolve, import, export)library-store,library-merge,library-validation,library-export,library-import,library-resolver,library-docsstore tests, and updated Skill node generator tests.env.example,.gitignore,docker-compose.yml,scripts/start.sh,next.config.ts,README.mdupdatesdocs/tasks/feature-documents-skill-library-60d267bf/e2e-feature-documents-skill-library-60d267bf.mdKey Changes
src/lib/library-store/src/app/api/library/src/components/workflow/documents-panel/src/components/workflow/properties/skill-picker-dialog.tsxsrc/lib/library-client.tssrc/store/library-docs/store.tssrc/nodes/skill/libraryRefsrc/lib/collaboration/lib-doc-collab.tssrc/types/library.ts+src/types/workflow.tsLibraryScope,PackRef,SkillRef,SkillBundletypes; updated workflow unionsrc/lib/__tests__/