We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff5669b commit 15e2945Copy full SHA for 15e2945
1 file changed
scripts/check-agent-instructions.mjs
@@ -132,6 +132,15 @@ for (const filePath of collectInstructionFiles(skillDirs)) {
132
}
133
134
135
+ if (path.basename(filePath) === 'SKILL.md' && path.dirname(filePath).startsWith(skillsRoot)) {
136
+ for (const match of reportMatches(text, /references\/[A-Za-z0-9._-]+\.md/g)) {
137
+ const referencePath = path.join(path.dirname(filePath), match[0]);
138
+ if (!exists(referencePath)) {
139
+ fail(`${rel}: ${match[0]} does not point to an existing reference file`);
140
+ }
141
142
143
+
144
for (const match of reportMatches(text, /`npm run ([A-Za-z0-9:_-]+)`/g)) {
145
const scriptName = match[1];
146
if (!packageScripts.has(scriptName)) {
0 commit comments