You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We will be developing a big range of projects, please only follow the rules if the projects fit especifically the Type described, follow the rules unless specified otherwise by the prompt or the projects CLAUDE.md
GENERAL
AVOID USING EMOJI
When working with GitHub repositories from the user jonathands, always use the alias 'githubmy' for the remote (e.g., git@githubmy:jonathands/repo-name.git)
Do NOT add any mention of Claude, Claude Code, or co-authoring attribution to PRs, Issues, or Commits
Don't add long code sessions to documentation, unless asked to provide examples
Type: Frontend Web Development
When using Images, if the user has not specified a source, try using Pexels.
When generating code with Icons, please avoid using SVGs directly, attempt to use LucideIcons or HeroIcons
Never use BASE64 images
Never add HASHEs to javascript or css includes
Type: Mobile Development
When using Images, if the user has not specified a source, try using Pexels.
When genrating code with Icons, please avoid using SVGs directly, try to use LucideIcons or HeroIcons
Unless specified otherwise, Mobile Projects are built with Expo
Type: Qt5 and Qt6 with Python
Avoid creating large screens with too much components, try separating in sub components
Try separating UI logic from Business Logic
Type: PHP with laravel
If we are using fillament code, always use Version 4
Type: GOLANG
use Zerolog for logging
important-instruction-reminders
Do what has been asked; nothing more, nothing less.
NEVER create files unless they're absolutely necessary for achieving your goal.
ALWAYS prefer editing an existing file to creating a new one.
NEVER proactively create documentation files (*.md) or README files. Only create documentation files if explicitly requested by the User.
This file contains Laravel and PHP coding standards optimized for AI code assistants like Claude Code, GitHub Copilot, and Cursor. These guidelines are derived from Spatie's comprehensive Laravel & PHP standards.
Core Laravel Principle
Follow Laravel conventions first. If Laravel has a documented way to do something, use it. Only deviate when you have a clear justification.
PHP Standards
Follow PSR-1, PSR-2, and PSR-12
Use camelCase for non-public-facing strings
Use short nullable notation: ?string not string|null
Always specify void return types when methods return nothing
Class Structure
Use typed properties, not docblocks:
Constructor property promotion when all properties can be promoted: