Back to Skills

backend-developer

verified

Skill for PHP/Laravel backend development following project conventions. Use when creating or editing PHP code, models, services, controllers, tests, or any backend logic. Loads all backend rules from .claude/rules/backend/ and .claude/rules/dataclasses/.

View on GitHub

Marketplace

dev-agent-workflow

RasmusGodske/dev-agent-workflow

Plugin

project-roles

Repository

RasmusGodske/dev-agent-workflow

project-roles/skills/backend-developer/SKILL.md

Last Verified

January 20, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/RasmusGodske/dev-agent-workflow/blob/main/project-roles/skills/backend-developer/SKILL.md -a claude-code --skill backend-developer

Installation paths:

Claude
.claude/skills/backend-developer/
Powered by add-skill CLI

Instructions

# 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):**
1. Use Glob to find all files: `.claude/rules/backend/*.md`
2. Read each file to load conventions
3. Also read: `.claude/rules/dataclasses/laravel-data.md`

**Step 2 - Project-specific rules (if exists):**
1. Check if `.claude/project-rules/backend/` directory exists
2. If yes, use Glob to find all files: `.claude/project-rules/backend/*.md`
3. 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:

- **`laravel-data-writer`**: For detailed Data class patterns
- **`data-objects`**: For DataObject CRUD operations
- **`object-definitions`**: For ObjectDefinition schema operations
- **`multi-tenancy`**: For tenant isolation patterns
- **`php-test-writer`**: For comprehensive test creation

## Key Principle

**Rules are the source of truth.** This skill 

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
2228 chars