codeflash/.claude/rules/code-style.md
Kevin Turcios ee5871d3d3 feat: add modular Claude Code rules in .claude/rules/
Split monolithic CLAUDE.md instructions into focused, topic-specific
rule files. Path-scoped rules for source code and tests only load when
working with matching files.
2026-02-06 02:12:27 -05:00

472 B

Code Style

  • Line length: 120 characters
  • Python: 3.9+ syntax
  • Tooling: Ruff for linting/formatting, mypy strict mode, prek for pre-commit checks
  • Comments: Minimal - only explain "why", not "what"
  • Docstrings: Do not add unless explicitly requested
  • Naming: NEVER use leading underscores (_function_name) - Python has no true private functions, use public names
  • Paths: Always use absolute paths, handle encoding explicitly (UTF-8)