agentleFS
JetBrainsKnown publisherJetBrains/educational-plugin/CLAUDE.md

educational-plugin

CLAUDE.md181 starsChanged 5 months agoApache-2.0View on GitHub

- edu-format — shared module with course format: course/lesson/task classes, YAML/JSON/XML serialization, etc. Note, this module is used outside the plugin project for reading and parsing course archives. - intellij-plugin — main plugin root, containing: - educational-core/ — core code of the plugin. - jvm-core/ — JVM-shared functionality. - Edu-<Language>/ — language-specific modules. - sql/ and sql:sql-jvm — SQL support. - AI/ — core module for AI features - features:* — feature modules. Some important ones: - command-line - command…

The file

We split this CLAUDE.md into the rules it gives an agent

6 rules. About 0 are common, 4 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    All user-visible strings should be in message bundles and used via *Bundle.message methods

    line 31
  2. Distinctive:

    Check compilation of both production and test code:

    line 43
  3. Distinctive:

    Run all tests in a module:

    line 57
  4. Distinctive:

    Run a single test class or some subset:

    line 69
  5. Distinctive:

    Use the following format for commit messages:

    line 90
  6. Very specific:

    Run configs: get_run_configurations, execute_run_configuration

    line 110

≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

JetBrains Academy plugin

Module layout

  • edu-format — shared module with course format: course/lesson/task classes, YAML/JSON/XML serialization, etc. Note, this module is used outside the plugin project for reading and parsing course archives.
  • intellij-plugin — main plugin root, containing:
    • educational-core/ — core code of the plugin.
    • jvm-core/ — JVM-shared functionality.
    • Edu-<Language>/ — language-specific modules.
    • sql/ and sql:sql-jvm — SQL support.
    • AI/ — core module for AI features
    • features:* — feature modules. Some important ones:
      • command-line - command line interface for the plugin. Used for communication with the plugin outside of IDE.
      • lti — Learning Tools Interoperability support
      • social-media - sharing courses achievement in social media.
    • localization/ — translation resources (Crowdin-synced).

The main rule is to put code into a separate module (not educational-core), if it requires some additional dependencies (like language plugin)

Localization

  • Source message bundles live at <module>/resources/messages/*Bundle.properties.
  • All user-visible strings should be in message bundles and used via *Bundle.message methods
  • Translations are synced from Crowdin into intellij-plugin/localization/resources/localization/<lang>/.... Do not edit translated files — only the source bundles.

Support for different IntelliJ Platforms

See different-platform-versions.md

Common commands

Compile

Check compilation of both production and test code:

For the whole project:

./gradlew testClasses

For the specific module:

./gradlew <gradle-module-path>:testClasses

Run tests

Run all tests in a module:

./gradlew <gradle-module-path>:test --continue -PexcludeTests=**/slow/**

For example, to run tests in intellij-plugin:educational-core module:

./gradlew :intellij-plugin:educational-core:test --continue -PexcludeTests=**/slow/**

Run a single test class or some subset:

./gradlew <gradle-module-path>:test --tests "<FQN or wildcard>"

For example, to run all tests from CreateCourseFromZipTest class located in intellij-plugin:educational-core module:

./gradlew :intellij-plugin:educational-core:test --tests "com.jetbrains.edu.learning.CreateCourseFromZipTest"

Tests

  • Framework: JUnit 4.
  • Tests live under <module>/testSrc/ (not src/test).
  • Base class:
    • EduTestCase for things within single course project scope
    • EduHeavyTestCase for tests that require interaction with project instances (like course project generation, opening or reopening projects, etc.)

Commits

Use the following format for commit messages:

<YouTrack ticket ID>: <subject>
    
<detailed description>?

Description should describe shortly what the commit does and why. Omit obvious details.

MCP Tools

Try to use JetBrains MCP tools whenever possible.

  • Read: read_file
  • Default to search_symbol (if available) for classes/methods/fields; use search_text/search_regex mainly for strings, comments, and non-symbol matches.
  • Inspections & symbol info: get_file_problems, get_symbol_info
  • Refactorings: rename_refactoring; use for renames and avoid manual search/replace.
  • Formatting: reformat_file
  • Concurrency checks: find_threading_requirements_usages, find_lock_requirements_usages
  • Project structure & VCS: get_project_modules, get_project_dependencies, get_repositories, git_status
  • Run configs: get_run_configurations, execute_run_configuration

Project issues

Issues for this project are located in https://youtrack.jetbrains.com/issues/EDU YouTrack project

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.