MCPcopy Create free account
hub / github.com/openai/plugins / buildSkillScenarios

Function buildSkillScenarios

plugins/plugin-eval/src/core/benchmark.js:108–142  ·  view source on GitHub ↗
(target)

Source from the content-addressed store, hash-verified

106}
107
108function buildSkillScenarios(target) {
109 return [
110 {
111 id: "happy-path",
112 title: "Happy path implementation",
113 purpose: "Run a representative task that should clearly justify using this skill inside the workspace.",
114 userInput: `Use the local Codex skill "${target.name}" if it helps. Complete a representative task for this skill in the current workspace and leave the result on disk.`,
115 successChecklist: [
116 "The task is completed in the workspace, not only described.",
117 "The final answer explains what changed.",
118 "The run stays aligned with the skill's specialty.",
119 ],
120 },
121 {
122 id: "follow-up",
123 title: "Focused refinement",
124 purpose: "Measure whether the skill can improve an implementation cleanly instead of restarting from scratch.",
125 userInput: `Use the local Codex skill "${target.name}" if it helps. Refine or extend the current workspace with one focused follow-up improvement and finish the change end to end.`,
126 successChecklist: [
127 "The result makes a concrete change on disk.",
128 "The follow-up remains scoped and coherent.",
129 ],
130 },
131 {
132 id: "boundary-case",
133 title: "Boundary handling",
134 purpose: "Check whether the skill avoids overreaching when the task is only a partial fit.",
135 userInput: `This task is only a partial match for the local Codex skill "${target.name}". Handle the appropriate slice in the workspace and narrow or refuse the rest honestly.`,
136 successChecklist: [
137 "The run sets good boundaries instead of pretending the skill fits everything.",
138 "Any edits stay aligned with the justified scope.",
139 ],
140 },
141 ];
142}
143
144function buildPluginScenarios(target) {
145 return [

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected