Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

437 B
Raw Blame
// screenpipe — AI that knows everything you've seen, said, or heard
// https://screenpipe.com
import type { WorkflowSkillDraft } from "./model";

/** JSON strings are valid YAML scalars, including colons, quotes and newlines. */
export function skillMarkdown(draft: WorkflowSkillDraft): string {
  return `---\nname: ${JSON.stringify(draft.name)}\ndescription: ${JSON.stringify(draft.description)}\n---\n\n${draft.instructions}\n`;
}