Question about cursor skills in monorepo

Say I have a mono repo with folders:

root:

– frontend

– backend
– …others

I want to have skills for frontend, and skills for backend be in their respective folders so they’re opened when in those files’s context, however I notice that if I open cursor at the root folder (which I often do) it won’t recognize skills in frontend directory or backend directory.

Should the practice be to put skills all in root? (doesn’t feel like it makes sense).
Is there a way around this?

1 Like

It should read skills from your frontend directory even though you are running cursor from the root. You say “t won’t recognize skills in frontend directory or backend directory”, im assuming you are not seeing any UI from cursor that shows its using those skills - maybe its a flaw.

Can you try making a change in one of your frontend files via a prompt and see if it follows your frontend rules?

We have similar problem, and I tried that when the skills are placed under subdirectories/.cursor/skills, then:

  1. skill do not show up in cursor skill setting UI
  2. skill is not used actually - we had custom commands to run test and when open cursor from the sub-directory, test ran correctly; when open from root, cursor not able to run test correctly ← skill not applied.
1 Like

+1 FYI this has been discussed here too Proposal: add path-based, recursive skill discovery · Issue #115 · agentskills/agentskills · GitHub

2 Likes

Cursor currently doesn’t support Skills outside the root .cursor/skills directory (unlike Rules). I’ve moved this post to the Feedback section.

If your goal is purely organizational, you could use symlinks or organize within the root .cursor/skills directory itself (nested subfolders are supported).

However, this wouldn’t address concerns about progressive disclosure.