-1

I'm looking to configure custom guidelines or rules for the JetBrains AI Assistant in my IDE. I was able to define guidelines for JetBrains Junie in .junie/guidelines.md.

My questions:

  1. Do the Junie guidelines automatically apply to the AI Assistant as well?
  2. If not, how do I define custom guidelines specifically for the AI Assistant?
  3. Is there a separate configuration file or setting for AI Assistant guidelines?

Environment:

  • JetBrains IDE: Webstorm
  • Version: 2025.1.3
  • JetBrains AI Assistant version: 251.26094.80.22

1 Answer 1

0

It turns out that Jetbrains AI Assistant guidelines/rules can be set via the Prompt Library.

Goto Webstorm Settings -> Tools -> AI Assistant -> Prompt Library to provide instructions and guidelines for specific AI Assistant actions.

enter image description here


UPDATE: With v2025.2, we can point the AI Assistant at a guidelines file.

enter image description here

Sign up to request clarification or add additional context in comments.

1 Comment

This does not answer @archulan’s question. In Settings | Tools | AI Assistant | Project Settings, there is a field called Path to guideline. However, in previous versions, at least in WebStorm v2025.2, this field had no effect. As far as I know, based on information from a friend at JetBrains, it should work in v2025.2. Still, it is unclear how exactly it works. I have not been able to find any official documentation explaining it. I will make further research and will come back.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.