chore(claude): refactor CLAUDE.md into .claude/ structure#6
Merged
Conversation
Python conventions extracted from CLAUDE.md: runtime, async/httpx, typing, ruff, Rich output, model resolution, credentials, Rust fallback. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Rust conventions extracted from CLAUDE.md: clippy, crate-type, PYO3_BUILD_EXTENSION_MODULE, cargo test, versioning, scope. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Testing conventions extracted from CLAUDE.md: pytest structure, credential mocking, cargo test setup, CI integration. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Git discipline extracted from CLAUDE.md: branch naming, conventional commits, PR workflow, versioning, hard stops / BLOCKED.md protocol. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Permit uv, cargo, maturin, pytest, ruff, git, gh commands. Includes \$schema for validation. Deny list is empty (global rules apply). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Remove coding/git/testing conventions (moved to .claude/rules/). Keep: build commands, architecture decisions, subcommand status, sprint state, and what-not-to-touch. Adds pointer to rules/ files. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.mdinto a proper.claude/directory structure following Claude Code conventionsCLAUDE.md(78 lines) keeps only: build/test/lint commands, architecture decisions, subcommand status, sprint state, and what-not-to-touch.claude/rules/python.md— Python conventions, async/httpx, typing, Rich, model resolution.claude/rules/rust.md— PyO3/maturin, clippy, cargo test withPYO3_BUILD_EXTENSION_MODULE=1.claude/rules/testing.md— pytest structure, cargo test, credential mocking.claude/rules/git.md— branch naming, conventional commits, PR workflow, hard stops.claude/settings.jsonwith project-specific allow list (uv, cargo, maturin, pytest, ruff, git, gh)Test plan
CLAUDE.mdwas lostCLAUDE.mdis 78 lines (under 100)settings.jsonvalidates as valid JSON🤖 Generated with Claude Code