k-krawczyk opened a new pull request, #24063:
URL: https://github.com/apache/camel/pull/24063

   ### CAMEL-23702
   
   The project generated by the Camel CLI (`camel export`) provided little 
context for users bootstrapping with coding assistants, which increases effort 
and the chance of hallucinations.
   
   #### Changes
   - Added a **"For AI coding assistants"** section to the generated 
`readme.md` (both the JVM `readme.md.ftl` and the Quarkus native 
`readme.native.md.ftl` templates). It points at:
     - the Apache Camel LLM index https://camel.apache.org/llms.txt as the 
starting point,
     - the convention that any documentation page is available as Markdown by 
replacing `.html` with `.md`,
     - the Camel CLI and Camel MCP server for looking up components, options 
and the catalog instead of guessing endpoint URIs.
   - Added a new `agents.md.ftl` template and generate an **`AGENTS.md`** file 
at the exported project root (`Export#copyAgents`, invoked for all runtimes 
including the Quarkus override). It gives coding agents a concise "start here", 
project layout, and build/run guidance.
   
   #### Testing
   `mvn test -pl dsl/camel-jbang/camel-jbang-core`:
   - `TemplateHelperTest` (24) — templates render with no unresolved 
interpolations and contain the llms.txt link; new `testAgentsTemplate`.
   - `ExportTest#shouldGenerateContent` / `shouldGenerateJavaContent` (6) — 
`AGENTS.md` is generated for Camel Main, Spring Boot and Quarkus exports.
   
   Relates to CAMEL-23701 (archetypes) and CAMEL-23700 (website agents.md / 
llms.txt).
   
   _Reported by Claude Code on behalf of Karol Krawczyk_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to