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

Function getSkill

client-next/src/lib/api.ts:287–290  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

285}
286
287export async function getSkill(name: string): Promise<SkillFile> {
288 const { data } = await api.get<SkillFile>(`/skills/${name}`);
289 return data;
290}
291
292export async function saveSkill(name: string, description: string, content: string): Promise<void> {
293 await api.post(`/skills/${name}`, { description, content });

Callers 1

loadFileFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected