MCPcopy Index your code
hub / github.com/coder/coder / validSkillMD

Function validSkillMD

coderd/x/chatd/chattool/skill_test.go:24–26  ·  view source on GitHub ↗

validSkillMD returns a valid SKILL.md with the given name and description.

(name, description string)

Source from the content-addressed store, hash-verified

22// validSkillMD returns a valid SKILL.md with the given name and
23// description.
24func validSkillMD(name, description string) string {
25 return "---\nname: " + name + "\ndescription: " + description + "\n---\n\n# Instructions\n\nDo the thing.\n"
26}
27
28func responseName(t *testing.T, resp fantasy.ToolResponse) string {
29 t.Helper()

Callers 2

TestLoadSkillBodyFunction · 0.85
TestReadSkillToolFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected