Skip to content

CAMEL-23823: add AGENTS.md to guide AI agents contributing examples#186

Merged
Croway merged 1 commit into
apache:mainfrom
k-krawczyk:CAMEL-23823-agents-md
Jun 24, 2026
Merged

CAMEL-23823: add AGENTS.md to guide AI agents contributing examples#186
Croway merged 1 commit into
apache:mainfrom
k-krawczyk:CAMEL-23823-agents-md

Conversation

@k-krawczyk

Copy link
Copy Markdown
Contributor

Description

Resolves part of CAMEL-23823add AGENTS.md to examples repos also. The main apache/camel repo already ships an AGENTS.md; this adds an equivalent, tailored guide to the examples repositories so AI agents know how to contribute examples here.

What it contains

A new top-level AGENTS.md with:

  • Rules of Engagement — the essentials carried over from the canonical apache/camel AGENTS.md: AI attribution, JIRA ticket ownership (Unassigned only, assign + In Progress), one-example-per-PR / PR volume, fork-based branches named with the JIRA id, green-CI requirement, and human-approval-before-merge.
  • Repo specifics — the Maven module layout, registering a new module in the root pom.xml, Spring Boot starter usage and BOM-managed versions, @CamelSpringBootTest (camel-test-spring-junit6) tests.
  • Build / run / validate — exact ./mvnw and mvn spring-boot:run commands; how CI builds and tests on Java 21.
  • Conventions — Maven coordinates (camel-example-spring-boot-<name>), Java naming, license headers, README structure.
  • Adding a new example — a step-by-step checklist.

Content was derived by inspecting this repository's current structure, representative example modules, the root/parent pom.xml, and CI workflows. Happy to adjust tone, depth, or any specifics to match maintainer preference.

Reported and implemented by Claude Code on behalf of Karol Krawczyk.

🤖 Generated with Claude Code

Adds an AGENTS.md with guidance for AI agents working in this repository:
the shared Apache Camel rules of engagement (attribution, JIRA ticket
ownership, one-example-per-PR, fork-based branches, green CI) plus the
specifics of this repo - the Maven module layout and root pom registration,
Spring Boot starter usage, @CamelSpringBootTest tests, conventions and a
checklist for adding a new example. Complements the canonical apache/camel
AGENTS.md.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@k-krawczyk k-krawczyk force-pushed the CAMEL-23823-agents-md branch from 866c1a9 to a72c944 Compare June 24, 2026 15:32
@Croway Croway merged commit e0dcb47 into apache:main Jun 24, 2026
1 check passed
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