docs: Add cargo fmt reminder to CLAUDE.md#2738
Conversation
Add reminder to always run cargo fmt before committing Rust code changes. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
szokeasaurusrex
left a comment
There was a problem hiding this comment.
Looks okay for now, but long term, I would really like to avoid needing to maintain separate docs for each agent.
Fortunately, it looks like AGENTS.md will solve the problem. It is a new standard format for agent rules. Cursor already partially supports it, with full support (also with nested subdirectories) planned for the next minor release, 1.6. Claude Code unfortunately appears to lack support for AGENTS.md for now, though I guess they will probably add it at some point. And, in the meantime, we can import it into CLAUDE.md using the @AGENTS.md syntax or by creating a symbolic link.
I'll open an issue to migrate to AGENTS.md, but I think it makes sense to wait until Cursor supports it fully.
|
Agreed! It doesn’t make sense to maintain separate docs for each agent. |
Summary
Add reminder to always run
cargo fmtbefore committing Rust code changes for consistent formatting.🤖 Generated with Claude Code