MCPcopy
hub / github.com/ModelEngine-Group/nexent / extractFromMd

Function extractFromMd

frontend/lib/skillFileUtils.tsx:171–174  ·  view source on GitHub ↗
(file: File)

Source from the content-addressed store, hash-verified

169 * Extract skill name and description from a SKILL.md file.
170 */
171const extractFromMd = async (file: File): Promise<SkillInfo | null> => {
172 const content = await file.text();
173 return extractFromContent(content);
174};
175
176/**
177 * Extract skill name and description from a ZIP file by looking for SKILL.md inside.

Callers 1

extractSkillInfoFunction · 0.85

Calls 2

extractFromContentFunction · 0.85
textMethod · 0.80

Tested by

no test coverage detected