Repository navigation
feat(ui): assistant skills in Settings and proposed-skill cards in chat - #102
Merged
Merged
Conversation
…s in chat Settings → Assistant → Skills lists workspace and team skills with scope, status, version, pending draft, author and update time, filtered by scope. Owners and admins create, edit (Markdown with preview), save drafts, switch, review a draft's line diff and activate, restore versions and delete; members read. Chat renders propose_skill results as a draft card that deep-links to the skill and load_skill calls as one line. Strings in en, it, zh-CN, zh-TW.
carbogninalberto
force-pushed
the
carbninai/r10-s7-skills-ui
branch
from
October 29, 2026 13:34
b8f6982 to
895a89f
Compare
carbogninalberto
marked this pull request as ready for review
October 29, 2026 13:34
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
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.
Problem
Round 10 S7 (plan 2B, UI part). PR #100 added workspace skills to the backend (
/assistant-skills,load_skill,propose_skill), but Settings → Assistant still had a disabled Skills tab placeholder, and chat showed proposed and loaded skills only as raw tool JSON.Stacked: this branch is based on
carbninai/r10-s6-skills, so until #98 and #100 merge the diff also contains S4 and S6. This PR's own change is the last commit only.Change
?tab=skills,&skill=<id>deep-links one skill):listTeams, so private teams appear only if the user can see them.Markdownrenderer. Saves are "Save as draft" or "Save and apply" for an active skill, and "Save draft" for a draft skill.ConfirmDialog.ToolCalls.svelte):propose_skillcall renders asProposedSkillCard: name, description, full body through the sanitizing renderer (no images), a "Draft — not active until activated" badge, the draft and active version, and "Review in Settings" deep-linking to the skill. Theskill_idmust be a UUID.load_skillcall renders as one "Used skill X" line.skill-diff.tsis a small LCS line diff. Above 4M line pairs it falls back to "all removed, then all added".No migration and no backend change.
Verification
npm run check: 0 errors. The 1 warning is pre-existing, in[workspaceSlug]/+layout.svelte.npm run test:unit: 110 passed, including the 4 newskill-difftests.--workers=1onassistant-skills.test.ts,assistant-settings.test.tsandassistant.test.ts: 36 passed. The new tests cover:propose_skillcard (sanitized body, deep link) and theload_skillline.node AGENTS/TOOLS/check-harness.mjspassed;git diff --checkis clean.Limits