agentleFS
MongoDBKnown publishermongodb/mongo-java-driver/buildSrc/AGENTS.md

mongo-java-driver / buildSrc

AGENTS.md2.7k starsChanged 7 months agoApache-2.0View on GitHub

Gradle build infrastructure providing convention plugins and shared configuration for all modules. - src/main/kotlin/conventions/ — Convention plugins applied by modules (formatting, testing, publishing, static analysis) - src/main/kotlin/project/ — Base project plugins for Java, Kotlin, and Scala modules - src/main/kotlin/ProjectExtensions.kt — Shared Gradle extension utilities After modifying buildSrc, run the sync-agents-docs skill to update AGENTS.md files and skills that may be affected.

Trending

Quiet since September.about the whole repository

Dec 2025: 2 mentionsJan 2026: 0 mentionsFeb 2026: 2 mentionsMar 2026: 2 mentionsApr 2026: 0 mentionsMay 2026: 4 mentionsJun 2026: 4 mentionsJul 2026: 6 mentionsAug 2026: 2 mentionsSep 2026: 6 mentionsOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the mongodb/mongo-java-driver repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about mongodb/mongo-java-driver

The biggest 5 of 43 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 43

Talked about on GitHub and Hacker News (43 times).

On GitHub · 39

34 more on GitHub

On Hacker News · 4

The file

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

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

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

    After modifying buildSrc, run the sync-agents-docs skill to update AGENTS.md files and skills that may be affected.

    line 53

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.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
AGENTS.md

AGENTS.md - buildSrc

Gradle build infrastructure providing convention plugins and shared configuration for all modules.

Key Directories

  • src/main/kotlin/conventions/ — Convention plugins applied by modules (formatting, testing, publishing, static analysis)
  • src/main/kotlin/project/ — Base project plugins for Java, Kotlin, and Scala modules
  • src/main/kotlin/ProjectExtensions.kt — Shared Gradle extension utilities

Convention Plugins

PluginPurpose
spotlessCode formatting (Kotlin: ktfmt dropbox, max 120; Scala: scalafmt; KotlinGradle: ktfmt; XML/YML/MD: whitespace). Note: Java uses Palantir Java Format via Checkstyle, not Spotless
codenarcGroovy static analysis
detektKotlin static analysis
spotbugsJava bug detection
bndOSGi bundle metadata
dokkaKotlin documentation generation
javadocJava documentation generation
scaladocScala documentation generation
publishingMaven Central publishing configuration
git-versionVersion derivation from git tags
optionalOptional dependency support (optionalImplementation)
testing-baseShared test configuration
testing-integrationIntegration test source set and tasks
testing-junitJUnit 5 test setup
testing-junit-vintageJUnit 4 compatibility
testing-spockSpock framework setup
testing-spock-exclude-slowSpock with slow test exclusion
testing-mockitoMockito setup
test-artifactsTest artifact sharing between modules
test-artifacts-runtime-dependenciesRuntime dependency sharing for tests
test-include-optionalsInclude optional dependencies in tests

Project Plugins

PluginPurpose
project/baseCommon settings for all modules
project/javaJava module conventions (source compatibility, checkstyle)
project/kotlinKotlin module conventions
project/scalaScala module conventions (multi-version support)

Notes

  • Formatting: ktfmt dropbox style, max width 120 (for buildSrc’s own code)
  • check depends on spotlessCheck in buildSrc itself
  • Java toolchain is set to Java 17

After modifying buildSrc, run the sync-agents-docs skill to update AGENTS.md files and skills that may be affected.

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.