Symfony Backend

Use when the user asks about Symfony, Doctrine ORM entities, Symfony Messenger, autowiring, security voters, Flex recipes or WebTestCase. Produces Symfony 7 services, entities and tests. Not for Laravel (use php-laravel) or Laminas (use php-zend).

45 stars 6 forksSoftware Development

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add j4flmao/agent-skills --skill symfony-backend
Manual install
git clone --depth 1 https://github.com/j4flmao/agent-skills.git /tmp/agent-skills
mkdir -p ~/.claude/skills
cp -r /tmp/agent-skills/skills/backend/php/symfony ~/.claude/skills/symfony-backend

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Symfony Backend

## Purpose
Define Symfony backend application architecture: service container, Doctrine ORM, Twig templating, Messenger queue processing, and Flex recipe management.

## Agent Protocol

### Trigger
User request includes: `symfony`, `symfony backend`, `symfony bundle`, `doctrine symfony`, `twig template`, `symfony flex`, `symfony messenger`, `php symfony`, `symfony service`.

### Input Context
- PHP version (8.1+)
- Symfony version (6.4+, 7.x)
- Database (Doctrine ORM, Doctrine MongoDB)
- Template engine (Twig)
- Queue (Messenger with Redis, Doctrine, AMQP)
- API format (REST, GraphQL with API Platform)

### Output Artifact
A markdown document containing:
- Project structure
- Service container autowiring conventions
- Doctrine entity and repository setup
- Controller conventions
- Twig template organization
- Messenger message/handler setup
- Event subscriber pattern
- Testing (PHPUnit, WebTestCase, Panther)

### Response Format
Produce the artifact directly. No preamble, no postamble, no explanations. No filler, no hedging. Compress output.

### Completion Criteria
- Services autowired via constructor injection
- Doctrine entities with proper mappings
- Messenger configured with transport and handlers
- Tests use Symfony WebTestCase
- Flex recipes drive package configuration

### Max Response Length
4096 tokens

## Workflow

### Step 1: Project Setup
Read the full skill on GitHub

Details

Skill name
symfony-backend
Path
skills/backend/php/symfony/SKILL.md
License
MIT
Repo updated
17 November 2026

FAQ

What does the Symfony Backend skill do?

Use when the user asks about Symfony, Doctrine ORM entities, Symfony Messenger, autowiring, security voters, Flex recipes or WebTestCase. Produces Symfony 7 services, entities and tests. Not for Laravel (use php-laravel) or Laminas (use php-zend).

How do I install the Symfony Backend skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add j4flmao/agent-skills --skill symfony-backend. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Symfony Backend popular?

It lives in j4flmao/agent-skills, which has 45 GitHub stars and 6 forks.

Related skills

Agent Observability

45

j4flmao/agent-skills

Use when the user asks about agent observability, tracing agent reasoning, debugging an agent loop, OpenTelemetry GenAI spans for LLM calls, LLM cost tracking per agent, agent audit logs or hallucination/eval monitoring in production. Produces instrumentation config, trace schema, dashboards, alerts and cost attribution. Not for generic service tracing without LLMs (use devops-opentelemetry).

DevOps & Cloud

AI Agent Architectures

45

j4flmao/agent-skills

Use when the user asks to build an AI agent, design an agent that calls tools and keeps memory, write an agent system prompt or pick an agent framework (Claude Agent SDK, OpenAI Agents SDK, LangGraph). Produces an architecture brief covering loop, tools, memory, guardrails and evals, routing depth to child skills. Not for workflow patterns (use ai-agentic-workflows).

AI, LLMs & Agents

AI Agent Core Loop

45

j4flmao/agent-skills

Use when the user asks about the agent loop, ReAct vs plan-and-solve, re-planning, Reflexion, an agent stuck in a loop, max iterations or termination conditions. Produces a loop spec or patch with state, success predicate, caps and no-progress detection. Not for overall agent design (use ai-agent-architectures) or tool schemas (use tool-calling-principles).

AI, LLMs & Agents

Tpu Systolic Arrays

45

j4flmao/agent-skills

Use when the user asks about TPUs, systolic arrays, the MXU, XLA on TPU, JAX TPU performance, Pallas kernels, TPU padding or recompilation. Produces shape, dtype and sharding rules plus JAX code and profiling steps. Not for NVIDIA GPU kernels (use cuda-programming) or GPU multi-node training (use distributed-training).

Software Development

Spring Boot Patterns

45

j4flmao/agent-skills

Use when the user asks about Spring Boot service layer and transaction boundaries, @Transactional, constructor injection, Spring AOP, Spring Security filter chain or @DataJpaTest/@WebMvcTest. Produces Spring Boot pattern code. Not for package layout (use spring-boot-architecture).

Software Development

Unity

45

j4flmao/agent-skills

Use when the user asks about Unity 6, MonoBehaviour, the player loop, URP, HDRP, Addressables, Netcode for GameObjects, Unity physics or Unity Profiler. Produces Unity project architecture, gameplay code and performance fixes. Not for DOTS, Entities and Burst in depth (use unity-csharp) or Unreal (use unreal).

Software Development

Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.