Jinal-Sarvaiya commented on code in PR #189: URL: https://github.com/apache/camel-kit/pull/189#discussion_r4616010444
########## docs/modules/ROOT/pages/architecture.adoc: ########## @@ -59,6 +58,45 @@ front matter against it. See xref:skills.adoc[], xref:mcp.adoc[], xref:knowledge.adoc[], xref:graph.adoc[] and xref:forage.adoc[] for each layer. +[[camel-yaml-guidance]] +=== Camel YAML DSL guidance + +The development snapshot includes fifteen Camel 4.22 YAML DSL rules in the generated agent instructions. These rules +cover placement and value types, `routeConfiguration`, HTTP and mail headers, dependency loading, and ActiveMQ +acknowledgement modes. The +https://github.com/apache/camel-kit/blob/main/kit/camel-kit-core/src/main/resources/templates/shared/agents-md.md#camel-422-rules[maintained +rule list] lives in the shared template and is copied into agent-specific templates during the build. + +**Coverage by agent:** + +* *Claude Code, Bob 2, Qwen, OpenCode*: Use the shared template (`templates/shared/agents-md.md`). These agents load +the rules from their entry file (`CLAUDE.md`, `AGENTS.md`, `QWEN.md`) immediately when the project is opened, before +any skill invocation. +* *Antigravity, Codex CLI, GitHub Copilot CLI, Pi*: Use agent-specific templates +(`templates/{antigravity,codex,copilot,pi}/agents-md.md`) that include the same rule set. Loading behavior varies: +** *Antigravity and Codex CLI*: Rules are available from `AGENTS.md` when the project is opened. +** *GitHub Copilot CLI*: Rules load from `.github/copilot-instructions.md` on first invocation or when the +instructions are refreshed. Review Comment: fixed: "Copilot discovers the fifteen rules in the repository-root AGENTS.md alongside its repository-wide .github/copilot-instructions.md" -- 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]
