MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / mk

Function mk

test/skill-learning.test.ts:9–9  ·  view source on GitHub ↗
(fm: string)

Source from the content-addressed store, hash-verified

7
8describe('loader — provenance/status frontmatter parsing (protection data source)', () => {
9 const mk = (fm: string) => parseSkill(`---\nname: s\ndescription: d\n${fm}\n---\nbody`, 's', '/tmp/s', 'user');
10 it('absent provenance defaults to user (protected) and active', () => {
11 const s = mk('')!;
12 expect(s.provenance).toBe('user');

Callers 1

Calls 1

parseSkillFunction · 0.85

Tested by

no test coverage detected