Functions

checkSkillContract

Function: checkSkillContract()

checkSkillContract(skill, knownToolNames?): GraphProblem[]

Defined in: src/lib/injection-engine/skillContract.ts:41

Check ONE skill's body against its tool contract. Pure + side-effect-free.

Parameters

skill

Injection

the skill to check

knownToolNames?

ReadonlySet<string>

every tool name reachable in the wider graph/agent (lets the check tell a cross-skill HANDOFF from a typo). Omit to check a skill in isolation (only its own tools are "known").

Returns

GraphProblem[]

On this page