Cursor has replaced globs with paths
Both Cursor and Claude Code can limit a skill to certain files, so it applies only when you work on, say, .tsx files. Cursor used to call that field globs and now calls it paths.
Cursor still reads globs as a fallback for older skills. Claude Code reads only paths, so a skill that uses globs isn't limited to those files there.
"The legacy globs field is still accepted as a fallback for older skills, but new skills should use paths."
"alwaysApply and globs are forbidden skill fields."
Rename the field to paths
Rename the field. The value keeps the same pattern syntax.
This fails:
globs: "**/*.tsx"This passes:
paths: "**/*.tsx"