saoudrizwan / claude-dev

Autonomous coding agent right in your IDE, capable of creating/editing files, executing commands, and more with your permission every step of the way.
https://marketplace.visualstudio.com/items?itemName=saoudrizwan.claude-dev
MIT License
4.04k stars 381 forks source link

Feature Request: Custom instruction for entire project/file #128

Closed jegan221724 closed 1 week ago

jegan221724 commented 3 weeks ago

Thank you for the great extension. It works great and is helpful for a non-tech guy like me. Can custom instructions be included that Claude Dev can use throughout the project? This is in line with Claude's Project feature, where I can give custom instructions and Claude refers them throughout the project chats.

Use Case: Let's consider I'm trying to enhance the UI/UX of the web application I have built. Now, to achieve this task I have to give expectiation of mine in the prompt always and Claude Dev changes it in every file. After adding more screens, now again I have to do this. I feel more tokens are getting wasted because of this. But if I have a custom instruction set for my entire project, it will be easy for Claude dev to reuse/adopt to recent changes quickly than running through the entire code base.

Not sure how much of the expectation is possible. But itd be great if this is possible. Cheers :)

mkearl commented 3 weeks ago

When you first bring up the extension from the sidebar of tools you will see a gear icon in the upper right. There you can make settings changes and there is a custom instructions area there. Screenshot 2024-08-18 at 8 07 35 AM

jegan221724 commented 3 weeks ago

Great, i will play around with it. Thank you so much!

jegan221724 commented 3 weeks ago

I dont see any option to upload images for references. Does it not support uploading images/docs?

mkearl commented 3 weeks ago

[Where](Screenshot 2024-08-18 at 8 28 04 AM) you type in your prompt over to the right there is a camera button that allows you to attach an image.

jegan221724 commented 3 weeks ago

Yes, Im aware of this, but I was referring to the image in the custom instructions. Sorry for not being clear in my previous question. Appreciate your response!

jtac commented 3 weeks ago

out of curiosity, what kind of custom instruction would you want to do using an image?

jegan221724 commented 3 weeks ago

To use UI/UX screenshots as reference

saoudrizwan commented 1 week ago

It's not possible adding images to the system prompt. Maybe you can ask claude to give a detailed description of the images and add that to custom instructions?