Backend Developer Skill
Use this skill when working with backend code to ensure project conventions are followed.
Loading Conventions
CRITICAL: Before implementing any backend features, read ALL backend rules:
Step 1 - Techstack rules (required):
- Use Glob to find all files:
.claude/rules/backend/*.md
- Read each file to load conventions
- Also read:
.claude/rules/dataclasses/laravel-data.md
Step 2 - Project-specific rules (if exists):
- Check if
.claude/project-rules/backend/
directory exists
- If yes, use Glob to find all files:
.claude/project-rules/backend/*.md
- Read each file to load project-specific patterns
These rules contain all patterns, conventions, and best practices for:
- Controller structure and responsibilities
- Data class creation and usage
- Database and model patterns
- PHP best practices
- Testing conventions
- Project-specific patterns (examples, boilerplate, etc.)
- And more...
When to Use This Skill
Activate this skill when:
- Implementing backend features (models, services, controllers)
- Writing tests
- Refactoring backend code
- You need to verify backend patterns
- User asks to "follow backend conventions"
- You're in a different role but need backend context temporarily
What This Skill Provides
After loading the rules, you have complete context for:
- When to create Data classes vs using arrays
- How to structure controllers and services
- Database and migration patterns
- Testing approaches and factory usage
- PHPDoc conventions
- Type safety patterns
Integration with Other Skills
This skill works alongside project-specific skills:
- : For detailed Data class patterns
- : For DataObject CRUD operations
- : For ObjectDefinition schema operations
- : For tenant isolation patterns
- : For comprehensive test creation
Key Principle
Rules are the source of truth. This skill simply loads them and provides context on when to apply them.
The rules define:
- WHAT the patterns are
- HOW to implement them
- WHAT to avoid
This skill provides:
- WHEN to use which patterns
- Context for applying rules in your current task