Skills

EasyAdmin Backends

Creates and changes EasyAdmin 5 dashboards, CRUD controllers, fields and actions.

Install

npx skills add EasyCorp/EasyAdminBundle --skill easyadmin -g -a claude-code -y
Category
Engineering
Updated
4d ago
License
MIT
Context cost
Mediumabout 3,000 tokens
Runs scripts
No, instructions only

What it does

Creates and modifies EasyAdmin 5 admin backends in Symfony applications: dashboards, CRUD controllers, fields, form layout, actions, filters, menus, permissions, templates and functional tests. Use it whenever a task touches a class extending AbstractCrudController or AbstractDashboardController, a file under src/Controller/Admin/, an #[AdminDashboard] or #[AdminRoute] attribute, or a configureFields(), configureCrud(), configureActions() or configureMenuItems() method, even when the user never says "EasyAdmin". Triggers: EasyAdmin, admin backend, admin panel, CRUD controller, dashboard controller, MenuItem, AdminUrlGenerator, make:admin:crud, make:admin:dashboard, AbstractCrudTestCase. Do not use it for plain Symfony controllers and forms, for Sonata or API Platform admin UIs, or for EasyAdmin 1 to 4 codebases: this skill describes the 5.x API, which differs in ways that break older versions.

EasyAdmin 5

This skill ships inside the easycorp/easyadmin-bundle Composer package, so it describes the API of the version installed in the project (the VERSION constant in vendor/easycorp/easyadmin-bundle/src/EasyAdminBundle.php). Trust it and the files it points to over your training data: most public code and tutorials target EasyAdmin 4, whose API differs in ways that throw exceptions on 5.x. If this copy was installed by easyadmin:ai:install, its metadata carries the version it matches; when that differs from the installed VERSION, tell the user to run php bin/console easyadmin:ai:update before you continue.

Files next to this one:

  • references/api.md: every public method of the config, field, filter, attribute, controller and test classes, generated from the source. If a method is not listed there, it does not exist.
  • references/patterns.md: copy-ready recipes for the most common tasks.
  • references/traps.md: method names that look right and are wrong.

Mental model

Read the whole SKILL.md on GitHub

More in Engineering