Add CLAUDE.md and consolidate AI agent conventions#168
Open
Conversation
Consolidate all project conventions, coding standards, build commands, workflow rules, and CI requirements into CLAUDE.md. Rewrite AGENTS.md as a thin redirect with a fallback summary so both Claude Code and Codex operate under identical rules from one source of truth.
Track .claude/commands/ in git so the team shares slash commands. Settings files remain gitignored (local-only). Commands: /check-ci, /test-all, /test-crate, /review-changes, /verify
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
CLAUDE.mdas the single source of truth for all AI agent conventionsAGENTS.mdas a thin redirect with fallback rules for Codex.claude/commands/(tracked in git).gitignoreto track.claude/commands/TODO.mdCloses #167
Changes
CLAUDE.mdAGENTS.mdCLAUDE.mdwith 9-rule fallback summary.claude/commands//check-ci,/test-all,/test-crate,/review-changes,/verify.gitignore.claude/commands/, keep settings gitignoredTODO.mdLocal-only (not in this PR)
.claude/settings.local.json— expanded permission allowlist and PostToolUse hook for autocargo fmtTest plan
CLAUDE.mdrenders correctly on GitHubAGENTS.mdfallback rules cover CI-critical conventions.claude/commands/