MCPcopy Create free account
hub / github.com/Microck/opencode-studio / saveSkill

Function saveSkill

client-next/src/lib/api.ts:292–294  ·  view source on GitHub ↗
(name: string, description: string, content: string)

Source from the content-addressed store, hash-verified

290}
291
292export async function saveSkill(name: string, description: string, content: string): Promise<void> {
293 await api.post(`/skills/${name}`, { description, content });
294}
295
296export async function deleteSkill(name: string): Promise<void> {
297 await api.delete(`/skills/${name}`);

Callers 4

handleImportFunction · 0.90
handleSubmitFunction · 0.90
handleSaveFunction · 0.90
handleConfirmFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected