I have a bunch of php packages I reuse across projects using composer. These are internal packages and not published with public documentation.
I want to include agent.md files for each of the packages to provide instructions on how the package can be used. This would keep the instructions correct for whatever version of the package is installed.
From what I’ve read, cursor will ignore folders like vendor/ or node_modules/ folders which makes sense. But according to everything I can find even if my projects agent.md file says “Use documentation out of /vendor/mypackages/*” that this is unreliable and cursor may not index it.
Cursor suggests that I negate the folder in .cursorindexingignore like !vendor/mypackages/but seems unsure if this solution is valid.
Instead it suggests I make a composer script to copy all my docs out of the vendor folder and I could run that on post-install-cmd to keep stuff in sync.
What’re people doing to provide cursor context to their internal private packages?