Skip to content

refactor: restructure CLAUDE.md for effective context usage - #1486

Merged
KRRT7 merged 1 commit into
mainfrom
restructure-claude-md
Feb 14, 2026
Merged

refactor: restructure CLAUDE.md for effective context usage#1486
KRRT7 merged 1 commit into
mainfrom
restructure-claude-md

Conversation

@KRRT7

@KRRT7 KRRT7 commented Feb 14, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Remove commands block from CLAUDE.md (standard tool usage Claude already knows)
  • Remove dead @AGENTS.md reference
  • Add optimization pipeline overview and domain glossary to CLAUDE.md
  • Move tool workflows (mypy, prek) to on-demand skills
  • Add path-scoped rules for optimization pipeline and language support patterns
  • Remove redundancy across rules files
  • Add key entry points table to architecture.md

- Remove commands block from CLAUDE.md (standard tool usage Claude knows)
- Remove dead @AGENTS.md reference
- Add optimization pipeline overview with module pointers
- Add domain glossary (optimization candidate, addressable time, candidate
  forest, replay test, tracer, worktree mode)
- Extract mypy workflow to .claude/skills/fix-mypy.md (on-demand)
- Create .claude/skills/fix-prek.md for prek workflow (on-demand)
- Add key entry points table to architecture.md
- Create path-scoped rules: optimization-patterns.md, language-patterns.md
- Remove redundancy from source-code.md and across rules files
- Move "never use pip" convention to code-style.md
@KRRT7
KRRT7 merged commit 53f8658 into main Feb 14, 2026
24 of 26 checks passed
@KRRT7
KRRT7 deleted the restructure-claude-md branch February 14, 2026 22:38
@claude

claude Bot commented Feb 14, 2026

Copy link
Copy Markdown
Contributor

PR Review Summary

Prek Checks

Passed — No Python files changed; prek skipped Ruff checks (no files to check).

Code Review

No issues found — This is a documentation-only PR (9 markdown files). No code changes, no security concerns, no breaking API changes.

Changes verified:

  • All file paths referenced in architecture.md entry points table exist and are accurate
  • All patterns documented in language-patterns.md and optimization-patterns.md match actual codebase behavior (set_current_language, get_language_support, @register_language, __getattr__ lazy imports, is_javascript(), Result type, CandidateEvaluationContext, codeflash_capture)
  • conftest.py does use reset_current_language() autouse fixture as documented in testing.md
  • @AGENTS.md was a dead reference (file does not exist) — correctly removed
  • Skills (fix-mypy.md, fix-prek.md) accurately describe existing workflows

Test Coverage

⏭️ Not applicable — No Python source files were changed in this PR. All changes are to .md documentation files.


Last updated: 2026-02-14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant