Repository navigation
feat(skills): add shared editable skills with V2 bridge and GUI - #403
Merged
Merged
Conversation
Persist team skills in skills.db, expose CRUD + HTTP catalog, register them with OpenCode via ctx.skill.transform, and edit in the web UI with CodeMirror markdown preview. Refs: tickernelz#402
Drop the custom CodeMirror markdown editor so floating labels match existing memory dialogs and stop fighting hint/placeholder layout.
Direct /skills navigations were proxied to the OpenCode HTTP catalog instead of the SPA; keep catalog under /skills/ and the explorer at /skill-library.
…in SkillsView component
…ving skill ID and enhancing placeholders
…proved responsiveness and consistency
…cluding API endpoints for retrieval, creation, updating, and deletion
…content, improving user experience and interactivity
Write enabled skills to disk so Skill.Info.path is readable, and assert V2 registration/reload against a mock OpenCode skill editor.
…validate V2 registration with mock OpenCode skill editor
2 of 9 tasks
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.db), with CRUD API and optional HTTP catalog for OpenCodectx.skill.transformso agents can load them automatically/skill-library): search, create/edit (Markdown preview), enable/auto-invoke, sim fixturesCloses #402
Test plan
bun test tests/skills-api-handlers.test.ts tests/skills-manager.test.ts tests/v2-skills-bridge.test.tsbun run typecheckcd web && bun run checkcd web && bun run dev:sim→ Skills → CRUD, Markdown preview, delete stylingChecklist
main(do not open PRs from commits already onmain)bun testpasses (skills suite; or N/A)bun run typecheckpasses (or N/A)bun run checkpasses (web svelte-check; full repobun run checknot re-run here)