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
7mo 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.

not rated 3 7mo ago A 0 tokens

php-code

03

SymKit/bundles-rules

Cursor rule Cursor

Strict PHP code style for Composer plugin source code.

not rated 3 7mo ago A 0 tokens

quality

04

SymKit/bundles-rules

Cursor rule Cursor

Quality tooling configuration and CI pipeline for the Composer plugin.

not rated 3 7mo ago A 0 tokens

tests

05

SymKit/bundles-rules

Cursor rule Cursor

Testing patterns for the Composer plugin test suite.

not rated 3 7mo ago A 0 tokens

api-platform

06

SymKit/bundles-rules

Cursor rule Cursor

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

not rated 3 7mo ago A 0 tokens

api

07

SymKit/bundles-rules

Cursor rule Cursor

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

not rated 3 7mo ago A 0 tokens

architecture

08

SymKit/bundles-rules

Cursor rule Cursor

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

not rated 3 7mo ago A 0 tokens

caching

09

SymKit/bundles-rules

Cursor rule Cursor

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

not rated 3 7mo ago A 0 tokens

coding-standards

10

SymKit/bundles-rules

Cursor rule Cursor

PHP 8.2+ coding: stricttypes, final, SOLID, DI, TaggedIterator, iterables, no dump/dd.

not rated 3 7mo ago A 0 tokens

console-commands

11

SymKit/bundles-rules

Cursor rule Cursor

Console commands: ProgressBar, SymfonyStyle, scheduling, exit codes, CommandTester.

not rated 3 7mo ago A 0 tokens

doctrine

12

SymKit/bundles-rules

Cursor rule Cursor

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

not rated 3 7mo ago A 0 tokens

dto

13

SymKit/bundles-rules

Cursor rule Cursor

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

not rated 3 7mo ago A 0 tokens

error-handling

14

SymKit/bundles-rules

Cursor rule Cursor

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

not rated 3 7mo ago A 0 tokens

forms

15

SymKit/bundles-rules

Cursor rule Cursor

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

not rated 3 7mo ago A 0 tokens

frontend

16

SymKit/bundles-rules

Cursor rule Cursor

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

not rated 3 7mo ago A 0 tokens

http-client

17

SymKit/bundles-rules

Cursor rule Cursor

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

not rated 3 7mo ago C 0 tokens

i18n

18

SymKit/bundles-rules

Cursor rule Cursor

For logging and observability conventions, see observability.mdc.

not rated 3 7mo ago A 0 tokens

mailer

19

SymKit/bundles-rules

Cursor rule Cursor

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

not rated 3 7mo ago A 0 tokens

messenger

20

SymKit/bundles-rules

Cursor rule Cursor

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

not rated 3 7mo ago A 0 tokens

observability

21

SymKit/bundles-rules

Cursor rule Cursor

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

not rated 3 7mo ago A 0 tokens

quality-pipeline

22

SymKit/bundles-rules

Cursor rule Cursor

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

not rated 3 7mo ago A 0 tokens

security

23

SymKit/bundles-rules

Cursor rule Cursor

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

not rated 3 7mo ago A 0 tokens

serializer

24

SymKit/bundles-rules

Cursor rule Cursor

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

not rated 3 7mo ago A 0 tokens

At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: