MCPInstall

superpowers-symfony

88 skills from dev-toolings/superpowers-symfony

Install every skill in this repository:

npx skills add https://github.com/dev-toolings/superpowers-symfony
  1. 1

    Master Symfony Dependency Injection with autowiring,

  2. 2

    Refactor fat controllers into lean ones by extracting business logic to services, handlers, and invokable commands

  3. 3

    Create and manage Doctrine migrations (lib 4.x) for schema versioning; handle dependencies, rollbacks, and production deployment

  4. 4

    Apply RED-GREEN-REFACTOR with PHPUnit 10/11 for Symfony; KernelTestCase/WebTestCase, attributes ([Test]/[DataProvider]), Foundry

  5. 5

    Run code quality tools: PHP-CS-Fixer for style, PHPStan for static analysis, and type safety checks

  6. 6

    Define Doctrine entity relationships (OneToMany, ManyToMany, ManyToOne); configure cascade, orphan removal, multiple entity managers; prevent N+1 queries

    612
  7. 7

    Verify Symfony project configuration including .env, services.yaml, doctrine settings, and framework requirements

    598
  8. 8

    Implement CQRS in Symfony with separate Command and Query buses/handlers using the Messenger component

  9. 9

    Async message handling with Symfony Messenger; configure transports (RabbitMQ, Redis, Doctrine); implement handlers, middleware, and retry strategies

  10. 10

    Build reusable UI components with Symfony UX Twig Components (props, slots, anonymous components, CVA) for clean templates

  11. 11

    Entry point for Symfony Superpowers - lightweight workflow guidance and command map

  12. 12

    Provide effective context to Claude for Symfony development with relevant files, patterns, and constraints

    554
  13. 13

    Handle Doctrine transactions (ORM 3 wrapInTransaction), optimistic/pessimistic locking, flush strategies, and transaction boundaries

    550
  14. 14

    Write functional tests for Symfony controllers and HTTP endpoints using WebTestCase, getContainer, loginUser, and DAMA rollback

  15. 15

    Manage Symfony configuration with .env files, parameters, secrets vault, and environment-specific settings

  16. 16

    Implement caching with the Symfony Cache component; configure pools, use tags for invalidation, prevent stampede

  17. 17

    Implement granular authorization with Symfony Voters; decouple permission logic from controllers; test authorization separately

  18. 18

    Secure API Platform resources with security expressions, voters, securityPostValidation, and operation-level access control

  19. 19

    Design Value Objects for domain concepts and DTOs for data transfer with proper immutability (readonly) and validation

    530
  20. 20

    Optimize Doctrine fetching with DTO hydration (SELECT NEW; partial removed in ORM 3), lazy loading, query hints, and DBAL 4 access

    526
  21. 21

    Master API Platform v4 State Providers and Processors (ProviderInterface/ProcessorInterface) to decouple data retrieval and persistence from entities

  22. 22

    Methodically execute implementation plans with a TDD approach, incremental commits, and continuous validation

  23. 23

    Implement Hexagonal Architecture (Ports and Adapters) in Symfony; separate domain logic from infrastructure with clear boundaries

  24. 24

    Map entities to API DTOs in API Platform v4 with the Symfony Object Mapper ([Map], stateOptions) for decoupled input/output contracts

  25. 25

    Process large datasets with Doctrine (ORM 3 toIterable, flush+clear, bulk DQL) and memory management

    521
  26. 26

    Create test data with Zenstruck Foundry v2 factories (PersistentObjectFactory, real objects); define states, sequences, and relationships

  27. 27

    Implement API Platform filters - v4 Parameters API (QueryParameter) and legacy

  28. 28

    Structured brainstorming for Symfony projects - explore requirements, identify components, and plan architecture collaboratively

  29. 29

    Test API Platform resources with ApiTestCase; assert collections, items, filters, JSON schema, and authentication

  30. 30

    Configure API Platform v4 resources with explicit operations, pagination, and typed OpenAPI for clean, versioned REST/GraphQL APIs

  31. 31

    Implement the Strategy pattern with Symfony's tagged services for runtime algorithm selection and extensibility

    505
  32. 32

    Handle message failures with retry strategies, failure transport, and recovery in Symfony Messenger (Recoverable/Unrecoverable exceptions)

    499
  33. 33

    Create test doubles with PHPUnit mocks for isolated unit testing in Symfony

  34. 34

    Daily development workflow for Symfony projects including common tasks, debugging, and productivity tips

  35. 35

    Control API Platform serialization with groups,

  36. 36

    Implement rate limiting with the Symfony RateLimiter (sliding window, token bucket, fixed window) and the

    491
  37. 37

    Create structured implementation plans for Symfony features with clear steps, dependencies, and acceptance criteria

  38. 38

    Build Symfony forms with custom Form Types, validation constraints, HTTP 422 handling, and multi-step flows

    489
  39. 39

    Evolve API Platform APIs via deprecation (deprecationReason/sunset, RFC 8594/9745), the recommended alternative to versioning; plus path/header strategies

  40. 40

    Schedule recurring tasks with the Symfony Scheduler component (native since 7.x); define schedules, triggers, and integrate with Messenger

  41. 41

    Write end-to-end tests with Symfony Panther 2.4 for browser automation or Playwright for complex scenarios

  42. 42

    Select and configure the appropriate command runner based on Docker Compose standard, Symfony Docker (FrankenPHP), or host environment

  43. 43

    Apply RED-GREEN-REFACTOR with Pest v4 (PHP 8.3+) for Symfony via the PHPUnit bridge; Foundry factories, WebTestCase, verify failures first

  44. 44

    React to Doctrine entity lifecycle in Symfony with attribute listeners ([AsDoctrineListener]/[AsEntityListener], ORM 3) and lifecycle callbacks

  45. 45

    Create and manage Doctrine migrations (bundle 4.x, library 3.9) for schema versioning; handle dependencies, rollbacks, and production deployment

  46. 46

    Apply RED-GREEN-REFACTOR with PHPUnit 10/11 for Symfony; KernelTestCase/WebTestCase, attributes ([Test]/[DataProvider]), Foundry

  47. 47

    Handle Doctrine transactions (ORM 3 wrapInTransaction), optimistic/pessimistic locking, flush strategies, and transaction boundaries

    95
  48. 48

    Write functional tests for Symfony controllers and HTTP endpoints using WebTestCase, getContainer, loginUser, and DAMA rollback

  49. 49

    Master Symfony Dependency Injection with autowiring, [Target] interface binding, decoration, and tagged services

  50. 50

    Run code quality tools: PHP-CS-Fixer for style, PHPStan for static analysis, and type safety checks