Skip to content

feature: added agent rules for clean jetbrains kotlin code#339

Open
adietish wants to merge 1 commit into
redhat-developer:mainfrom
adietish:clean_code_rules
Open

feature: added agent rules for clean jetbrains kotlin code#339
adietish wants to merge 1 commit into
redhat-developer:mainfrom
adietish:clean_code_rules

Conversation

@adietish

@adietish adietish commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

provides rules for clean kotlin/jetbrains plugin code when using claude code and cursor

@coderabbitai

coderabbitai Bot commented Jul 14, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

Adds a Kotlin and JetBrains plugin standards document, links Cursor to it through a symbolic link, and imports it into CLAUDE.md.

Changes

Kotlin development rules

Layer / File(s) Summary
Kotlin and plugin rule definitions
.claude/rules/jetbrains_kotlin.md, .claude/rules/jetbrains_kotlin.md2
Defines scoped Kotlin coding, JetBrains plugin architecture, error handling, documentation, UI copy, refactoring, and response-format rules.
Editor rule linking
.cursor/rules/jetbrains_kotlin.mdc
Replaces the Cursor rule content with a symbolic link to the shared Markdown rule.
Claude rule import
CLAUDE.md
Imports the shared Kotlin rule document into Claude configuration.

Estimated code review effort: 2 (Simple) | ~10 minutes

Suggested reviewers: azatsarynnyy, vrubezhny

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title matches the main change: adding JetBrains/Kotlin agent rules for clean code.
Description check ✅ Passed The description is directly related to the new Kotlin/JetBrains rules for Claude Code and Cursor.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@adietish
adietish force-pushed the clean_code_rules branch 2 times, most recently from b1bdea4 to 2f73069 Compare July 14, 2026 14:51
@codecov-commenter

codecov-commenter commented Jul 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 24.55%. Comparing base (71098f6) to head (9d2b139).
⚠️ Report is 388 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##            main     #339       +/-   ##
==========================================
+ Coverage   0.00%   24.55%   +24.55%     
==========================================
  Files          4      104      +100     
  Lines         26     4414     +4388     
  Branches       0      846      +846     
==========================================
+ Hits           0     1084     +1084     
- Misses        26     3156     +3130     
- Partials       0      174      +174     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Signed-off-by: Andre Dietisheim <adietish@redhat.com>
@adietish adietish changed the title feature: added rules for clean jetbrains kotlin code feature: added agent rules for clean jetbrains kotlin code Jul 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants