SymKit/bundles-rules

AI rules and optional skills for building Symfony bundles with best practices: SOLID, AbstractBundle, Contract pattern, and quality tooling (PHPStan 9, GrumPHP, Infection, Deptrac, CI).

3Stars on the repository
33Mods indexed here, across every type
5mo agoLast push, which is what freshness is scored on
noneNo LICENSE: all rights reserved, so bodies are not copied

mdc-content

02

SymKit/bundles-rules

Cursor rule Cursor

Conventions for writing .mdc rule and skill files distributed by the plugin.

3 5mo ago A 0 tokens

php-code

03

SymKit/bundles-rules

Cursor rule Cursor

Strict PHP code style for Composer plugin source code.

3 5mo ago A 0 tokens

quality

04

SymKit/bundles-rules

Cursor rule Cursor

Quality tooling configuration and CI pipeline for the Composer plugin.

3 5mo ago A 0 tokens

tests

05

SymKit/bundles-rules

Cursor rule Cursor

Testing patterns for the Composer plugin test suite.

3 5mo ago A 0 tokens

api-platform

06

SymKit/bundles-rules

Cursor rule

API Platform: Resources, providers/processors, serialization, validation, Problem Details (optional in bundles).

3 5mo ago A 0 tokens

api

07

SymKit/bundles-rules

Cursor rule

Symfony native API: MapRequestPayload, MapQueryString, Serializer groups, RFC 7807 (bundle controllers).

3 5mo ago A 0 tokens

architecture

08

SymKit/bundles-rules

Cursor rule

Bundle architecture: Extension, services, public Contract API, tests, Flex — adapt to existing patterns.

3 5mo ago A 0 tokens

caching

09

SymKit/bundles-rules

Cursor rule

Caching: HTTP cache, app cache pools, decorator, tag invalidation, stampede, ESI.

3 5mo ago A 0 tokens

doctrine

12

SymKit/bundles-rules

Cursor rule

Doctrine in bundles: entities, mapping (XML), repos — only when the bundle persists data.

3 5mo ago A 0 tokens

dto

13

SymKit/bundles-rules

Cursor rule

DTOs: immutability, context-based naming, validation at boundary, mapping, no public setters.

3 5mo ago A 0 tokens

error-handling

14

SymKit/bundles-rules

Cursor rule

Error handling: custom exceptions, ExceptionListener, RFC 7807 Problem Details, errors.

3 5mo ago A 0 tokens

forms

15

SymKit/bundles-rules

Cursor rule

Forms: DTO binding, FormType, EventSubscriber, DataTransformer (bundle FormTypes).

3 5mo ago A 0 tokens

frontend

16

SymKit/bundles-rules

Cursor rule

Frontend: Stimulus, Turbo, Twig/Live Components, AssetMapper (bundle assets/templates).

3 5mo ago A 0 tokens

http-client

17

SymKit/bundles-rules

Cursor rule

HTTP Client: scoped clients, retry, rate limiting, SSRF prevention, MockHttpClient.

3 5mo ago C 0 tokens

i18n

18

SymKit/bundles-rules

Cursor rule

For logging and observability conventions, see observability.mdc.

3 5mo ago A 0 tokens

mailer

19

SymKit/bundles-rules

Cursor rule

Mailer/Notifier: templated emails, transports, async Messenger dispatch, testing.

3 5mo ago A 0 tokens

messenger

20

SymKit/bundles-rules

Cursor rule

Messenger CQRS: commands, handlers, buses, transports, stamps, idempotence, failure handling.

3 5mo ago A 0 tokens

observability

21

SymKit/bundles-rules

Cursor rule

Observability: PSR-3, structured logging, LogSubscriber, Monolog, FingersCrossed, PII masking.

3 5mo ago A 0 tokens

quality-pipeline

22

SymKit/bundles-rules

Cursor rule

Quality pipeline: make ci/tests/quality, PHPStan L9, Deptrac, GrumPHP (bundle package repos).

3 5mo ago A 0 tokens

security

23

SymKit/bundles-rules

Cursor rule

Security: JWT, Voters, rate limiting, CORS, OWASP API Top 10 (bundle-exposed endpoints).

3 5mo ago A 0 tokens

serializer

24

SymKit/bundles-rules

Cursor rule

Serializer: normalizers, groups, context builders, circular refs, discriminator map.

3 5mo ago A 0 tokens