Skip to content

Instantly share code, notes, and snippets.

View raulp's full-sized avatar
🎯
Focusing

Raul raulp

🎯
Focusing
  • San Diego
  • 04:53 (UTC -08:00)
View GitHub Profile
@raulp
raulp / claude.md
Created August 8, 2025 15:49 — forked from DanielCoulbourne/claude.md
Claude

Style

  • Don't use too many comments unless there is something non-obvious going on.
  • In general, use DTOs over arrays of data when consuming data from APIs. Saloon has first-party support for casting responses to DTOs, if you need help understanding it, check their documentation.
  • When implementing DTOs, use the simplest approach that works - plain PHP objects are often sufficient.
  • Follow existing code formatting and naming conventions in the project.
  • Check if the project has a code formatter/linter and use it before submitting changes.

Acceptance criteria

  • If you are building a new feature or refactoring, be absolutely certain to run the tests before telling me you are done.
  • When the tests relating to your feature are passing, make sure to also run the entire test suite to ensure you didn't break other tests.