MCPcopy Create free account
hub / github.com/SethGammon/Citadel / routeFor

Function routeFor

scripts/generate-routing.js:92–94  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

90 }
91
92 if (missing.length > 0) {
93 throw new Error(`skills missing trigger_keywords frontmatter: ${missing.join(', ')}`);
94 }
95
96 // Code-point comparison keeps the sort identical across machines and locales.
97 skills.sort((a, b) => (a.name < b.name ? -1 : a.name > b.name ? 1 : 0));

Callers 1

renderSkillTableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected