Skip to content

Add AGENTS.md coding guide for AI agents #2921

@vaibhavk1992

Description

@vaibhavk1992

Search before asking

  • I searched in the issues and found nothing similar.

Description

Description

I would like to contribute an AGENTS.md file that documents Apache Fluss
coding conventions, patterns, and standards specifically for AI coding
agents.

Motivation

AI coding assistants (like Claude Code, GitHub Copilot, etc.) can provide
better suggestions when they have project-specific context. This guide
helps AI agents understand:

  • Critical rules enforced by Checkstyle
  • API design patterns (builders, factories, interface segregation)
  • Testing conventions (JUnit 5, AssertJ)
  • Module boundaries and dependencies
  • Configuration patterns

Approach

The documentation extracts patterns from the existing codebase:

  • Critical rules from tools/maven/checkstyle.xml
  • Code patterns from production code
  • Testing patterns from test utilities
  • All examples are real code from Apache Fluss

Willingness to contribute

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions