Skip to content

Commit 7a6b966

Browse files
authored
Add skills UX, i18n rollout, and session hardening (#144)
* Add skills library and management workflows - Expose bundled skill catalog and install/import APIs - Add skills page, create dialog, and composer shortcuts - Wire slash commands to browse, create, install, and uninstall skills * Switch global skills to ~/.okcode with legacy fallback - Update skill creation and system docs to use ~/.okcode/skills - Preserve read compatibility with existing ~/.claude/skills installs - Add tests for skill precedence and bundled skill installation * Gate skill commands on all composer attachments - Treat image attachments as blocking skill-management command parsing - Keep terminal context gating unchanged
1 parent af8e99e commit 7a6b966

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

apps/server/src/skills/SkillService.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,10 @@ export const SkillServiceLive = Layer.succeed(SkillService, {
234234
input.name,
235235
input.description,
236236
input.scope,
237-
{ tags: input.tags, template: input.template },
237+
{
238+
...(input.tags ? { tags: input.tags } : {}),
239+
...(input.template ? { template: input.template } : {}),
240+
},
238241
input.cwd,
239242
),
240243
catch: (cause) =>

apps/web/src/components/ChatView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3027,7 +3027,7 @@ export default function ChatView({ threadId }: ChatViewProps) {
30273027
return;
30283028
}
30293029
const skillManagementCommand =
3030-
composerImagesForSend.length === 0 && sendableComposerTerminalContexts.length === 0
3030+
composerAttachmentsForSend.length === 0 && sendableComposerTerminalContexts.length === 0
30313031
? parseSkillManagementCommand(trimmed)
30323032
: null;
30333033
if (skillManagementCommand) {

0 commit comments

Comments
 (0)