Skip to content

Commit 59decd7

Browse files
vogellaclaude
andcommitted
Update AGENTS.md to support multiple AI assistants
Update AGENTS.md title and add AI agent-specific sections for GitHub Copilot, Claude Code, and other AI assistants. Provides guidance on the strengths of each tool and how they should interact with the repository. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 68f00b2 commit 59decd7

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

AGENTS.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
# Eclipse Platform Repository - Copilot Instructions
1+
# Eclipse Platform Repository - AI Agent Instructions
2+
3+
This file provides guidance for AI coding assistants (GitHub Copilot, Claude Code, etc.) working with this repository.
24

35
## Repository Overview
46

@@ -250,3 +252,22 @@ Only search beyond these instructions if:
250252
- CI is failing with an error not covered here (check Jenkinsfile and workflow YAMLs)
251253

252254
**When in doubt:** Build at the bundle level with `-Pbuild-individual-bundles` profile and verify tests pass locally before pushing changes.
255+
256+
## AI Agent-Specific Notes
257+
258+
### For GitHub Copilot
259+
- This file is automatically read by GitHub Copilot when providing code suggestions
260+
- Copilot uses this context to understand the project structure and conventions
261+
- Copilot excels at inline code completion and small-scale refactoring
262+
263+
### For Claude Code
264+
- Claude Code has access to this file via the `CLAUDE.md` file in the repository root
265+
- Claude Code is better suited for multi-file refactoring and architectural changes
266+
- Use Claude Code for tasks requiring deep codebase understanding across multiple modules
267+
- Claude Code can execute builds and tests directly via Maven commands
268+
269+
### For Other AI Agents
270+
- Read this file to understand the repository structure and build requirements
271+
- Follow the coding conventions in `docs/Coding_Conventions.md`
272+
- Always test changes with `mvn clean verify -Pbuild-individual-bundles` before committing
273+
- Check API baseline with `-Papi-check` when modifying public APIs

0 commit comments

Comments
 (0)