In Composer, I think it’s missing the feature to automatically include related files. This could be done by something like a small model that has access to the RAG index. It should work like this, or in any better way:
This is my suggestion: When a user sends a command, the small model checks the message and decides which files should be added to the context. Then it sends this information to a big model like Claude Sonnet 3.5 or any model the user chooses.
By doing this, the code quality will be much better.