[WIP] Add AGENTS.md and CLAUDE.md agent-instruction files#3087
Conversation
Add a canonical AGENTS.md (read by Codex/Cursor/Gemini CLI/Aider) with build/test/format commands, repository layout, a high-level architecture overview, code conventions, type-stability rules, and contribution norms, seeded from docs/src/ and the review checklist. CLAUDE.md bridges Claude Code to it via the @AGENTS.md import plus Claude-specific notes. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Review checklistThis checklist is meant to assist creators of PRs (to let them know what reviewers will typically look for) and reviewers (to guide them in a structured review process). Items do not need to be checked explicitly for a PR to be eligible for merging. Purpose and scope
Code quality
Documentation
Testing
Performance
Verification
Created with ❤️ by the Trixi.jl community. |
JoshuaLampert
left a comment
There was a problem hiding this comment.
Good idea. Since I also just wrote a CLAUDE.md today for another project, I have a suggestion regarding how the agent should run julia code or tests.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3087 +/- ##
=======================================
Coverage 96.88% 96.88%
=======================================
Files 647 647
Lines 50026 50026
=======================================
Hits 48466 48466
Misses 1560 1560
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
JoshuaLampert
left a comment
There was a problem hiding this comment.
I made a few suggestions regarding how agents could effectively run julia code.
Co-authored-by: Joshua Lampert <51029046+JoshuaLampert@users.noreply.github.com>
Co-authored-by: Michael Schlottke-Lakemper <michael@sloede.com>
|
@JoshuaLampert @ranocha If the PR looks good from your side, how shall we proceed? I tested this locally once and it gave me some good first results on initial tests, but I feel like there's still some fine-tuning necessary. On the other hand, if it only lives in this PR, nobody is going to test drive it under real-world conditions. Maybe just merge and invite everyone who uses such tools to test the files and continue to refine them? |
Co-authored-by: Joshua Lampert <51029046+JoshuaLampert@users.noreply.github.com>
|
We discussed that it could help to switch to TestItems.jl instead of the normal test framework of Test.jl. This would have the advantage that each |
Let's move this - at least somewhat - orthogonal discussion to #3092? |
Shared agent-instruction files for AI coding tools.
AGENTS.md— canonical, cross-tool source of truth (Codex, Cursor, Gemini CLI, Aider, …). Summarizes build/test/format, layout, architecture, conventions, and contribution norms fromdocs/src/.CLAUDE.md— thin bridge for Claude Code via@AGENTS.mdimport (so/code-reviewinherits the same conventions).🤖 Generated with Claude Code