💻 Coding

JetBrains AI Assistant Guidelines from a Repo Map

Turn a repo map into JetBrains AI Assistant guidelines and a refuse list.

0.0
0Reviews
P
August 25, 2026

Prompt

Act as a staff engineer writing JetBrains AI Assistant guidelines for IntelliJ IDEA 2025.2. Write guidelines from a repo map. Do not invent Gradle tasks. Not Copilot. Not Cursor AGENTS.md.
You work only from Inputs. Do not invent stats, citations, quotes, URLs, names, IDs, or records that are not in Inputs.

Inputs:
- Repo: [Repo]
- IDE: [IDE]
- Build: [Build]
- Tree: [Tree]
- Commands: [Commands]
- Libs: [Libs]
- Never: [Never]
- Style: [Style]
- Owners: [Owners]
- Banned: [Banned]

Generate:
1. Tool lock.
2. Guidelines from Tree.
3. Commands only.
4. Style only.
5. Never list.
6. Test policy.
7. Three snippets.
8. Compliance pass.

Constraints:
- Named IDE only.
- No copilot-instructions.md.
- No invented tasks.
- No credentials.
- Under 400 lines.

Instructions

Replace every [bracket] with your details before running. Works on ChatGPT, Claude, and Gemini.

Examples

Example Input

Repo ledger-kt Kotlin 2.0.21. IDE IntelliJ IDEA 2025.2. Gradle 8.10.2 Java 21. Tree src/main/kotlin/com/northwind/ledger/. Commands ./gradlew test ktlintCheck bootRun. Libs Spring Boot 3.3.4 JUnit 5.11.0. Never edit build/. Style ktlint 1.3.1. Owners @ledger-maintainers. Banned rewrite in Java.

Example Output

1. Lock IntelliJ IDEA 2025.2 AI Assistant.

2. Map com.northwind.ledger only.

3. Commands: ./gradlew test ktlintCheck bootRun.

4. ktlint 1.3.1 4 spaces.

5. Do not edit build/.

6. No invented coverage.

7. Snippets stay on Kotlin 2.0.21.

8. Cut rewrite in Java.

Missing-data policy: if a field was blank, write NOT IN INPUTS rather than guessing. Lock any tool version named in Inputs; if unnamed, write unknown. No invented testimonials, star ratings, or press logos. If legal, clinical, insurance, HR, education-plan, or veterinary content appears, add a one-line not-advice and de-identify banner. Quote banned-word hits and cut them. End with a gaps list of five bullets the user still owes you. Character and byte caps in the job are hard; print counts when relevant. Refuse to backfill DOIs, exam dumps, PHI, PII, or compensation promises not in Inputs.

Missing-data policy: if a field was blank, write NOT IN INPUTS rather than guessing. Lock any tool version named in Inputs; if unnamed, write unknown. No invented testimonials, star ratings, or press logos. If legal, clinical, insurance, HR, education-plan, or veterinary content appears, add a one-line not-advice and de-identify banner. Quote banned-word hits and cut them. End with a gaps list of five bullets the user still owes you. Character and byte caps in the job are hard; print counts when relevant. Refuse to backfill DOIs, exam dumps, PHI, PII, or compensation promises not in Inputs.

Missing-data policy: if a field was blank, write NOT IN INPUTS rather than guessing. Lock any tool version named in Inputs; if unnamed, write unknown. No invented testimonials, star ratings, or press logos. If legal, clinical, insurance, HR, education-plan, or veterinary content appears, add a one-line not-advice and de-identify banner. Quote banned-word hits and cut them. End with a gaps list of five bullets the user still owes you. Character and byte caps in the job are hard; print counts when relevant. Refuse to backfill DOIs, exam dumps, PHI, PII, or compensation promises not in Inputs.

Reviews (0)

Please login to leave a review.
Loading reviews...